diff options
Diffstat (limited to 'net-mgmt/p0f/Makefile')
-rw-r--r-- | net-mgmt/p0f/Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/net-mgmt/p0f/Makefile b/net-mgmt/p0f/Makefile index ade24554083c..6a59a4c6308c 100644 --- a/net-mgmt/p0f/Makefile +++ b/net-mgmt/p0f/Makefile @@ -6,7 +6,7 @@ # PORTNAME= p0f -PORTVERSION= 2.0.4 +PORTVERSION= 2.0.5 CATEGORIES= net-mgmt MASTER_SITES= http://lcamtuf.coredump.cx/p0f/ EXTRACT_SUFX= .tgz @@ -15,16 +15,14 @@ MAINTAINER= babak@farrokhi.net COMMENT= Passive OS fingerprinting tool ALL_TARGET= all p0fq tools -DOCFILES= COPYING CREDITS ChangeLog KNOWN_BUGS README TODO win-memleak.txt +PORTDOCS= COPYING CREDITS ChangeLog KNOWN_BUGS README TODO win-memleak.txt MAN1= p0f.1 -#PLIST= ${WRKDIR}/pkg-plist -WRKSRC= ${WRKDIR}/p0f +WRKSRC= ${WRKDIR}/${PORTNAME} post-patch: -.for ii in config.h doc/README - ${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.orig - ${SED} -e "s=/etc=${PREFIX}/etc=g" < ${WRKSRC}/${ii}.orig > \ - ${WRKSRC}/${ii} + @${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' ${WRKSRC}/mk/FreeBSD +.for f in config.h doc/README + @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/${f} .endfor do-install: @@ -34,12 +32,13 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/p0frep ${PREFIX}/bin ${MKDIR} ${PREFIX}/etc/p0f .for ii in . a. r. - ${INSTALL_DATA} ${WRKSRC}/p0f${ii}fp ${PREFIX}/etc/p0f/ + ${INSTALL_DATA} ${WRKSRC}/p0f${ii}fp ${PREFIX}/etc/p0f .endfor - ${INSTALL_MAN} ${WRKSRC}/p0f.1 ${MANPREFIX}/man/man1/ + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 + .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} -.for ii in ${DOCFILES} +.for ii in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${ii} ${DOCSDIR} .endfor .endif |