summaryrefslogtreecommitdiffstats
path: root/net/trafshow3/Makefile
diff options
context:
space:
mode:
authorjseger <jseger@FreeBSD.org>2000-01-24 16:08:09 +0000
committerjseger <jseger@FreeBSD.org>2000-01-24 16:08:09 +0000
commit14662aeaaadf0845f62bcb1292ffb9cc0241cf59 (patch)
treea7d64252ad4e9975d4323215e1b697bfb4ff6725 /net/trafshow3/Makefile
parent1f2cdeb6ea375a739faf29de6f06aee91d581853 (diff)
downloadFreeBSD-ports-14662aeaaadf0845f62bcb1292ffb9cc0241cf59.zip
FreeBSD-ports-14662aeaaadf0845f62bcb1292ffb9cc0241cf59.tar.gz
Update to trafshow-3.1
Submitted by: Michael Vasilenko <acid@stu.cn.ua> PR: ports/15907, ports/16296
Diffstat (limited to 'net/trafshow3/Makefile')
-rw-r--r--net/trafshow3/Makefile22
1 files changed, 18 insertions, 4 deletions
diff --git a/net/trafshow3/Makefile b/net/trafshow3/Makefile
index 6ee7d80..2da6c6d 100644
--- a/net/trafshow3/Makefile
+++ b/net/trafshow3/Makefile
@@ -1,18 +1,32 @@
# New ports collection makefile for: trafshow
-# Version required: 2.0
+# Version required: 3.1
# Date created: 25 September 1996
# Whom: igor@zynaps.ru
#
# $FreeBSD$
#
-DISTNAME= trafshow-2.0
+DISTNAME= trafshow-3.1
CATEGORIES= net
-MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/tcpip/netmaint/
+MASTER_SITES= ftp://ftp.nsk.su/pub/RinetSoftware/
EXTRACT_SUFX= .tgz
MAINTAINER= jseger@FreeBSD.org
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 400010
+LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses
+.endif
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= LDFLAGS=-L/usr/local/lib
+ALL_TARGET= trafshow
+
MAN1= trafshow.1
-.include <bsd.port.mk>
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
+ @ ${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1
+ @ ${INSTALL_DATA} ${WRKSRC}/.trafshow ${PREFIX}/etc/trafshow
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud