aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-24 07:59:05 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-24 07:59:05 +0800
commit5dce4669c67b2ee7f1f9685d457cee374835afc4 (patch)
treef4c7614cf61df41478fffd62df0aced99c3d8e50 /net
parentf3368964f5685043f04ef9d759c964a54687888b (diff)
downloadfreebsd-ports-gnome-5dce4669c67b2ee7f1f9685d457cee374835afc4.tar.gz
freebsd-ports-gnome-5dce4669c67b2ee7f1f9685d457cee374835afc4.tar.zst
freebsd-ports-gnome-5dce4669c67b2ee7f1f9685d457cee374835afc4.zip
- Switch to USES=tar:tgz
- Strip binary - Add LICENSE
Diffstat (limited to 'net')
-rw-r--r--net/shmux/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/net/shmux/Makefile b/net/shmux/Makefile
index ec10556e5bcc..15b708728d40 100644
--- a/net/shmux/Makefile
+++ b/net/shmux/Makefile
@@ -3,23 +3,26 @@
PORTNAME= shmux
DISTVERSION= 1.0.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://web.taranis.org/shmux/dist/
-EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility to run commands on multiple hosts using shell commands
-OPTIONS_DEFINE= FPING PCRE
-OPTIONS_DEFAULT= FPING
-FPING_DESC= Use fping utility
+LICENSE= BSD4CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+USES= tar:tgz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples
ALL_TARGET= ${PORTNAME}
+OPTIONS_DEFINE= FPING PCRE
+OPTIONS_DEFAULT= FPING
+FPING_DESC= Use fping utility
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFPING}
@@ -33,4 +36,7 @@ CONFIGURE_ARGS+= --with-pcre=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-pcre=no
.endif
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
.include <bsd.port.mk>