aboutsummaryrefslogtreecommitdiffstats
path: root/security/fl0p
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-03-04 00:28:40 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-03-04 00:28:40 +0800
commit2b0b99b62d48ffe852d36de456a95654a8124256 (patch)
tree7807fbeac5d159614ba433d4c3b69f41dd01d331 /security/fl0p
parent2fa1fca7b4e4cdbc3128ae6cd0095a20ef53430e (diff)
downloadfreebsd-ports-gnome-2b0b99b62d48ffe852d36de456a95654a8124256.tar.gz
freebsd-ports-gnome-2b0b99b62d48ffe852d36de456a95654a8124256.tar.zst
freebsd-ports-gnome-2b0b99b62d48ffe852d36de456a95654a8124256.zip
- Add LICENSE_FILE
- Switch to USES=tar - Switch to options helpers
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>