freebsd-ports/net/gnomenettool/Makefile
Joe Marcus Clarke 2bb1a3a5ea FreeBSD sets POLLIN along with POLLHUP when a pipe is reaches EOF. Account
for this to avoid an infinite loop when running the embedded network
commands.
2004-12-28 02:42:23 +00:00

36 lines
920 B
Makefile

# New ports collection makefile for: gnomenetwork
# Date Created: 03 June 2003
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gnomenettool
PORTVERSION= 1.0.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-nettool/1.0
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 libgnomeui
USE_GMAKE= yes
USE_LIBTOOL_VER=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>