aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/driftnet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/driftnet/Makefile')
-rw-r--r--net-mgmt/driftnet/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/net-mgmt/driftnet/Makefile b/net-mgmt/driftnet/Makefile
index 3c313ab668da..19e116a878ab 100644
--- a/net-mgmt/driftnet/Makefile
+++ b/net-mgmt/driftnet/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= driftnet
-PORTVERSION= 0.1.4
+PORTVERSION= 0.1.6
CATEGORIES= net
MASTER_SITES= http://www.ex-parrot.com/~chris/driftnet/ \
http://www.vanheusden.com/mirrors/
@@ -18,6 +18,15 @@ LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
USE_GTK= yes
USE_X_PREFIX= yes
-MAKEFILE= ${FILESDIR}/Makefile
+USE_GMAKE= yes
+
+ALL_TARGET= default
+MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
+
+MAN1= driftnet.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/driftnet ${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/driftnet.1 ${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>