aboutsummaryrefslogtreecommitdiff
path: root/french/plgrenouille
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-11-13 22:49:02 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-11-13 22:49:02 +0000
commit3e0fe146f9f0ad59b937fd73782913e45ec9bb57 (patch)
treeeb776bd255392982ddc57b2ec6c2b1c8fd512c1f /french/plgrenouille
parenta2c2c928f17fd9002187a7c4e77261f60c85f03f (diff)
downloadports-3e0fe146f9f0ad59b937fd73782913e45ec9bb57.tar.gz
ports-3e0fe146f9f0ad59b937fd73782913e45ec9bb57.zip
Notes
Diffstat (limited to 'french/plgrenouille')
-rw-r--r--french/plgrenouille/Makefile2
-rw-r--r--french/plgrenouille/pkg-deinstall37
2 files changed, 2 insertions, 37 deletions
diff --git a/french/plgrenouille/Makefile b/french/plgrenouille/Makefile
index c595428c302c..5e3feebbb46f 100644
--- a/french/plgrenouille/Makefile
+++ b/french/plgrenouille/Makefile
@@ -7,6 +7,7 @@
PORTNAME= plgrenouille
PORTVERSION= 0.61.5
+PORTREVISION= 1
CATEGORIES= french net
MASTER_SITES= ftp://blade.concept-micro.com/
DISTNAME= ${PORTNAME}_${PORTVERSION:R}-${PORTVERSION:E}
@@ -26,6 +27,7 @@ SCRIPTS_ENV= PKG_PREFIX=${PREFIX}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
MSG_FILE= ${PKGDIR}/pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
+PKGDEINSTALL= ${PKGINSTALL}
MAN1= plgrenouille.1
DOC_FILES= FAQ README
diff --git a/french/plgrenouille/pkg-deinstall b/french/plgrenouille/pkg-deinstall
deleted file mode 100644
index 581cd95f370e..000000000000
--- a/french/plgrenouille/pkg-deinstall
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Configure plgrenouille.
-#
-
-[ $# != 2 ] && exit 1
-[ -z "${PKG_PREFIX}" ] && exit 1
-
-PORTNAME=plgrenouille
-SPOOL_DIR=/var/spool/${PORTNAME}
-SPOOL_MODES=u+rw,go-rw
-SPOOL_USER=daemon
-
-case "$2" in
-POST-INSTALL)
- if [ ! -d ${SPOOL_DIR} ]; then
- mkdir -p ${SPOOL_DIR} &&
- chmod ${SPOOL_MODES} ${SPOOL_DIR} &&
- chown ${SPOOL_USER} ${SPOOL_DIR}
- fi
- [ -n "${BATCH}" ] && exit 0
- [ -f ${PKG_PREFIX}/etc/rc.d/plgrenouille.sh ] &&
- sh ${PKG_PREFIX}/etc/rc.d/plgrenouille.sh configure
- ;;
-DEINSTALL)
- if [ -f ${PKG_PREFIX}/etc/rc.d/plgrenouille.sh ]; then
- sh ${PKG_PREFIX}/etc/rc.d/plgrenouille.sh stop
- fi
- ;;
-POST-DEINSTALL)
- if [ -d ${SPOOL_DIR} ]; then
- rm -rf ${SPOOL_DIR}
- fi
- ;;
-esac