972431ea46
Submitted by: Mathieu Arnold <m@absolight.net> PR: ports/52329 Approved by: Clement Laforet <sheepkiller@cultdeadsheep.org> (maintainer)
32 lines
783 B
Makefile
32 lines
783 B
Makefile
# New ports collection makefile for: p5-DNS-Config
|
|
# Date created: 22 February 2003
|
|
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= DNS-Config
|
|
PORTVERSION= 0.66
|
|
PORTREVISION= 0
|
|
CATEGORIES= net perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= DNS
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sheepkiller@cultdeadsheep.org
|
|
COMMENT= DNS::Config is set of perl modules for name service configurations
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
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>
|