mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
fa1ac61168
PR: ports/56020 Submitted by: Kimura Fuyuki <fuyuki@nigredo.org> Approved by: portmgr
33 lines
773 B
Makefile
33 lines
773 B
Makefile
# New ports collection makefile for: p5-DNS-Zone
|
|
# Date created: 22 February 2003
|
|
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= DNS-Zone
|
|
PORTVERSION= 0.85
|
|
PORTREVISION= 0
|
|
CATEGORIES= dns perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= DNS
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sheepkiller@cultdeadsheep.org
|
|
COMMENT= DNS::Zone is set of perl modules for name service zone files
|
|
|
|
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>
|