pkgsrc/sysutils/pftop/Makefile
peter fe06a10c61 Switch to mk/pf.buildlink3.mk.
Approved by agc.
2008-06-26 20:59:51 +00:00

29 lines
789 B
Makefile

# $NetBSD: Makefile,v 1.12 2008/06/26 20:59:51 peter Exp $
DISTNAME= pftop-0.7
CATEGORIES= sysutils net
MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/
MAINTAINER= peter@NetBSD.org
HOMEPAGE= http://www.eee.metu.edu.tr/~canacar/pftop/
COMMENT= Utility for real-time display of statistics for PF
PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= yes
MAKE_ENV+= OSLEVEL=${PF_VERSION:S/.//}
CFLAGS+= -I${PREFIX}/include
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
post-patch:
@${ECHO} "#include <pcap.h>" > ${WRKSRC}/pcap-int.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pftop ${DESTDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/pftop.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/pf.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"