diff options
Diffstat (limited to 'net/trafcount/Makefile')
-rw-r--r-- | net/trafcount/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net/trafcount/Makefile b/net/trafcount/Makefile new file mode 100644 index 00000000000..796b7821e89 --- /dev/null +++ b/net/trafcount/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: trafcount +# Date created: Sat Jun 2 16:29:22 IDT 2001 +# Whom: amir@boom.org.il +# +# $FreeBSD$ +# + +PORTNAME= trafcount +PORTVERSION= 0.2.1 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= trafcount + +MAINTAINER= amir@boom.org.il + +STARTUP= trafcount.sh +MAN1= trafcount.1 + +MAN_COMPRESSED= no + +post-patch: + @${PERL} -pi.fbsd -e 's@kmoddir=/modules@kmoddir=${PREFIX}/libexec@g' ${WRKSRC}/trafcount.sh + @${PERL} -pi.fbsd -e 's@/usr/local@${PREFIX}@g' \ + ${WRKSRC}/client/Makefile ${WRKSRC}/module/Makefile ${WRKSRC}/Makefile + +.if !exists(/usr/src/sys/Makefile) +BROKEN= "Kernel source files required" +.endif + +.include <bsd.port.mk> |