1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

use new scheme of USE_RC_SUBR.

This commit is contained in:
Hajimu UMEMOTO 2005-02-10 19:32:10 +00:00
parent 0e9a5e313e
commit d8c58fe303
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128478
3 changed files with 3 additions and 9 deletions

View File

@ -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."

View File

@ -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

View File

@ -1,4 +1,3 @@
etc/rc.d/saslauthd.sh
man/cat8/saslauthd.8.gz
sbin/saslauthd
sbin/saslcache