opnsense-ports/security/p5-Net-SinFP/Makefile
Franco Fichtner 9c41823666 */*: sync with upstream
Taken from: HardenedBSD
2018-06-05 10:35:24 +02:00

50 lines
1.2 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.Artistic
NOT_FOR_ARCHS= powerpc powerpc64 sparc64
NOT_FOR_ARCHS_REASON= does not support big-endian architectures
.if ${PORTNAME} == "Net-SinFP"
PKGNAMEPREFIX= p5-
BUILD_DEPENDS+= p5-Class-Gomor>=1.00:devel/p5-Class-Gomor \
p5-DBIx-SQLite-Simple>=0.33:databases/p5-DBIx-SQLite-Simple \
p5-Net-Packet>=3.00:net/p5-Net-Packet \
p5-Net-Packet-Target>=1.00: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}
.endif
.include <bsd.port.mk>