freebsd-ports/net/p5-Net-Nmsg/Makefile
Don Lewis a08decdb40 Add LICENSE_FILE and bump PORTREVISION.
Differential Revision:	https://reviews.freebsd.org/D2247
Approved by:	mat (mentor)
Sponsored by:	Farsight Security, Inc.
2015-04-07 22:20:26 +00:00

39 lines
922 B
Makefile

# $FreeBSD$
PORTNAME= Net-Nmsg
PORTVERSION= 0.13
PORTREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= https://tools.netsa.cert.org/confluence/download/attachments/12320770/ \
CPAN
MASTER_SITE_SUBDIR= CPAN:MSISK
PKGNAMEPREFIX= p5-
MAINTAINER= truckman@FreeBSD.org
COMMENT= Net::Nmsg is a perl binding to libnmsg
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libnmsg.so:${PORTSDIR}/net/nmsg
RUN_DEPENDS= p5-Math-Int64>=0:${PORTSDIR}/math/p5-Math-Int64 \
p5-NetAddr-IP>=0:${PORTSDIR}/net-mgmt/p5-NetAddr-IP
USES= perl5
MAKE_JOBS_UNSAFE= yes
USE_PERL5= configure
OPTIONS_DEFINE= EXAMPLES
PORTEXAMPLES= *
.include <bsd.port.options.mk>
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/Nmsg/Nmsg.so
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.endif
.include <bsd.port.mk>