diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-09-30 15:36:00 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-09-30 15:36:00 +0000 |
commit | 13656ce7679181f0b1b776ed95b711d9370fe971 (patch) | |
tree | aba3625b969faf5c3d2b6bd501ca2207adbb3456 /security/sinfp/Makefile | |
parent | e34dada69d0bfe8ee356ea9bff09dd06291b8a28 (diff) |
Notes
Diffstat (limited to 'security/sinfp/Makefile')
-rw-r--r-- | security/sinfp/Makefile | 51 |
1 files changed, 21 insertions, 30 deletions
diff --git a/security/sinfp/Makefile b/security/sinfp/Makefile index 494b1e2a264f..8dabac56871d 100644 --- a/security/sinfp/Makefile +++ b/security/sinfp/Makefile @@ -1,42 +1,33 @@ -# New ports collection makefile for: SinFP +# New ports collection makefile for: sinfp # Date created: 26 May 2006 # Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> # # $FreeBSD$ # -PORTNAME= Net-SinFP +PORTNAME= sinfp PORTVERSION= 2.02.1 -DISTVERSION= 2.02 -PORTREVISION= 1 -CATEGORIES= security ipv6 perl5 -MASTER_SITES= CPAN -MAINTAINER= infofarmer@FreeBSD.org -COMMENT= Full operating system stack fingerprinting suite - -BUILD_DEPENDS= p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor \ - p5-DBIx-SQLite-Simple>=0.33:${PORTSDIR}/databases/p5-DBIx-SQLite-Simple \ - p5-Net-Packet>=3.00:${PORTSDIR}/net/p5-Net-Packet \ - p5-Net-Packet-Target>=1.00:${PORTSDIR}/net/p5-Net-Packet-Target +BUILD_DEPENDS= p5-Net-SinFP>=2.02:${PORTSDIR}/security/p5-Net-SinFP RUN_DEPENDS:= ${BUILD_DEPENDS} -PERL_CONFIGURE= yes -MAN3= Net::SinFP.3 Net::SinFP::Consts.3 Net::SinFP::DB.3 Net::SinFP::DB::IpVersion.3 \ - Net::SinFP::DB::Os.3 Net::SinFP::DB::OsVersion.3 Net::SinFP::DB::OsVersionChildren.3 \ - Net::SinFP::DB::OsVersionFamily.3 Net::SinFP::DB::PatternBinary.3 \ - Net::SinFP::DB::PatternTcpFlags.3 Net::SinFP::DB::PatternTcpMss.3 \ - Net::SinFP::DB::PatternTcpOptions.3 Net::SinFP::DB::PatternTcpWindow.3 \ - Net::SinFP::DB::Signature.3 Net::SinFP::DB::SystemClass.3 Net::SinFP::DB::Vendor.3 \ - Net::SinFP::Result.3 Net::SinFP::Search.3 Net::SinFP::SinFP4.3 Net::SinFP::SinFP6.3 - -ONLY_FOR_ARCHS= i386 amd64 alpha -ONLY_FOR_ARCHS_REASON= Big endian architectures not supported yet - -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500601 -IGNORE= perl 5.6.1 or newer required. Install lang/perl5 or lang/perl5.8 and try again +PLIST= "" +PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/${PORTNAME}.db +PLIST_DIRS= %%DATADIR%% +NO_BUILD= yes +MASTERDIR= ${.CURDIR}/../p5-Net-SinFP +DBDATE= 20060923 + +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} +.ifdef DBDATE + @${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}-${DBDATE}.db ${DATADIR}/${PORTNAME}.db +.else + @${INSTALL_DATA} ${WRKSRC}/bin/${PORTNAME}.db ${DATADIR}/ .endif -.include <bsd.port.post.mk> +.include "${MASTERDIR}/Makefile" |