aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-02-06 18:23:17 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-02-06 18:23:17 +0000
commit0d6613fbbd23313b8be82019401e3ff2e089fbe5 (patch)
treef5408d4ed0718e7ddd12a731b39880bb770ba0cd /net
parentd0e1209e1932a91594df1ff7fcba58bed36e1956 (diff)
downloadports-0d6613fbbd23313b8be82019401e3ff2e089fbe5.tar.gz
ports-0d6613fbbd23313b8be82019401e3ff2e089fbe5.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/tdetect/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/net/tdetect/Makefile b/net/tdetect/Makefile
index 2aa2a34f41f2..6dc08939be75 100644
--- a/net/tdetect/Makefile
+++ b/net/tdetect/Makefile
@@ -12,19 +12,12 @@ COMMENT= Utility for detecting traceroutes and reporting them via syslog
PLIST_FILES= sbin/tdetect etc/rc.d/tdetect.sh
SUB_FILES= pkg-message
-NO_STAGE= yes
pre-configure:
@${REINPLACE_CMD} -e 's/trdetect/tdetect/g' ${WRKSRC}/config.h
@${REINPLACE_CMD} -e 's/LOG_AUTHPRIV/LOG_SECURITY/g' ${WRKSRC}/config.h
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tdetect ${PREFIX}/sbin/tdetect
-
-post-install:
- @if [ ! -f ${PREFIX}/etc/rc.d/tdetect.sh ]; then \
- ${ECHO_MSG} "Installing ${PREFIX}/etc/rc.d/tdetect.sh startup file."; \
- ${INSTALL_SCRIPT} -m 750 ${FILESDIR}/tdetect.sh ${PREFIX}/etc/rc.d/tdetect.sh; \
- ${CAT} ${PKGMESSAGE}; \
- fi
+ ${INSTALL_PROGRAM} ${WRKSRC}/tdetect ${STAGEDIR}${PREFIX}/sbin/tdetect
+ ${INSTALL_SCRIPT} -m 750 ${FILESDIR}/tdetect.sh ${STAGEDIR}${PREFIX}/etc/rc.d/tdetect.sh
.include <bsd.port.mk>