summaryrefslogtreecommitdiffstats
path: root/net/gnomenettool/Makefile
blob: 3d9a4f8694f82f66c1eed7d17e994ad7e8c902d2 (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
# New ports collection makefile for:   gnomenetwork
# Date Created:         03 June 2003
# Whom:             Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/net/gnomenettool/Makefile,v 1.9 2005/08/23 16:58:10 marcus Exp $
#

PORTNAME=   gnomenettool
PORTVERSION=    1.4.1
PORTEPOCH=  1
CATEGORIES= net gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-nettool/1.4
DISTNAME=   gnome-nettool-${PORTVERSION}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A GNOME utility that provides network information statistics

USE_X_PREFIX=   yes
USE_BZIP2=  yes
USE_GNOME=  gnomehack intlhack gnomeprefix libglade2 gconf2
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CFLAGS+=    -DHAVE_SOCKADDR_SA_LEN

post-install:
    ${MKDIR} ${PREFIX}/share/gnome/pixmaps
    ${LN} -sf ${PREFIX}/share/gnome/gnome-nettool/pixmaps/gnome-nettool.png \
        ${PREFIX}/share/gnome/pixmaps/gnome-nettool.png

.include <bsd.port.mk>