aboutsummaryrefslogtreecommitdiff
path: root/mail/drac
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-04-22 13:51:40 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-04-22 13:51:40 +0000
commitbb5c13144080b9fc4094c56e331a04b111f9db16 (patch)
tree82ec005935c23f17452211dde0b3fc86ca96d909 /mail/drac
parent23729bfd5083ab14f937bca077217f720e35414a (diff)
downloadports-bb5c13144080b9fc4094c56e331a04b111f9db16.tar.gz
ports-bb5c13144080b9fc4094c56e331a04b111f9db16.zip
Notes
Diffstat (limited to 'mail/drac')
-rw-r--r--mail/drac/Makefile8
-rw-r--r--mail/drac/files/dracd.sh.in (renamed from mail/drac/files/dracd.sh)0
-rw-r--r--mail/drac/pkg-plist1
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