mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
31 lines
690 B
Makefile
31 lines
690 B
Makefile
# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
|
|
PORTNAME= DNS-Config
|
|
PORTVERSION= 0.66
|
|
PORTREVISION= 1
|
|
CATEGORIES= dns perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= DNS::Config is set of perl modules for name service configurations
|
|
|
|
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>
|