aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netwag
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-08-15 19:39:15 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-08-15 19:39:15 +0000
commit2ad843635cb9932f06f2c2374f3775112b15a9d5 (patch)
treeb908c298c6cf838d41e0807d70bf5d4d8a3724e0 /net-mgmt/netwag
parenta86d0c4c02cb986af11ccacf343f0bbd8125aff4 (diff)
downloadports-2ad843635cb9932f06f2c2374f3775112b15a9d5.tar.gz
ports-2ad843635cb9932f06f2c2374f3775112b15a9d5.zip
Notes
Diffstat (limited to 'net-mgmt/netwag')
-rw-r--r--net-mgmt/netwag/Makefile41
-rw-r--r--net-mgmt/netwag/distinfo4
-rw-r--r--net-mgmt/netwag/files/patch-config.dat14
-rw-r--r--net-mgmt/netwag/pkg-descr9
-rw-r--r--net-mgmt/netwag/pkg-plist17
5 files changed, 85 insertions, 0 deletions
diff --git a/net-mgmt/netwag/Makefile b/net-mgmt/netwag/Makefile
new file mode 100644
index 000000000000..8e56a94e45c1
--- /dev/null
+++ b/net-mgmt/netwag/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: netwag
+# Date created: 11.08.2004
+# Whom: janos.mohacsi@bsd.hu
+#
+# $FreeBSD$
+#
+
+PORTNAME= netwag
+PORTVERSION= 5.21.0
+CATEGORIES= net-mgmt ipv6
+MASTER_SITES= http://www.laurentconstantin.com/common/netw/${PORTNAME}/download/v5/ \
+ http://membres.lycos.fr/lauconstantin/common/netw/${PORTNAME}/download/v5/ \
+ http://laurentconstantin.free.fr/common/netw/${PORTNAME}/download/v5/
+DISTFILES= ${PORTNAME}-${PORTVERSION}-src.tgz ${PORTNAME}-${PORTVERSION}-doc_html.tgz
+
+MAINTAINER= janos.mohacsi@bsd.hu
+COMMENT= A graphical front end for netwox
+
+BUILD_DEPENDS= netwox:${PORTSDIR}/net-mgmt/netwox \
+ wish8.4:${PORTSDIR}/x11-toolkits/tk84
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/src
+USE_REINPLACE= yes
+SHORTPORTVERSION=${PORTVERSION:C/([0-9]*)\.([0-9]*)\.[0-9]*/\1\2/}
+MAN1= ${PORTNAME}.1 ${PORTNAME}${SHORTPORTVERSION}.1
+
+PLIST_SUB+= SHORTPORTVERSION=${SHORTPORTVERSION}
+
+do-configure:
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
+ ${WRKSRC}/config.dat
+ cd ${WRKSRC}; ${SH} ./genemake
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${CP} -R ${WRKSRC}/../../${PORTNAME}-${PORTVERSION}-doc_html/* ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/netwag/distinfo b/net-mgmt/netwag/distinfo
new file mode 100644
index 000000000000..845093bd87c1
--- /dev/null
+++ b/net-mgmt/netwag/distinfo
@@ -0,0 +1,4 @@
+MD5 (netwag-5.21.0-src.tgz) = 501a6ba5e87534f9ba397ecc00c4284b
+SIZE (netwag-5.21.0-src.tgz) = 72234
+MD5 (netwag-5.21.0-doc_html.tgz) = cf29690753be32bfaa413becc27a387f
+SIZE (netwag-5.21.0-doc_html.tgz) = 45497
diff --git a/net-mgmt/netwag/files/patch-config.dat b/net-mgmt/netwag/files/patch-config.dat
new file mode 100644
index 000000000000..c9215c7e7b89
--- /dev/null
+++ b/net-mgmt/netwag/files/patch-config.dat
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- config.dat.orig Wed Aug 11 17:49:39 2004
++++ config.dat Wed Aug 11 17:49:54 2004
+@@ -4,7 +4,7 @@
+
+ ##########################################################################
+ ### installation prefix directory of netwib [should not need to be modified]
+-NETWIBDEF_INSTPREFIX=/usr/local
++NETWIBDEF_INSTPREFIX=%%PREFIX%%
+
+ ##########################################################################
+ ### installation destination directory [should not need to be modified]
diff --git a/net-mgmt/netwag/pkg-descr b/net-mgmt/netwag/pkg-descr
new file mode 100644
index 000000000000..882fc7be5769
--- /dev/null
+++ b/net-mgmt/netwag/pkg-descr
@@ -0,0 +1,9 @@
+Netwag is a graphical front end for netwox.
+
+Netwag permits to easily :
+ - search amongst tools proposed in netwox
+ - construct command line
+ - run tools
+ - keep an history of commands
+
+WWW: http://www.laurentconstantin.com/en/netw/netwox/
diff --git a/net-mgmt/netwag/pkg-plist b/net-mgmt/netwag/pkg-plist
new file mode 100644
index 000000000000..70c9a57ee19f
--- /dev/null
+++ b/net-mgmt/netwag/pkg-plist
@@ -0,0 +1,17 @@
+bin/netwag%%SHORTPORTVERSION%%
+bin/netwag
+%%PORTDOCS%%%%DOCSDIR%%/html/lessons.html
+%%PORTDOCS%%%%DOCSDIR%%/images/banner_netwag.jpg
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/txt/installbin.txt
+%%PORTDOCS%%%%DOCSDIR%%/txt/installsrcunix.txt
+%%PORTDOCS%%%%DOCSDIR%%/txt/presentation.txt
+%%PORTDOCS%%%%DOCSDIR%%/txt/probleminstallbin.txt
+%%PORTDOCS%%%%DOCSDIR%%/txt/probleminstallunix.txt
+%%PORTDOCS%%%%DOCSDIR%%/txt/problemreport.txt
+%%PORTDOCS%%%%DOCSDIR%%/txt/problemusagebin.txt
+%%PORTDOCS%%%%DOCSDIR%%/txt/problemusageunix.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%