From owner-svn-ports-head@FreeBSD.ORG Tue Jul 29 13:10:25 2014 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 ESMTPS id 78F5A6C0; Tue, 29 Jul 2014 13:10:25 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 59ECE2CAD; Tue, 29 Jul 2014 13:10:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s6TDAP9Q068115; Tue, 29 Jul 2014 13:10:25 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s6TDAOXN068112; Tue, 29 Jul 2014 13:10:24 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201407291310.s6TDAOXN068112@svn.freebsd.org> From: "Vanilla I. Shu" Date: Tue, 29 Jul 2014 13:10:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363313 - in head/net-mgmt/ipfm: . files 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.18 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, 29 Jul 2014 13:10:25 -0000 Author: vanilla Date: Tue Jul 29 13:10:24 2014 New Revision: 363313 URL: http://svnweb.freebsd.org/changeset/ports/363313 QAT: https://qat.redports.org/buildarchive/r363313/ Log: Stagify. Added: head/net-mgmt/ipfm/files/ head/net-mgmt/ipfm/files/patch-Makefile.in (contents, props changed) Modified: head/net-mgmt/ipfm/Makefile head/net-mgmt/ipfm/pkg-plist Modified: head/net-mgmt/ipfm/Makefile ============================================================================== --- head/net-mgmt/ipfm/Makefile Tue Jul 29 13:02:49 2014 (r363312) +++ head/net-mgmt/ipfm/Makefile Tue Jul 29 13:10:24 2014 (r363313) @@ -13,11 +13,7 @@ COMMENT= Bandwidth analysis tool GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var -MAN5= ipfm.conf.5 -MAN8= ipfm.8 - -NO_STAGE= yes post-install: - @${STRIP_CMD} ${PREFIX}/sbin/ipfm + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ipfm .include Added: head/net-mgmt/ipfm/files/patch-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/ipfm/files/patch-Makefile.in Tue Jul 29 13:10:24 2014 (r363313) @@ -0,0 +1,31 @@ +--- Makefile.in.orig 2014-07-29 21:06:10.045210973 +0800 ++++ Makefile.in 2014-07-29 21:07:11.227205493 +0800 +@@ -15,17 +15,17 @@ docs: Makefile doc/Makefile + @cd doc && $(MAKE) && cd .. + + install: all +- $(INSTALL) -d -m 755 $(SBINDIR) +- $(INSTALL) -m 555 source/ipfm $(SBINDIR)/ipfm +- $(INSTALL) -d -m 755 $(ETCDIR) +- [ -f $(CONFIGFILE) ] || \ +- $(INSTALL) -m 644 ipfm.conf.sample $(CONFIGFILE) +- $(INSTALL) -d -m 755 $(MANDIR)/man5 +- $(INSTALL) -d -m 755 $(MANDIR)/man8 +- $(INSTALL) -m 444 doc/ipfm.conf.5 $(MANDIR)/man5/ipfm.conf.5 +- $(INSTALL) -m 444 doc/ipfm.8 $(MANDIR)/man8/ipfm.8 +- $(INSTALL) -d -m 755 $(LOGDIR)/ipfm +- $(INSTALL) -d -m 755 $(VARRUNDIR) ++ $(INSTALL) -d -m 755 $(DESTDIR)$(SBINDIR) ++ $(INSTALL) -m 555 source/ipfm $(DESTDIR)$(SBINDIR)/ipfm ++ $(INSTALL) -d -m 755 $(DESTDIR)$(ETCDIR) ++ [ -f $(DESTDIR)$(CONFIGFILE) ] || \ ++ $(INSTALL) -m 644 ipfm.conf.sample $(DESTDIR)$(CONFIGFILE) ++ $(INSTALL) -d -m 755 $(DESTDIR)$(MANDIR)/man5 ++ $(INSTALL) -d -m 755 $(DESTDIR)$(MANDIR)/man8 ++ $(INSTALL) -m 444 doc/ipfm.conf.5 $(DESTDIR)$(MANDIR)/man5/ipfm.conf.5 ++ $(INSTALL) -m 444 doc/ipfm.8 $(DESTDIR)$(MANDIR)/man8/ipfm.8 ++ $(INSTALL) -d -m 755 $(DESTDIR)$(LOGDIR)/ipfm ++ $(INSTALL) -d -m 755 $(DESTDIR)$(VARRUNDIR) + + clean: + @cd source && $(MAKE) clean && cd .. && \ Modified: head/net-mgmt/ipfm/pkg-plist ============================================================================== --- head/net-mgmt/ipfm/pkg-plist Tue Jul 29 13:02:49 2014 (r363312) +++ head/net-mgmt/ipfm/pkg-plist Tue Jul 29 13:10:24 2014 (r363313) @@ -1,4 +1,6 @@ -sbin/ipfm etc/ipfm.conf +man/man5/ipfm.conf.5.gz +man/man8/ipfm.8.gz +sbin/ipfm @exec mkdir -p /var/log/ipfm @unexec rmdir /var/log/ipfm 2>/dev/null || echo "The logs will be left in /var/log/ipfm after the port is deinstalled."