From owner-svn-ports-head@FreeBSD.ORG Tue Nov 5 04:28:03 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 46124F73; Tue, 5 Nov 2013 04:28:03 +0000 (UTC) (envelope-from tabthorpe@FreeBSD.org) 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 328582A10; Tue, 5 Nov 2013 04:28:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA54S37k093514; Tue, 5 Nov 2013 04:28:03 GMT (envelope-from tabthorpe@svn.freebsd.org) Received: (from tabthorpe@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA54S3gp093513; Tue, 5 Nov 2013 04:28:03 GMT (envelope-from tabthorpe@svn.freebsd.org) Message-Id: <201311050428.rA54S3gp093513@svn.freebsd.org> From: Thomas Abthorpe Date: Tue, 5 Nov 2013 04:28:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332807 - head/net-mgmt/arpwatch 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.14 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: Tue, 05 Nov 2013 04:28:03 -0000 Author: tabthorpe Date: Tue Nov 5 04:28:02 2013 New Revision: 332807 URL: http://svnweb.freebsd.org/changeset/ports/332807 Log: - Add stage support - Reassign to the heap Modified: head/net-mgmt/arpwatch/Makefile Modified: head/net-mgmt/arpwatch/Makefile ============================================================================== --- head/net-mgmt/arpwatch/Makefile Tue Nov 5 04:26:15 2013 (r332806) +++ head/net-mgmt/arpwatch/Makefile Tue Nov 5 04:28:02 2013 (r332807) @@ -10,7 +10,7 @@ MASTER_SITES= ftp://ftp.ee.lbl.gov/ \ MASTER_SITE_SUBDIR= distfiles DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.([^\.]*)$/\1/} -MAINTAINER= tabthorpe@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Monitor arp & rarp requests @@ -27,20 +27,19 @@ USE_RC_SUBR= arpwatch MAKE_ARGS= ARPDIR=${ARPDIR} .endif -NO_STAGE= yes post-install: - if [ ! -d ${PREFIX}/arpwatch ]; then \ - ${MKDIR} ${PREFIX}/arpwatch; \ - ${CHMOD} 755 ${PREFIX}/arpwatch; \ - ${CHOWN} root:operator ${PREFIX}/arpwatch; \ + if [ ! -d ${STAGEDIR}${PREFIX}/arpwatch ]; then \ + ${MKDIR} ${STAGEDIR}${PREFIX}/arpwatch; \ + ${CHMOD} 755 ${STAGEDIR}${PREFIX}/arpwatch; \ + ${CHOWN} root:operator ${STAGEDIR}${PREFIX}/arpwatch; \ fi - ${TOUCH} ${PREFIX}/arpwatch/arp.dat - ${CHMOD} 644 ${PREFIX}/arpwatch/arp.dat + ${TOUCH} ${STAGEDIR}${PREFIX}/arpwatch/arp.dat + ${CHMOD} 644 ${STAGEDIR}${PREFIX}/arpwatch/arp.dat for files in ethercodes.dat d.awk duplicates.awk euppertolower.awk e.awk p.awk; do \ - ${INSTALL_DATA} ${WRKSRC}/$$files ${PREFIX}/arpwatch; \ + ${INSTALL_DATA} ${WRKSRC}/$$files ${STAGEDIR}${PREFIX}/arpwatch; \ done - ${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${PREFIX}/arpwatch - ${INSTALL_SCRIPT} ${WRKSRC}/massagevendor ${PREFIX}/arpwatch + ${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${STAGEDIR}${PREFIX}/arpwatch + ${INSTALL_SCRIPT} ${WRKSRC}/massagevendor ${STAGEDIR}${PREFIX}/arpwatch @${CAT} ${PKGMESSAGE}