aboutsummaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2-saslauthd
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2005-02-10 19:32:10 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2005-02-10 19:32:10 +0000
commitd8c58fe3033304a4b8e0a24272f27f506c5731c7 (patch)
treef98d3ca8031e187eba873da636c14abc023dc200 /security/cyrus-sasl2-saslauthd
parent0e9a5e313ea53043da9c6f169d8da8bc59ff81aa (diff)
downloadports-d8c58fe3033304a4b8e0a24272f27f506c5731c7.tar.gz
ports-d8c58fe3033304a4b8e0a24272f27f506c5731c7.zip
use new scheme of USE_RC_SUBR.
Notes
Notes: svn path=/head/; revision=128478
Diffstat (limited to 'security/cyrus-sasl2-saslauthd')
-rw-r--r--security/cyrus-sasl2-saslauthd/Makefile9
-rw-r--r--security/cyrus-sasl2-saslauthd/files/saslauthd.sh.in (renamed from security/cyrus-sasl2-saslauthd/files/saslauthd.sh)2
-rw-r--r--security/cyrus-sasl2-saslauthd/pkg-plist1
3 files changed, 3 insertions, 9 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile
index fc82dab49b28..8e05ef92414f 100644
--- a/security/cyrus-sasl2-saslauthd/Makefile
+++ b/security/cyrus-sasl2-saslauthd/Makefile
@@ -27,7 +27,7 @@ PATCHDIR= ${CYRUS_SASL2_DIR}/files
INSTALL_WRKSRC= ${WRKDIR}/${DISTNAME}/saslauthd
DOCSDIR= ${PREFIX}/share/doc/cyrus-sasl2
-USE_RC_SUBR= YES
+USE_RC_SUBR= saslauthd.sh
USE_OPENSSL= yes
GNU_CONFIGURE= YES
@@ -124,9 +124,7 @@ PLIST_SUB= PREFIX=${PREFIX} \
DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} \
RUNPATH=${RUNPATH}
-RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
- RC_SUBR=${RC_SUBR} \
- SASLAUTHD_RUNPATH=${SASLAUTHD_RUNPATH}
+SUB_LIST+= SASLAUTHD_RUNPATH=${SASLAUTHD_RUNPATH}
do-build:
@${RM} -f ${WRKSRC}/saslauthd/saslauthd.8
@@ -142,9 +140,6 @@ post-install:
@${INSTALL_PROGRAM} ${WRKSRC}/saslauthd/testsaslauthd \
${PREFIX}/sbin/testsaslauthd
${GZIP_CMD} ${MAN8PREFIX}/man/cat8/saslauthd.8
- @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${FILESDIR}/saslauthd.sh > ${PREFIX}/etc/rc.d/saslauthd.sh
- @${CHMOD} 755 ${PREFIX}/etc/rc.d/saslauthd.sh
.if ${SASLAUTHD_RUNPATH} != /var/state/saslauthd
@${ECHO_MSG} ""
@${ECHO_MSG} "SASLAUTHD_RUNPATH was specified."
diff --git a/security/cyrus-sasl2-saslauthd/files/saslauthd.sh b/security/cyrus-sasl2-saslauthd/files/saslauthd.sh.in
index 88eabbcadb52..bee9231b2b78 100644
--- a/security/cyrus-sasl2-saslauthd/files/saslauthd.sh
+++ b/security/cyrus-sasl2-saslauthd/files/saslauthd.sh.in
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/security/cyrus-sasl2-saslauthd/files/Attic/saslauthd.sh,v 1.6 2004-06-11 15:49:48 ume Exp $
+# $FreeBSD$
#
# PROVIDE: saslauthd
diff --git a/security/cyrus-sasl2-saslauthd/pkg-plist b/security/cyrus-sasl2-saslauthd/pkg-plist
index 3e250149b1e6..b2a3758dab34 100644
--- a/security/cyrus-sasl2-saslauthd/pkg-plist
+++ b/security/cyrus-sasl2-saslauthd/pkg-plist
@@ -1,4 +1,3 @@
-etc/rc.d/saslauthd.sh
man/cat8/saslauthd.8.gz
sbin/saslauthd
sbin/saslcache