1996-05-01 07:52:09 +00:00
|
|
|
# New ports collection makefile for: trafshow
|
1996-10-19 17:30:14 +00:00
|
|
|
# Date created: 25 September 1996
|
|
|
|
# Whom: igor@zynaps.ru
|
1996-05-01 07:52:09 +00:00
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1996-05-04 01:57:18 +00:00
|
|
|
#
|
1996-05-01 07:52:09 +00:00
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= trafshow
|
|
|
|
PORTVERSION= 3.1
|
2000-10-29 22:31:16 +00:00
|
|
|
PORTREVISION= 1
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= net
|
2000-01-24 16:08:09 +00:00
|
|
|
MASTER_SITES= ftp://ftp.nsk.su/pub/RinetSoftware/
|
1996-05-01 07:52:09 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
MAINTAINER= jseger@FreeBSD.org
|
1996-05-01 07:52:09 +00:00
|
|
|
|
2000-01-24 16:08:09 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 400010
|
2000-11-16 13:14:26 +00:00
|
|
|
LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses
|
2000-01-24 16:08:09 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2000-06-28 12:53:16 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2000-01-24 16:08:09 +00:00
|
|
|
ALL_TARGET= trafshow
|
|
|
|
|
1996-11-18 11:44:27 +00:00
|
|
|
MAN1= trafshow.1
|
1996-05-01 07:52:09 +00:00
|
|
|
|
2000-06-28 12:53:16 +00:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c
|
|
|
|
|
2000-01-24 16:08:09 +00:00
|
|
|
do-install:
|
2000-06-28 12:53:16 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1
|
2000-10-29 22:27:34 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/.trafshow ${PREFIX}/etc/trafshow.dist
|
|
|
|
${CP} ${PREFIX}/etc/trafshow.dist ${PREFIX}/etc/trafshow
|
2000-01-24 16:08:09 +00:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|