diff options
author | flz <flz@FreeBSD.org> | 2005-06-20 01:33:12 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2005-06-20 01:33:12 +0800 |
commit | ae774591897674c4145087dcbe26843611e52507 (patch) | |
tree | 4cd5986434f0833eff1c7580d76dc6850f954ef4 /net-p2p/bnbt | |
parent | f8415b14c03adf6518775adb33ed6c28de835716 (diff) | |
download | freebsd-ports-gnome-ae774591897674c4145087dcbe26843611e52507.tar.gz freebsd-ports-gnome-ae774591897674c4145087dcbe26843611e52507.tar.zst freebsd-ports-gnome-ae774591897674c4145087dcbe26843611e52507.zip |
- Use the true USE_RC_SUBR force.
- Create /var/log/bnbt when installing from package.
Diffstat (limited to 'net-p2p/bnbt')
-rw-r--r-- | net-p2p/bnbt/Makefile | 7 | ||||
-rw-r--r-- | net-p2p/bnbt/pkg-plist | 1 |
2 files changed, 3 insertions, 5 deletions
diff --git a/net-p2p/bnbt/Makefile b/net-p2p/bnbt/Makefile index 92da3caf2801..b18c091fa6e2 100644 --- a/net-p2p/bnbt/Makefile +++ b/net-p2p/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-p2p/bnbt/pkg-plist b/net-p2p/bnbt/pkg-plist index 2754d85dc396..16496f2e9a49 100644 --- a/net-p2p/bnbt/pkg-plist +++ b/net-p2p/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 |