aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-06-19 17:33:12 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-06-19 17:33:12 +0000
commit788ae1c5404c350e32075dda15d886e6e9f4d753 (patch)
treeba5c03a84dea2b9a2736f7bfd2188bf1ba1b5a85 /net-p2p
parent2b905abd0218d053a8e1cea8deae575f900e6bc8 (diff)
downloadports-788ae1c5404c350e32075dda15d886e6e9f4d753.tar.gz
ports-788ae1c5404c350e32075dda15d886e6e9f4d753.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/bnbt/Makefile7
-rw-r--r--net-p2p/bnbt/pkg-plist1
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