Tweak dns/sleuth version 1.4.4
[dports.git] / dns / p5-DNS-Zone / Makefile
1 # Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
2 # $FreeBSD$
3
4 PORTNAME=       DNS-Zone
5 PORTVERSION=    0.85
6 PORTREVISION=   0
7 CATEGORIES=     dns perl5
8 MASTER_SITES=   CPAN
9 PKGNAMEPREFIX=  p5-
10
11 MAINTAINER=     ports@FreeBSD.org
12 COMMENT=        DNS::Zone is set of perl modules for name service zone files
13
14 USES=           perl5
15 USE_PERL5=      configure patch
16
17 post-patch:
18         ${FIND} ${WRKSRC} -name '*.pm' -o -name '*.t' -o -name '*.PL' | \
19         ${XARGS} ${PERL} -pi -e '$$_="" if /^use 5/;' \
20                              -e '$$_="" if /(use|no) warnings/;'
21
22 post-install:
23 .if !defined(NOPORTDOCS)
24         @${MKDIR} ${STAGEDIR}${DOCSDIR}
25         ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
26 .endif
27
28 .include <bsd.port.mk>