From owner-svn-ports-all@FreeBSD.ORG Mon Jun 23 09:59:46 2014 Return-Path: Delivered-To: svn-ports-all@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 4C111A8D; Mon, 23 Jun 2014 09:59:46 +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 1F4D524D1; Mon, 23 Jun 2014 09:59:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5N9xjQ2034787; Mon, 23 Jun 2014 09:59:45 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5N9xjre034785; Mon, 23 Jun 2014 09:59:45 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201406230959.s5N9xjre034785@svn.freebsd.org> From: "Vanilla I. Shu" Date: Mon, 23 Jun 2014 09:59:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358916 - in head/net/ifstat: . 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-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2014 09:59:46 -0000 Author: vanilla Date: Mon Jun 23 09:59:45 2014 New Revision: 358916 URL: http://svnweb.freebsd.org/changeset/ports/358916 QAT: https://qat.redports.org/buildarchive/r358916/ Log: 1: Stagify. 2: new syntax of LIB_DEPENDS. 3: use option helper. Approved by: portmgr@ Added: head/net/ifstat/files/patch-Makefile.in (contents, props changed) Modified: head/net/ifstat/Makefile Modified: head/net/ifstat/Makefile ============================================================================== --- head/net/ifstat/Makefile Mon Jun 23 09:57:27 2014 (r358915) +++ head/net/ifstat/Makefile Mon Jun 23 09:59:45 2014 (r358916) @@ -15,17 +15,9 @@ GNU_CONFIGURE= yes USE_OPENSSL= yes OPTIONS_DEFINE= SNMP +SNMP_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp +SNMP_CONFIGURE_WITH= snmp -MAN1= ifstat.1 -PLIST_FILES= bin/ifstat - -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MSNMP} -LIB_DEPENDS+= netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp -.else -CONFIGURE_ARGS+= --without-snmp -.endif +PLIST_FILES= bin/ifstat man/man1/ifstat.1.gz .include Added: head/net/ifstat/files/patch-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/ifstat/files/patch-Makefile.in Mon Jun 23 09:59:45 2014 (r358916) @@ -0,0 +1,17 @@ +--- Makefile.in.orig 2014-06-23 17:54:49.793422514 +0800 ++++ Makefile.in 2014-06-23 17:56:06.824418432 +0800 +@@ -65,10 +65,10 @@ libifstat-config: libifstat-config.in + install: install-$(TARGET) install-@LIBTARGET@ + + install-$(TARGET): $(TARGET) +- $(INSTALL) -d -m 755 $(bindir) +- $(INSTALL) -s -m 755 $(TARGET) $(bindir)/$(TARGET) +- $(INSTALL) -d -m 755 $(mandir)/man1 +- $(INSTALL) -m 644 ifstat.1 $(mandir)/man1/ifstat.1 ++ $(INSTALL) -d -m 755 $(DESTDIR)$(bindir) ++ $(INSTALL) -s -m 755 $(TARGET) $(DESTDIR)$(bindir)/$(TARGET) ++ $(INSTALL) -d -m 755 $(DESTDIR)$(mandir)/man1 ++ $(INSTALL) -m 644 ifstat.1 $(DESTDIR)$(mandir)/man1/ifstat.1 + + install-$(LIBTARGET): $(LIBTARGET) libifstat-config + $(INSTALL) -d -m 755 $(bindir)