2013-09-20 22:55:24 +00:00
|
|
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
2006-08-21 07:46:31 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-09-30 15:36:00 +00:00
|
|
|
PORTNAME= sinfp
|
2011-03-08 07:47:30 +00:00
|
|
|
PORTREVISION= ${DBDATE}
|
|
|
|
|
2011-03-18 10:04:54 +00:00
|
|
|
MAINTAINER= sbz@FreeBSD.org
|
2011-03-08 07:47:30 +00:00
|
|
|
COMMENT= Full operating system stack fingerprinting suite
|
2006-08-21 07:46:31 +00:00
|
|
|
|
2014-06-15 14:48:40 +00:00
|
|
|
LICENSE= ART10
|
|
|
|
|
2006-09-30 15:36:00 +00:00
|
|
|
BUILD_DEPENDS= p5-Net-SinFP>=2.02:${PORTSDIR}/security/p5-Net-SinFP
|
2006-09-28 12:54:35 +00:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2006-08-21 07:46:31 +00:00
|
|
|
|
2006-09-30 15:36:00 +00:00
|
|
|
PLIST= ""
|
2011-03-08 07:47:30 +00:00
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
|
|
%%DATADIR%%/${PORTNAME}.db
|
2006-09-30 15:36:00 +00:00
|
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
NO_BUILD= yes
|
|
|
|
MASTERDIR= ${.CURDIR}/../p5-Net-SinFP
|
2011-03-22 13:11:11 +00:00
|
|
|
DBDATE= 20110125
|
2006-09-30 15:36:00 +00:00
|
|
|
|
2014-06-15 14:48:40 +00:00
|
|
|
USES= shebangfix
|
|
|
|
SHEBANG_FILES= bin/${PORTNAME}.pl
|
|
|
|
|
2006-09-30 15:36:00 +00:00
|
|
|
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}
|
2006-09-30 15:36:00 +00:00
|
|
|
.ifdef DBDATE
|
2014-06-15 14:48:40 +00:00
|
|
|
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}-${DBDATE}.db ${STAGEDIR}${DATADIR}/${PORTNAME}.db
|
2006-09-30 15:36:00 +00:00
|
|
|
.else
|
2014-06-15 14:48:40 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/bin/${PORTNAME}.db ${STAGEDIR}${DATADIR}/
|
2006-08-21 07:46:31 +00:00
|
|
|
.endif
|
|
|
|
|
2006-09-30 15:36:00 +00:00
|
|
|
.include "${MASTERDIR}/Makefile"
|