freebsd-ports/security/p5-Net-SinFP/Makefile
Alex Kozlov 34ae7a3272 - Remove vestiges of alpha support
Approved by: portmgr (erwin)
2015-01-15 20:00:09 +00:00

53 lines
1.3 KiB
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME?= Net-SinFP
PORTVERSION= 2.09
.ifdef DBDATE
PORTREVISION= ${DBDATE}1
.else
PORTREVISION= 1
.endif
CATEGORIES= security ipv6 perl5
MASTER_SITES= CPAN
.ifdef DBDATE
MASTER_SITES+= http://www.gomor.org/files/:DB
.endif
MASTER_SITE_SUBDIR= CPAN:GOMOR
DISTNAME= Net-SinFP-${PORTVERSION}
.ifdef DBDATE
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}-${DBDATE}.db:DB
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
.endif
MAINTAINER= sbz@FreeBSD.org
COMMENT= Full operating system stack fingerprinting suite
LICENSE= ART10
LICENSE_FILE= ${WRKSRC}/LICENSE
.if ${PORTNAME} == "Net-SinFP"
PKGNAMEPREFIX= p5-
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
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
INSTALL_TARGET= pure_install
post-patch:
@${REINPLACE_CMD} -e 's/.*EXE_FILES.*//' ${WRKSRC}/${CONFIGURE_SCRIPT}
regression-test:
@(cd ${WRKSRC} && ${PERL} ${CONFIGURE_SCRIPT} && ${MAKE} test)
.endif
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= Big endian architectures not supported yet
.include <bsd.port.mk>