From 0d6613fbbd23313b8be82019401e3ff2e089fbe5 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Thu, 6 Feb 2014 18:23:17 +0000 Subject: Stage support --- net/tdetect/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'net/tdetect') 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 -- cgit