svn commit: r343132 - head/net/tdetect

Antoine Brodin antoine at FreeBSD.org
Thu Feb 6 18:23:17 UTC 2014


Author: antoine
Date: Thu Feb  6 18:23:17 2014
New Revision: 343132
URL: http://svnweb.freebsd.org/changeset/ports/343132
QAT: https://qat.redports.org/buildarchive/r343132/

Log:
  Stage support

Modified:
  head/net/tdetect/Makefile

Modified: head/net/tdetect/Makefile
==============================================================================
--- head/net/tdetect/Makefile	Thu Feb  6 18:13:44 2014	(r343131)
+++ head/net/tdetect/Makefile	Thu Feb  6 18:23:17 2014	(r343132)
@@ -12,19 +12,12 @@ COMMENT=	Utility for detecting tracerout
 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>


More information about the svn-ports-head mailing list