aboutsummaryrefslogtreecommitdiff
path: root/french
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-01-13 22:57:06 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-01-13 22:57:06 +0000
commit1139157f3dfd0bccd9494d59d2b166d9eec0681e (patch)
tree7af0d3e6f546e2a665ede39ab28a76c64db219e8 /french
parent7d0194493d5d76be1f2375c694962e02d37bf05a (diff)
downloadports-1139157f3dfd0bccd9494d59d2b166d9eec0681e.tar.gz
ports-1139157f3dfd0bccd9494d59d2b166d9eec0681e.zip
- Fix handling of the rc.d script
- Bump PORTREVISION Reported by: pointyhat (via kris) Approved by: erwin (mentor)
Notes
Notes: svn path=/head/; revision=182332
Diffstat (limited to 'french')
-rw-r--r--french/plgrenouille/Makefile5
-rw-r--r--french/plgrenouille/pkg-install5
-rw-r--r--french/plgrenouille/pkg-plist2
3 files changed, 3 insertions, 9 deletions
diff --git a/french/plgrenouille/Makefile b/french/plgrenouille/Makefile
index 8329e63b3de3..8f74c074a0e4 100644
--- a/french/plgrenouille/Makefile
+++ b/french/plgrenouille/Makefile
@@ -7,7 +7,7 @@
PORTNAME= plgrenouille
PORTVERSION= 0.70.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= french net
MASTER_SITES= http://concept.free.free.fr/plgrenouille/beta/
DISTNAME= ${PORTNAME}_${PORTVERSION:R}-${PORTVERSION:E}
@@ -37,8 +37,7 @@ SCRIPTS_ENV= PKG_PREFIX=${PREFIX}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
PKGDEINSTALL= ${PKGINSTALL}
PLIST_SUB= LBIN_DIR="${LBIN_DIR:S,^${PREFIX}/,,}" \
- CONF_DIR="${CONF_DIR:S,^${PREFIX}/,,}" \
- RC_DIR="${RC_DIR:S,^${PREFIX}/,,}"
+ CONF_DIR="${CONF_DIR:S,^${PREFIX}/,,}"
REINPLACE_SUB= PREFIX=${PREFIX} PERL=${PERL} \
LBIN_DIR=${LBIN_DIR} CONF_DIR=${CONF_DIR} \
RUN_DIR=${RUN_DIR} LOG_DIR=${LOG_DIR} \
diff --git a/french/plgrenouille/pkg-install b/french/plgrenouille/pkg-install
index 54414484c0c8..6cfb4ecc971b 100644
--- a/french/plgrenouille/pkg-install
+++ b/french/plgrenouille/pkg-install
@@ -24,11 +24,6 @@ POST-INSTALL)
[ -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}
diff --git a/french/plgrenouille/pkg-plist b/french/plgrenouille/pkg-plist
index c8f24bd54e5f..c6435a4a682d 100644
--- a/french/plgrenouille/pkg-plist
+++ b/french/plgrenouille/pkg-plist
@@ -1,8 +1,8 @@
@comment $FreeBSD$
@unexec if cmp -s %D/%%CONF_DIR%%/grenouillerc %D/%%CONF_DIR%%/grenouillerc.sample; then rm -f %D/%%CONF_DIR%%/grenouillerc; fi
+@unexec %%PREFIX%%/etc/rc.d/plgrenouille.sh stop
%%CONF_DIR%%/grenouillerc.sample
@comment no @exec: see pkg-install/+INSTALL for details.
-%%RC_DIR%%/plgrenouille.sh
%%LBIN_DIR%%/plgrenouille
%%SITE_PERL%%/Grenouille/Comm.pm
%%SITE_PERL%%/Grenouille/Config.pm