summaryrefslogtreecommitdiff
path: root/net/p0f/Makefile
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2002-02-11 00:48:30 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2002-02-11 00:48:30 +0000
commit4230998ad6da0cbb174a391411292d207fffa602 (patch)
tree0f1b0ce2b373e92cedc1772af1e9d400f4c3ee22 /net/p0f/Makefile
parentBelatedly upgrade to 1.81.5. Notes: (a) patch-vi-relative has been (diff)
Update to 1.8.2. Remove patches to README and p0f.c because they
have been accepted upstream. Install new CREDITS and ChangeLog with documentation. Install new p0frep script. Use DOCSDIR macro.
Diffstat (limited to 'net/p0f/Makefile')
-rw-r--r--net/p0f/Makefile22
1 files changed, 19 insertions, 3 deletions
diff --git a/net/p0f/Makefile b/net/p0f/Makefile
index a1b38dbd579c..f60bb02bfce5 100644
--- a/net/p0f/Makefile
+++ b/net/p0f/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= p0f
-PORTVERSION= 1.8
+PORTVERSION= 1.8.2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.stearns.org/p0f/
@@ -14,7 +14,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= trevor@FreeBSD.org
+DOCFILES= COPYING CREDITS ChangeLog README
MAN1= p0f.1
+PLIST= ${WRKDIR}/pkg-plist
post-patch:
${PERL} -pi -e "s=/etc=${PREFIX}/etc=g" \
@@ -23,13 +25,27 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/p0f ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/p0frep ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/p0f.fp ${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
+pre-install:
+ ${ECHO_CMD} bin/p0f > ${PLIST}
+ ${ECHO_CMD} bin/p0frep >> ${PLIST}
+ ${ECHO_CMD} etc/p0f.fp >> ${PLIST}
+.if !defined(NOPORTDOCS)
+.for i in ${DOCFILES}
+ ${ECHO_CMD} share/doc/p0f/$i >> ${PLIST}
+.endfor
+ ${ECHO_CMD} "@dirrm share/doc/p0f" >> ${PLIST}
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/p0f
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/p0f
+ ${MKDIR} ${DOCSDIR}/p0f
+.for i in ${DOCFILES}
+ ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/p0f
+.endfor
.endif
.include <bsd.port.mk>