aboutsummaryrefslogtreecommitdiff
path: root/net/bnbt
diff options
context:
space:
mode:
Diffstat (limited to 'net/bnbt')
-rw-r--r--net/bnbt/Makefile7
-rw-r--r--net/bnbt/pkg-plist1
2 files changed, 3 insertions, 5 deletions
diff --git a/net/bnbt/Makefile b/net/bnbt/Makefile
index 92da3caf2801..b18c091fa6e2 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 2754d85dc396..16496f2e9a49 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