aboutsummaryrefslogtreecommitdiff
path: root/security/fl0p
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-03-03 16:28:40 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-03-03 16:28:40 +0000
commit16417e21867d5be3183f3fa1cdec5be9f6f2de26 (patch)
tree7807fbeac5d159614ba433d4c3b69f41dd01d331 /security/fl0p
parent6e113033cc96ed4190647486c798de162cac69cd (diff)
downloadports-16417e21867d5be3183f3fa1cdec5be9f6f2de26.tar.gz
ports-16417e21867d5be3183f3fa1cdec5be9f6f2de26.zip
Notes
Diffstat (limited to 'security/fl0p')
-rw-r--r--security/fl0p/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/security/fl0p/Makefile b/security/fl0p/Makefile
index 51361a0dbfda..723063602d1b 100644
--- a/security/fl0p/Makefile
+++ b/security/fl0p/Makefile
@@ -6,18 +6,21 @@ PORTVERSION= 0.0.2.b
CATEGORIES= security
MASTER_SITES= http://lcamtuf.coredump.cx/soft/
DISTNAME= fl0p-devel
-EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Passive L7 flow fingerprinting tool
LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/doc/COPYING
+USES= tar:tgz
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= ChangeLog CREDITS README TODO
PLIST_FILES= bin/fl0p %%DATADIR%%/fl0p.fp
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e \
's|"/etc/fl0p"|"${DATADIR}"|' ${WRKSRC}/config.h
@@ -31,12 +34,14 @@ post-patch:
/^all:/s|strip||' ${WRKSRC}/mk/Linux
do-install:
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} fl0p ${STAGEDIR}${PREFIX}/bin)
+ ${INSTALL_PROGRAM} ${WRKSRC}/fl0p ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} fl0p.fp ${STAGEDIR}${DATADIR})
+ ${INSTALL_DATA} ${WRKSRC}/fl0p.fp ${STAGEDIR}${DATADIR}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- (cd ${WRKSRC}/doc && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
+ ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>