summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-p2p/bnbt/Makefile7
-rw-r--r--net-p2p/bnbt/pkg-plist1
-rw-r--r--net/bnbt/Makefile7
-rw-r--r--net/bnbt/pkg-plist1
4 files changed, 6 insertions, 10 deletions
diff --git a/net-p2p/bnbt/Makefile b/net-p2p/bnbt/Makefile
index 92da3ca..b18c091 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 2754d85..16496f2 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
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
OpenPOWER on IntegriCloud