freebsd-ports/dns/p5-DNS-Config/Makefile
Andrej Zverev 0c32f39711 - Convert to new Uses/perl5.mk framework
- Resolve issues with implicit lang/perl in extract and patch dependencies
- Trim Makefile header

Reviewed by:	bapt@ (exp-run)
Approved by:	bapt@ (portmrg@)
2013-07-31 06:54:09 +00:00

28 lines
649 B
Makefile

# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
# $FreeBSD$
PORTNAME= DNS-Config
PORTVERSION= 0.66
PORTREVISION= 0
CATEGORIES= dns perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= DNS::Config is set of perl modules for name service configurations
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:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>