1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/dns/p5-DNS-Zone/Makefile
Sunpoet Po-Chuan Hsieh 0a848e3960 - Add LICENSE
- Convert to new options framework
- Pass maintainership to submitter
- While I'm here, simplify Makefile

PR:		ports/189506
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
2014-05-25 12:36:32 +00:00

31 lines
679 B
Makefile

# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
# $FreeBSD$
PORTNAME= DNS-Zone
PORTVERSION= 0.85
CATEGORIES= dns perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= 5u623l20@gmail.com
COMMENT= DNS::Zone is set of perl modules for name service zone files
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
OPTIONS_DEFINE= DOCS
USES= perl5
USE_PERL5= configure patch
post-patch:
${FIND} ${WRKSRC} -name '*.pm' -o -name '*.t' -o -name '*.PL' | \
${XARGS} ${PERL} -pi -e '$$_="" if /^use 5/;' \
-e '$$_="" if /(use|no) warnings/;'
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>