1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/security/p5-Net-SinFP/Makefile
Andrej Zverev 45ccac2005 - add stage support
Approved by:	portmgr (blanket infrastructure)
2014-01-30 09:08:26 +00:00

52 lines
1.3 KiB
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME?= Net-SinFP
PORTVERSION= 2.09
.ifdef DBDATE
PORTREVISION= ${DBDATE}
.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 alpha
ONLY_FOR_ARCHS_REASON= Big endian architectures not supported yet
.include <bsd.port.mk>