1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/security/sinfp/Makefile

39 lines
983 B
Makefile
Raw Normal View History

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= sinfp
PORTREVISION= ${DBDATE}
MAINTAINER= sbz@FreeBSD.org
COMMENT= Full operating system stack fingerprinting suite
2014-06-15 14:48:40 +00:00
LICENSE= ART10
BUILD_DEPENDS= p5-Net-SinFP>=2.02:${PORTSDIR}/security/p5-Net-SinFP
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST= ""
PLIST_FILES= bin/${PORTNAME} \
%%DATADIR%%/${PORTNAME}.db
PLIST_DIRS= %%DATADIR%%
NO_BUILD= yes
MASTERDIR= ${.CURDIR}/../p5-Net-SinFP
DBDATE= 20110125
2014-06-15 14:48:40 +00:00
USES= shebangfix
SHEBANG_FILES= bin/${PORTNAME}.pl
post-patch:
@${REINPLACE_CMD} -e 's!$$Bin/../db/!${DATADIR}/!' ${WRKSRC}/bin/${PORTNAME}.pl
do-install:
2014-06-15 14:48:40 +00:00
${INSTALL} -d ${STAGEDIR}${DATADIR}/
${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.ifdef DBDATE
2014-06-15 14:48:40 +00:00
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}-${DBDATE}.db ${STAGEDIR}${DATADIR}/${PORTNAME}.db
.else
2014-06-15 14:48:40 +00:00
${INSTALL_DATA} ${WRKSRC}/bin/${PORTNAME}.db ${STAGEDIR}${DATADIR}/
.endif
.include "${MASTERDIR}/Makefile"