aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-08-12 08:54:06 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-08-12 08:54:06 +0000
commitf1368e51ce25099eee4db6080ac4cb906a1a3a56 (patch)
tree0acebb15676541827c02ae3d1d0afa6df09c572f /net-mgmt
parentcceaba05e0de6c2240db00e8080a8f5ab464349b (diff)
downloadports-f1368e51ce25099eee4db6080ac4cb906a1a3a56.tar.gz
ports-f1368e51ce25099eee4db6080ac4cb906a1a3a56.zip
Notes
Diffstat (limited to 'net-mgmt')
-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 b261fdced65c..eac12c73d172 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 6132364eb720..453b1dfa338b 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 53f826b58043..4a9932ee9180 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