2006-10-02 00:36:46 +02:00
|
|
|
# $NetBSD: Makefile,v 1.46 2006/10/01 22:36:46 schwarz Exp $
|
1999-01-20 03:03:40 +01:00
|
|
|
#
|
|
|
|
|
1999-03-02 23:06:02 +01:00
|
|
|
DISTNAME= xtraceroute-0.8.14
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 8
|
1999-01-20 03:03:40 +01:00
|
|
|
CATEGORIES= net x11
|
|
|
|
MASTER_SITES= http://www.dtek.chalmers.se/~d3august/xt/dl/
|
1999-02-18 17:40:50 +01:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
ndg_files.tar.gz
|
1999-01-20 03:03:40 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
1999-01-20 03:03:40 +01:00
|
|
|
HOMEPAGE= http://www.dtek.chalmers.se/~d3august/xt/index.html
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Graphical version of traceroute, which traces the route IP packets go
|
1999-01-20 03:03:40 +01:00
|
|
|
|
2003-04-27 16:39:12 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_PKGLOCALEDIR= yes
|
2006-04-13 20:23:29 +02:00
|
|
|
USE_TOOLS+= msgfmt
|
2000-07-15 22:39:13 +02:00
|
|
|
|
2002-10-09 13:03:32 +02:00
|
|
|
CONFIGURE_ARGS+= --with-gtk-prefix="${BUILDLINK_PREFIX.gtk}"
|
2000-06-30 12:04:46 +02:00
|
|
|
# XXX Actually, Mesa's in X11PREFIX too, but as our tiff is in LOCALBASE
|
1999-01-20 03:03:40 +01:00
|
|
|
# and xtraceroute doesn't have a switch to tell it so (yet?), we abuse
|
|
|
|
# the --with-GL-prefix switch for this.
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --with-GL-prefix=${LOCALBASE:Q}
|
1999-01-20 03:03:40 +01:00
|
|
|
CONFIGURE_ARGS+= --with-lib-MesaGL
|
|
|
|
|
2004-12-18 16:50:42 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(LOWER_OPSYS:Mirix5*)
|
|
|
|
CONFIGURE_ARGS+= --with-traceroute=/usr/etc/traceroute
|
2006-10-02 00:36:46 +02:00
|
|
|
# needs snprintf()
|
|
|
|
. include "../../pkgtools/libnbcompat/buildlink3.mk"
|
2004-12-18 16:50:42 +01:00
|
|
|
.endif
|
|
|
|
|
1999-01-20 03:03:40 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/xtraceroute
|
1999-03-02 23:06:02 +01:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/hosts.cache ${PREFIX}/share/xtraceroute/hosts.cache
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/networks.cache ${PREFIX}/share/xtraceroute/networks.cache
|
1999-01-20 03:03:40 +01:00
|
|
|
|
2004-04-18 09:30:16 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk/buildlink3.mk"
|
|
|
|
.include "../../x11/gtkglarea/buildlink3.mk"
|
2002-10-09 13:03:32 +02:00
|
|
|
|
1999-01-20 03:03:40 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|