From 1eeb6395d7025623114ef9c292f2578484b298a5 Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 10 Feb 2014 17:57:29 +0000 Subject: Convert to staging. Sponsored by: Absolight --- net/fping/Makefile | 33 ++++----------------------------- net/fping/pkg-plist | 6 ++++++ 2 files changed, 10 insertions(+), 29 deletions(-) create mode 100644 net/fping/pkg-plist (limited to 'net/fping') diff --git a/net/fping/Makefile b/net/fping/Makefile index 98743b780e6c..82f739deb1e4 100644 --- a/net/fping/Makefile +++ b/net/fping/Makefile @@ -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 - -.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 diff --git a/net/fping/pkg-plist b/net/fping/pkg-plist new file mode 100644 index 000000000000..8b7a1f98ea16 --- /dev/null +++ b/net/fping/pkg-plist @@ -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 -- cgit