mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
3887814e09
Approved and reviewed by: erwin (mentor)
33 lines
773 B
Makefile
33 lines
773 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= dns perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= DNS
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= clement@FreeBSD.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>
|