From owner-svn-ports-head@FreeBSD.ORG Thu Feb 6 18:23:17 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B6A396F1; Thu, 6 Feb 2014 18:23:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A02E31576; Thu, 6 Feb 2014 18:23:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s16INHMl063078; Thu, 6 Feb 2014 18:23:17 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s16INHxw063077; Thu, 6 Feb 2014 18:23:17 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201402061823.s16INHxw063077@svn.freebsd.org> From: Antoine Brodin Date: Thu, 6 Feb 2014 18:23:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343132 - head/net/tdetect X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Feb 2014 18:23:17 -0000 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