blob: 06173b882e5995b5ebbf323634d67ddf171c7f0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.19 2000/11/24 10:41:29 kleink Exp $
#
DISTNAME= xtraceroute-0.8.14
CATEGORIES= net x11
MASTER_SITES= http://www.dtek.chalmers.se/~d3august/xt/dl/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
ndg_files.tar.gz
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.dtek.chalmers.se/~d3august/xt/index.html
BUILD_DEPENDS+= msgfmt:../../devel/gettext
DEPENDS+= gtkglarea-1.2.1:../../x11/gtkglarea
DEPENDS+= tiff-*:../../graphics/tiff
USE_X11= yes
#USE_MESA= yes
GNU_CONFIGURE= yes
USE_LIBINTL= yes
EVAL_PREFIX+= GTKDIR=gtk+
CONFIGURE_ARGS+= --with-gtk-prefix="${GTKDIR}"
# XXX Actually, Mesa's in X11PREFIX 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}/hosts.cache ${PREFIX}/share/xtraceroute/hosts.cache
${INSTALL_DATA} ${WRKDIR}/networks.cache ${PREFIX}/share/xtraceroute/networks.cache
.include "../../mk/bsd.pkg.mk"
|