diff options
Diffstat (limited to 'security/p0f/Makefile')
-rw-r--r-- | security/p0f/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/security/p0f/Makefile b/security/p0f/Makefile index 83f17fa1ecf..318b3094b71 100644 --- a/security/p0f/Makefile +++ b/security/p0f/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2003/01/17 23:15:24 hubertf Exp $ +# $NetBSD: Makefile,v 1.3 2003/02/02 21:32:11 jmmv Exp $ # DISTNAME= p0f-1.8.2 +PKGREVISION= 1 CATEGORIES= security net MASTER_SITES= http://www.stearns.org/p0f/ EXTRACT_SUFX= .tgz @@ -9,16 +10,17 @@ EXTRACT_SUFX= .tgz MAINTAINER= dawszy@arhea.net COMMENT= passive OS fingerprinting tool -pre-build: - ${SED} \ - -e 's,@PREFIX@,${LOCALBASE},'\ - <${WRKSRC}/p0f.c > ${WRKSRC}/p0f.c.tmp - ${MV} ${WRKSRC}/p0f.c.tmp ${WRKSRC}/p0f.c +USE_BUILDLINK2= yes +USE_PKGINSTALL= yes + +CFLAGS+= -DSYSCONFDIR=\"\\\"${PKG_SYSCONFDIR}\\\"\" +CONF_FILES= ${PREFIX}/share/examples/p0f/p0f.fp ${PKG_SYSCONFDIR}/p0f.fp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/p0f ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/p0f.fp ${PREFIX}/etc ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/p0f.README ${INSTALL_DATA} ${WRKSRC}/p0frep ${PREFIX}/share/doc/p0frep + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p0f + ${INSTALL_DATA} ${WRKSRC}/p0f.fp ${PREFIX}/share/examples/p0f .include "../../mk/bsd.pkg.mk" |