diff options
author | vs <vs@FreeBSD.org> | 2005-04-22 21:51:40 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-04-22 21:51:40 +0800 |
commit | 5f76ad2cb80ad13a00406c8dfc8ca412f009ce21 (patch) | |
tree | aefe209d474dbad485d6725a5622c7a23004ccd1 /mail/drac | |
parent | 3403035082a7d36e4270d03adabdb293573eeaa2 (diff) | |
download | freebsd-ports-gnome-5f76ad2cb80ad13a00406c8dfc8ca412f009ce21.tar.gz freebsd-ports-gnome-5f76ad2cb80ad13a00406c8dfc8ca412f009ce21.tar.zst freebsd-ports-gnome-5f76ad2cb80ad13a00406c8dfc8ca412f009ce21.zip |
No need to substitute variables in rc-script by hand
Diffstat (limited to 'mail/drac')
-rw-r--r-- | mail/drac/Makefile | 8 | ||||
-rw-r--r-- | mail/drac/files/dracd.sh.in (renamed from mail/drac/files/dracd.sh) | 0 | ||||
-rw-r--r-- | mail/drac/pkg-plist | 1 |
3 files changed, 1 insertions, 8 deletions
diff --git a/mail/drac/Makefile b/mail/drac/Makefile index e7548809edc0..4db13d2a10d0 100644 --- a/mail/drac/Makefile +++ b/mail/drac/Makefile @@ -24,8 +24,7 @@ LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3 NO_WRKSUBDIR= yes USE_REINPLACE= yes -USE_RC_SUBR= yes -RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} +USE_RC_SUBR= dracd.sh MAN3= dracauth.3 MAN1= rpc.dracd.1 @@ -61,12 +60,7 @@ do-install: @${INSTALL_MAN} ${WRKSRC}/rpc.dracd.1m ${PREFIX}/man/man1/rpc.dracd.1 .endif -post-build: - @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${FILESDIR}/dracd.sh > ${WRKSRC}/dracd.sh - post-install: - @${INSTALL_SCRIPT} ${WRKSRC}/dracd.sh ${PREFIX}/etc/rc.d/dracd.sh @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/mail/drac/files/dracd.sh b/mail/drac/files/dracd.sh.in index c7be70a1df3c..c7be70a1df3c 100644 --- a/mail/drac/files/dracd.sh +++ b/mail/drac/files/dracd.sh.in diff --git a/mail/drac/pkg-plist b/mail/drac/pkg-plist index ca3f06cc3fd0..a80bc412f0ec 100644 --- a/mail/drac/pkg-plist +++ b/mail/drac/pkg-plist @@ -1,5 +1,4 @@ sbin/rpc.dracd include/drac.h lib/libdrac.a -etc/rc.d/dracd.sh etc/dracd.allow-sample |