svn commit: r357890 - head/security/sinfp
Sofian Brabez
sbz at FreeBSD.org
Sun Jun 15 14:48:41 UTC 2014
Author: sbz
Date: Sun Jun 15 14:48:40 2014
New Revision: 357890
URL: http://svnweb.freebsd.org/changeset/ports/357890
QAT: https://qat.redports.org/buildarchive/r357890/
Log:
- Support STAGEDIR
Modified:
head/security/sinfp/Makefile
Modified: head/security/sinfp/Makefile
==============================================================================
--- head/security/sinfp/Makefile Sun Jun 15 14:34:38 2014 (r357889)
+++ head/security/sinfp/Makefile Sun Jun 15 14:48:40 2014 (r357890)
@@ -7,6 +7,8 @@ PORTREVISION= ${DBDATE}
MAINTAINER= sbz at FreeBSD.org
COMMENT= Full operating system stack fingerprinting suite
+LICENSE= ART10
+
BUILD_DEPENDS= p5-Net-SinFP>=2.02:${PORTSDIR}/security/p5-Net-SinFP
RUN_DEPENDS:= ${BUILD_DEPENDS}
@@ -18,17 +20,19 @@ NO_BUILD= yes
MASTERDIR= ${.CURDIR}/../p5-Net-SinFP
DBDATE= 20110125
-NO_STAGE= yes
+USES= shebangfix
+SHEBANG_FILES= bin/${PORTNAME}.pl
+
post-patch:
@${REINPLACE_CMD} -e 's!$$Bin/../db/!${DATADIR}/!' ${WRKSRC}/bin/${PORTNAME}.pl
do-install:
- @${INSTALL} -d ${DATADIR}/
- @${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
+ ${INSTALL} -d ${STAGEDIR}${DATADIR}/
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.ifdef DBDATE
- @${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}-${DBDATE}.db ${DATADIR}/${PORTNAME}.db
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}-${DBDATE}.db ${STAGEDIR}${DATADIR}/${PORTNAME}.db
.else
- @${INSTALL_DATA} ${WRKSRC}/bin/${PORTNAME}.db ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/bin/${PORTNAME}.db ${STAGEDIR}${DATADIR}/
.endif
.include "${MASTERDIR}/Makefile"
More information about the svn-ports-all
mailing list