aboutsummaryrefslogtreecommitdiff
path: root/net/trafshow4/Makefile
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>2000-01-24 16:08:09 +0000
committerJustin M. Seger <jseger@FreeBSD.org>2000-01-24 16:08:09 +0000
commit116272d550aa45f8027ab02f231261f7fbb535dc (patch)
treee0195a5fae08b4b462c2a91ff6cedf5a35b10393 /net/trafshow4/Makefile
parent87298184f10e5c6973079e3249ec19abfe37411f (diff)
downloadports-116272d550aa45f8027ab02f231261f7fbb535dc.tar.gz
ports-116272d550aa45f8027ab02f231261f7fbb535dc.zip
Notes
Diffstat (limited to 'net/trafshow4/Makefile')
-rw-r--r--net/trafshow4/Makefile22
1 files changed, 18 insertions, 4 deletions
diff --git a/net/trafshow4/Makefile b/net/trafshow4/Makefile
index 6ee7d807a17a..2da6c6d97c8c 100644
--- a/net/trafshow4/Makefile
+++ b/net/trafshow4/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>