summaryrefslogtreecommitdiffstats
path: root/net-mgmt/netwox
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-08-12 08:54:06 +0000
committersem <sem@FreeBSD.org>2004-08-12 08:54:06 +0000
commit9442f134b8d4c614168330fca68fad77e5ca4c36 (patch)
treec6e2e6f9ab35c388be546d3146be249114e9825d /net-mgmt/netwox
parent7d7cf14f5faa6db510803db353efaea5aec5b482 (diff)
downloadFreeBSD-ports-9442f134b8d4c614168330fca68fad77e5ca4c36.zip
FreeBSD-ports-9442f134b8d4c614168330fca68fad77e5ca4c36.tar.gz
Update to 5.21.0
PR: ports/70304 Submitted by: maintainer
Diffstat (limited to 'net-mgmt/netwox')
-rw-r--r--net-mgmt/netwox/Makefile11
-rw-r--r--net-mgmt/netwox/distinfo8
-rw-r--r--net-mgmt/netwox/pkg-plist2
3 files changed, 12 insertions, 9 deletions
diff --git a/net-mgmt/netwox/Makefile b/net-mgmt/netwox/Makefile
index b261fdc..eac12c7 100644
--- a/net-mgmt/netwox/Makefile
+++ b/net-mgmt/netwox/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= netwox
-PORTVERSION= 5.20.0
+PORTVERSION= 5.21.0
CATEGORIES= net-mgmt ipv6
MASTER_SITES= http://www.laurentconstantin.com/common/netw/netwox/download/v5/ \
http://membres.lycos.fr/lauconstantin/common/netw/netwox/download/v5/ \
@@ -16,11 +16,14 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}-src.tgz ${PORTNAME}-${PORTVERSION}-doc_htm
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Netwox a network testing toolbox
-BUILD_DEPENDS= ${LOCALBASE}/bin/netwib-config:${PORTSDIR}/net/netwib
+BUILD_DEPENDS= ${LOCALBASE}/bin/netwib${SHORTPORTVERSION}-config:${PORTSDIR}/net/netwib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/src
USE_REINPLACE= yes
-MAN1= netwox.1 netwox520.1
+SHORTPORTVERSION=${PORTVERSION:C/([0-9]*)\.([0-9]*)\.[0-9]*/\1\2/}
+MAN1= netwox.1 netwox${SHORTPORTVERSION}.1
+
+PLIST_SUB+= SHORTPORTVERSION=${SHORTPORTVERSION}
do-configure:
@${REINPLACE_CMD} \
@@ -29,7 +32,7 @@ do-configure:
(cd ${WRKSRC} ; ${SH} ${WRKSRC}/genemake )
post-install:
- strip ${PREFIX}/bin/${PORTNAME}
+ ${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${CP} -R ${WRKSRC}/../../${PORTNAME}-${PORTVERSION}-doc_html/* ${DOCSDIR}
diff --git a/net-mgmt/netwox/distinfo b/net-mgmt/netwox/distinfo
index 6132364..453b1df 100644
--- a/net-mgmt/netwox/distinfo
+++ b/net-mgmt/netwox/distinfo
@@ -1,4 +1,4 @@
-MD5 (netwox-5.20.0-src.tgz) = 4785cec8b11099e51f457ef9b2cbe915
-SIZE (netwox-5.20.0-src.tgz) = 341139
-MD5 (netwox-5.20.0-doc_html.tgz) = 6e776f08f7d4b59f8d44d84c4aece421
-SIZE (netwox-5.20.0-doc_html.tgz) = 60685
+MD5 (netwox-5.21.0-src.tgz) = a3b2dac361a577bd5f03d1b309eba85d
+SIZE (netwox-5.21.0-src.tgz) = 358301
+MD5 (netwox-5.21.0-doc_html.tgz) = 546f20c6c85e4080c8d4573c5558a294
+SIZE (netwox-5.21.0-doc_html.tgz) = 60685
diff --git a/net-mgmt/netwox/pkg-plist b/net-mgmt/netwox/pkg-plist
index 53f826b..4a9932e 100644
--- a/net-mgmt/netwox/pkg-plist
+++ b/net-mgmt/netwox/pkg-plist
@@ -1,4 +1,4 @@
-bin/netwox520
+bin/netwox%%SHORTPORTVERSION%%
bin/netwox
%%PORTDOCS%%%%DOCSDIR%%/html/examples.html
%%PORTDOCS%%%%DOCSDIR%%/html/routerandfw.html
OpenPOWER on IntegriCloud