View | Details | Raw Unified | Return to bug 52330
Collapse All | Expand All

(-)Makefile (-8 / +5 lines)
Lines 18-24 Link Here
18
18
19
PERL_CONFIGURE=	yes
19
PERL_CONFIGURE=	yes
20
20
21
DOCSDIR=	${PREFIX}/share/doc/p5-DNS-Zone
21
post-patch:
22
	${FIND} ${WRKSRC} -name '*.pm' -o -name '*.t' -o -name '*.PL' | \
23
	${XARGS} ${PERL} -pi -e '$$_="" if /^use 5/;' \
24
			     -e '$$_="" if /(use|no) warnings/;'
22
25
23
post-install:
26
post-install:
24
.if !defined(NOPORTDOCS)
27
.if !defined(NOPORTDOCS)
Lines 26-35 Link Here
26
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
29
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
27
.endif
30
.endif
28
31
29
.include <bsd.port.pre.mk>
32
.include <bsd.port.mk>
30
31
.if ${PERL_LEVEL} < 500600
32
IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
33
.endif
34
35
.include <bsd.port.post.mk>
(-)pkg-descr (-1 / +2 lines)
Lines 5-9 Link Here
5
use of the module for comprehensive zone file management. Go to
5
use of the module for comprehensive zone file management. Go to
6
http://www.zonemaster.org for further information.
6
http://www.zonemaster.org for further information.
7
7
8
WWW: http://search.cpan.org/author/WOLF/
8
WWW: http://search.cpan.org/dist/DNS-Zone/
9
9
Author: Andy Wolf <zonemaster@users.sourceforge.net>
10
Author: Andy Wolf <zonemaster@users.sourceforge.net>
(-)pkg-plist (-12 / +12 lines)
Lines 1-12 Link Here
1
lib/perl5/site_perl/%%PERL_VER%%/mach/auto/DNS-Zone/.packlist
1
%%SITE_PERL%%/DNS/Zone.pm
2
lib/perl5/site_perl/%%PERL_VER%%/DNS/Zone.pm
2
%%SITE_PERL%%/DNS/Zone/File.pm
3
lib/perl5/site_perl/%%PERL_VER%%/DNS/Zone/File.pm
3
%%SITE_PERL%%/DNS/Zone/File/Default.pm
4
lib/perl5/site_perl/%%PERL_VER%%/DNS/Zone/Label.pm
4
%%SITE_PERL%%/DNS/Zone/Label.pm
5
lib/perl5/site_perl/%%PERL_VER%%/DNS/Zone/Record.pm
5
%%SITE_PERL%%/DNS/Zone/Record.pm
6
lib/perl5/site_perl/%%PERL_VER%%/DNS/Zone/File/Default.pm
6
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS-Zone/.packlist
7
%%PORTDOCS%%share/doc/p5-DNS-Zone/README
7
%%PORTDOCS%%%%DOCSDIR%%/README
8
@dirrm lib/perl5/site_perl/%%PERL_VER%%/mach/auto/DNS-Zone
8
%%PORTDOCS%%@dirrm %%DOCSDIR%%
9
@dirrm lib/perl5/site_perl/%%PERL_VER%%/DNS/Zone/File
9
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS-Zone
10
@dirrm lib/perl5/site_perl/%%PERL_VER%%/DNS/Zone
10
@dirrm %%SITE_PERL%%/DNS/Zone/File
11
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DNS 2>/dev/null || true
11
@dirrm %%SITE_PERL%%/DNS/Zone
12
%%PORTDOCS%%@dirrm share/doc/p5-DNS-Zone
12
@unexec rmdir %D/%%SITE_PERL%%/DNS 2>/dev/null || true

Return to bug 52330