Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2014 17:57:29 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343666 - head/net/fping
Message-ID:  <201402101757.s1AHvTqq040276@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon Feb 10 17:57:29 2014
New Revision: 343666
URL: http://svnweb.freebsd.org/changeset/ports/343666
QAT: https://qat.redports.org/buildarchive/r343666/

Log:
  Convert to staging.
  
  Sponsored by:	Absolight

Added:
  head/net/fping/pkg-plist   (contents, props changed)
Modified:
  head/net/fping/Makefile

Modified: head/net/fping/Makefile
==============================================================================
--- head/net/fping/Makefile	Mon Feb 10 17:53:08 2014	(r343665)
+++ head/net/fping/Makefile	Mon Feb 10 17:57:29 2014	(r343666)
@@ -14,38 +14,13 @@ LICENSE=	GFDL
 OPTIONS_MULTI=		NET
 OPTIONS_MULTI_NET=	IPV4 IPV6
 OPTIONS_DEFAULT=	IPV4
+OPTIONS_SUB=	yes
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--bindir="${PREFIX}/sbin"
+INSTALL_TARGET=	install-strip
 
-NO_STAGE=	yes
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MIPV4}
-CONFIGURE_ARGS+=--enable-ipv4
-PLIST_FILES+=sbin/fping
-MAN8+=	fping.8
-.else
-CONFIGURE_ARGS+=--disable-ipv4
-.endif
-
-.if ${PORT_OPTIONS:MIPV6}
-CONFIGURE_ARGS+=--enable-ipv6
-PLIST_FILES+=sbin/fping6
-MAN8+=	fping6.8
-.else
-CONFIGURE_ARGS+=--disable-ipv6
-.endif
-
-post-install:
-.if ${PORT_OPTIONS:MIPV4}
-	@${STRIP_CMD} ${PREFIX}/sbin/fping
-	@${CHMOD} 4555 ${PREFIX}/sbin/fping
-.endif
-.if ${PORT_OPTIONS:MIPV6}
-	@${STRIP_CMD} ${PREFIX}/sbin/fping6
-	@${CHMOD} 4555 ${PREFIX}/sbin/fping6
-.endif
+IPV4_CONFIGURE_ENABLE=	ipv4
+IPV6_CONFIGURE_ENABLE=	ipv6
 
 .include <bsd.port.mk>

Added: head/net/fping/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/fping/pkg-plist	Mon Feb 10 17:57:29 2014	(r343666)
@@ -0,0 +1,6 @@
+@mode 4555
+%%IPV4%%sbin/fping
+%%IPV6%%sbin/fping6
+@mode
+%%IPV4%%man/man8/fping.8.gz
+%%IPV6%%man/man8/fping6.8.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402101757.s1AHvTqq040276>