summaryrefslogblamecommitdiffstats
path: root/net/gnome-nettool/Makefile
blob: 7a510fa67362ae319398870f544e7745816135a3 (plain) (tree)





































                                                                                      
# New ports collection makefile for:   gnomenetwork
# Date Created:         03 June 2003
# Whom:             Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD: ports/net/gnomenettool/Makefile,v 1.18 2006/04/30 00:47:18 marcus Exp $
#   $MCom: ports/net/gnomenettool/Makefile,v 1.23 2006/04/24 02:02:46 marcus Exp $
#

PORTNAME=   gnomenettool
PORTVERSION=    2.15.0
PORTEPOCH=  1
CATEGORIES= net gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-nettool/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
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_GETTEXT=    yes
INSTALLS_OMF=   yes
INSTALLS_ICONS= yes
GNU_CONFIGURE=  yes
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>