svn commit: r343666 - head/net/fping

Mathieu Arnold mat at FreeBSD.org
Mon Feb 10 17:57:30 UTC 2014


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 @@
+ at mode 4555
+%%IPV4%%sbin/fping
+%%IPV6%%sbin/fping6
+ at mode
+%%IPV4%%man/man8/fping.8.gz
+%%IPV6%%man/man8/fping6.8.gz


More information about the svn-ports-head mailing list