diff options
author | antoine <antoine@FreeBSD.org> | 2014-02-07 02:23:17 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-02-07 02:23:17 +0800 |
commit | 1c6430d81b79c9aa40b0e1291c9ed4cdb1149a14 (patch) | |
tree | f5408d4ed0718e7ddd12a731b39880bb770ba0cd | |
parent | 9ee04489ddf92fb6bf14e5d63024830afd7b1fb6 (diff) | |
download | freebsd-ports-gnome-1c6430d81b79c9aa40b0e1291c9ed4cdb1149a14.tar.gz freebsd-ports-gnome-1c6430d81b79c9aa40b0e1291c9ed4cdb1149a14.tar.zst freebsd-ports-gnome-1c6430d81b79c9aa40b0e1291c9ed4cdb1149a14.zip |
Stage support
-rw-r--r-- | net/tdetect/Makefile | 11 |
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> |