freebsd-ports/dns/p5-DNS-Config/Makefile
Jun Kuriyama 972431ea46 Make this port working on old perls.
Submitted by:	Mathieu Arnold <m@absolight.net>
PR:		ports/52329
Approved by:	Clement Laforet <sheepkiller@cultdeadsheep.org> (maintainer)
2003-07-06 13:15:19 +00:00

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>