mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
use new scheme of USE_RC_SUBR.
This commit is contained in:
parent
0e9a5e313e
commit
d8c58fe303
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128478
@ -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."
|
||||
|
@ -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
|
@ -1,4 +1,3 @@
|
||||
etc/rc.d/saslauthd.sh
|
||||
man/cat8/saslauthd.8.gz
|
||||
sbin/saslauthd
|
||||
sbin/saslcache
|
||||
|
Loading…
Reference in New Issue
Block a user