Date: Thu, 6 Feb 2014 18:23:17 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343132 - head/net/tdetect Message-ID: <201402061823.s16INHxw063077@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402061823.s16INHxw063077>