diff options
author | flz <flz@FreeBSD.org> | 2005-06-19 17:33:12 +0000 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2005-06-19 17:33:12 +0000 |
commit | ae774591897674c4145087dcbe26843611e52507 (patch) | |
tree | 4cd5986434f0833eff1c7580d76dc6850f954ef4 /net | |
parent | f8415b14c03adf6518775adb33ed6c28de835716 (diff) | |
download | FreeBSD-ports-ae774591897674c4145087dcbe26843611e52507.zip FreeBSD-ports-ae774591897674c4145087dcbe26843611e52507.tar.gz |
- Use the true USE_RC_SUBR force.
- Create /var/log/bnbt when installing from package.
Diffstat (limited to 'net')
-rw-r--r-- | net/bnbt/Makefile | 7 | ||||
-rw-r--r-- | net/bnbt/pkg-plist | 1 |
2 files changed, 3 insertions, 5 deletions
diff --git a/net/bnbt/Makefile b/net/bnbt/Makefile index 92da3ca..b18c091 100644 --- a/net/bnbt/Makefile +++ b/net/bnbt/Makefile @@ -21,10 +21,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}/src USE_GMAKE= yes USE_REINPLACE= yes -USE_RC_SUBR= yes -SUB_FILES= pkg-message bnbt.sh -SUB_LIST= RC_SUBR="${RC_SUBR}" +SUB_FILES= pkg-message +USE_RC_SUBR= bnbt.sh PORTDOCS= footer.html header.html lesser.txt readme.txt users.txt @@ -55,8 +54,6 @@ do-install: .endfor post-install: - @${INSTALL_SCRIPT} ${WRKDIR}/bnbt.sh ${PREFIX}/etc/rc.d/bnbt.sh - @${ECHO_CMD} "etc/rc.d/bnbt.sh" >> ${TMPPLIST} @${MKDIR} /var/log/${PORTNAME} @${CAT} ${PKGMESSAGE} diff --git a/net/bnbt/pkg-plist b/net/bnbt/pkg-plist index 2754d85..16496f2 100644 --- a/net/bnbt/pkg-plist +++ b/net/bnbt/pkg-plist @@ -1,3 +1,4 @@ bin/bnbt +@exec mkdir -p /var/log/bnbt @exec mkdir -p %D/etc/bnbt @unexec rmdir %D/etc/bnbt 2>/dev/null || true |