summaryrefslogtreecommitdiff
path: root/net/xtraceroute/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-01-20 02:03:40 +0000
committerhubertf <hubertf@pkgsrc.org>1999-01-20 02:03:40 +0000
commit8b2fe08538f093c1c5e7f724f9e295bdce1b72ce (patch)
treedf6958bab7d6fec7aa287ba2188199a26340a0f6 /net/xtraceroute/Makefile
parent1af7f23573e25f09311bfe9b6c057971afc5415e (diff)
downloadpkgsrc-8b2fe08538f093c1c5e7f724f9e295bdce1b72ce.tar.gz
Graphical version of traceroute, which traces the route IP packets go
Diffstat (limited to 'net/xtraceroute/Makefile')
-rw-r--r--net/xtraceroute/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/net/xtraceroute/Makefile b/net/xtraceroute/Makefile
new file mode 100644
index 00000000000..f53ff34fd30
--- /dev/null
+++ b/net/xtraceroute/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/01/20 02:03:40 hubertf Exp $
+#
+
+DISTNAME= xtraceroute-0.8.12
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ndg_files.tar.gz
+CATEGORIES= net x11
+MASTER_SITES= http://www.dtek.chalmers.se/~d3august/xt/dl/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.dtek.chalmers.se/~d3august/xt/index.html
+
+DEPENDS+= Mesa-3.0:../../graphics/Mesa
+DEPENDS+= gtk+-1.1.12:../../x11/gtk
+DEPENDS+= gtkglarea-1.1:../../x11/gtkglarea
+DEPENDS+= tiff-3.4:../../graphics/tiff
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --with-gtk-prefix=${X11BASE}
+# XXX Actually, Mesa's in X11BASE too, but as our tiff is in LOCALBASE
+# and xtraceroute doesn't have a switch to tell it so (yet?), we abuse
+# the --with-GL-prefix switch for this.
+CONFIGURE_ARGS+= --with-GL-prefix=${LOCALBASE}
+CONFIGURE_ARGS+= --with-lib-MesaGL
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/xtraceroute
+ ${INSTALL_DATA} ${WRKDIR}/lib/hosts.cache ${PREFIX}/share/xtraceroute/site_hosts.cache
+ ${INSTALL_DATA} ${WRKDIR}/lib/networks.cache ${PREFIX}/share/xtraceroute/site_networks.cache
+
+.include "../../mk/bsd.pkg.mk"