diff options
author | vanilla <vanilla@FreeBSD.org> | 2005-12-20 16:46:07 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2005-12-20 16:46:07 +0800 |
commit | 38a36465254619787565d5ee5013d377c5178245 (patch) | |
tree | af71c2857dabcfdd1eaa4c0e64aa4cb2594fe05b /mail | |
parent | 1beca13b147a94e23a6f4f0a8a2fd22401e52f95 (diff) | |
download | freebsd-ports-gnome-38a36465254619787565d5ee5013d377c5178245.tar.gz freebsd-ports-gnome-38a36465254619787565d5ee5013d377c5178245.tar.zst freebsd-ports-gnome-38a36465254619787565d5ee5013d377c5178245.zip |
USE_RC_SUBR changes.
PR: ports/90678
Submitted by: maintainer
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mailgraph/Makefile | 10 | ||||
-rw-r--r-- | mail/mailgraph/pkg-plist | 1 |
2 files changed, 3 insertions, 8 deletions
diff --git a/mail/mailgraph/Makefile b/mail/mailgraph/Makefile index 78cd4fe48c5d..4cd22f12cf34 100644 --- a/mail/mailgraph/Makefile +++ b/mail/mailgraph/Makefile @@ -7,6 +7,7 @@ PORTNAME= mailgraph PORTVERSION= 1.12 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://people.ee.ethz.ch/~dws/software/mailgraph/pub/ \ http://people.ee.ethz.ch/~dws/software/mailgraph/pub/old/ @@ -24,10 +25,8 @@ MAILGRAPH_USER?= ${WWWOWN} MAILGRAPH_GROUP?= ${WWWGRP} USE_REINPLACE= yes -USE_RC_SUBR= yes -RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} DATADIR=${DATADIR} \ - MAILGRAPH_USER=${MAILGRAPH_USER} MAILGRAPH_GROUP=${MAILGRAPH_GROUP} -STARTUP_FILE= ${PREFIX}/etc/rc.d/mailgraph.sh +USE_RC_SUBR= ${PORTNAME}.sh +SUB_LIST+= MAILGRAPH_USER=${MAILGRAPH_USER} MAILGRAPH_GROUP=${MAILGRAPH_GROUP} MSG_FILE= ${PKGDIR}/pkg-message PKGMESSAGE= ${WRKSRC}/pkg-message @@ -51,9 +50,6 @@ do-install: @${CHOWN} -R ${MAILGRAPH_USER}:${MAILGRAPH_GROUP} ${DATADIR} @${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.pl ${PREFIX}/sbin @${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.cgi ${PREFIX}/www/cgi-bin - @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${FILESDIR}/mailgraph.sh.tmpl > ${STARTUP_FILE} - @${CHMOD} 755 ${STARTUP_FILE} post-install: @${ECHO} diff --git a/mail/mailgraph/pkg-plist b/mail/mailgraph/pkg-plist index 9715ca9caa8a..afe0e6531c85 100644 --- a/mail/mailgraph/pkg-plist +++ b/mail/mailgraph/pkg-plist @@ -1,4 +1,3 @@ -etc/rc.d/mailgraph.sh www/cgi-bin/mailgraph.cgi sbin/mailgraph.pl @unexec rmdir %D/www/cgi-bin 2>/dev/null || true |