summaryrefslogtreecommitdiff
path: root/net/trafshow/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/trafshow/Makefile')
-rw-r--r--net/trafshow/Makefile29
1 files changed, 10 insertions, 19 deletions
diff --git a/net/trafshow/Makefile b/net/trafshow/Makefile
index 1b2b8dd3a49..db1acb9991d 100644
--- a/net/trafshow/Makefile
+++ b/net/trafshow/Makefile
@@ -1,36 +1,27 @@
-# New ports collection makefile for: trafshow
-# Date created: 25 September 1996
-# Whom: igor@zynaps.ru
-#
+# $NetBSD: Makefile,v 1.2 2000/08/11 05:42:15 itojun Exp $
# $FreeBSD: ports/net/trafshow/Makefile,v 1.14 2000/06/28 12:53:15 alex Exp $
#
-PORTNAME= trafshow
-PORTVERSION= 3.1
+DISTNAME= trafshow-3.1
CATEGORIES= net
MASTER_SITES= ftp://ftp.nsk.su/pub/RinetSoftware/
EXTRACT_SUFX= .tgz
-MAINTAINER= jseger@FreeBSD.org
+MAINTAINER= packages@netbsd.org
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 400010
-LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses
-.endif
+BUILD_DEPENDS+= autoreconf:../../devel/autoconf
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
ALL_TARGET= trafshow
-MAN1= trafshow.1
-
-post-patch:
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c
+pre-configure:
+ cd ${WRKSRC} && autoreconf
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1
- ${INSTALL_DATA} ${WRKSRC}/.trafshow ${PREFIX}/etc/trafshow
+ ${MKDIR} ${PREFIX}/share/examples/trafshow
+ ${INSTALL_DATA} ${WRKSRC}/.trafshow \
+ ${PREFIX}/share/examples/trafshow/trafshow
-.include <bsd.port.post.mk>
+.include "../../mk/bsd.pkg.mk"