aboutsummaryrefslogtreecommitdiffstats
path: root/net/xtraceroute/Makefile
blob: 645cf86104e55742447e8d3168b44a0f6ad1d25a (plain) (blame)
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
36
37
38
39
# New ports collection makefile for:   xtraceroute
# Version required:    0.8.14
# Date created:        17 February 2000
# Whom:                Maxim Sobolev <sobomax@altavista.net>
#
# $FreeBSD$
#

DISTNAME=   xtraceroute-0.8.14
CATEGORIES= net
MASTER_SITES=   http://www.dtek.chalmers.se/~d3august/xt/dl/
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} ${DATAFILES}

MAINTAINER= sobomax@altavista.net

LIB_DEPENDS=    gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
        GL.14:${PORTSDIR}/graphics/Mesa3 \
        gtkgl.4:${PORTSDIR}/x11-toolkits/gtkglarea \
        tiff.4:${PORTSDIR}/graphics/tiff

GTK_CONFIG?=    ${X11BASE}/bin/gtk12-config

USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-GL-prefix=${X11BASE}/lib \
        --with-lib-MesaGL
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        GTK_CONFIG="${GTK_CONFIG}" \
        LIBS="-L${LOCALBASE}/lib"

DATAFILES=  ndg_files.tar.gz

MAN1=       xtraceroute.1

post-install:
        ${INSTALL_DATA} ${WRKDIR}/hosts.cache ${PREFIX}/share/xtraceroute
        ${INSTALL_DATA} ${WRKDIR}/networks.cache ${PREFIX}/share/xtraceroute

.include <bsd.port.mk>