diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-07-06 13:15:19 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-07-06 13:15:19 +0000 |
commit | 972431ea46ec307ff5c65855185142fca6b0ad98 (patch) | |
tree | b1399586a3009a47b1b4ec5f6d429785146ee00a /dns/p5-DNS-Config | |
parent | 2f1942cee974440a332530dbc072fcac31b71cf0 (diff) | |
download | ports-972431ea46ec307ff5c65855185142fca6b0ad98.tar.gz ports-972431ea46ec307ff5c65855185142fca6b0ad98.zip |
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)
Notes
Notes:
svn path=/head/; revision=84316
Diffstat (limited to 'dns/p5-DNS-Config')
-rw-r--r-- | dns/p5-DNS-Config/Makefile | 14 | ||||
-rw-r--r-- | dns/p5-DNS-Config/pkg-descr | 3 | ||||
-rw-r--r-- | dns/p5-DNS-Config/pkg-plist | 34 |
3 files changed, 24 insertions, 27 deletions
diff --git a/dns/p5-DNS-Config/Makefile b/dns/p5-DNS-Config/Makefile index 4fe72aea418e..239f51bc564e 100644 --- a/dns/p5-DNS-Config/Makefile +++ b/dns/p5-DNS-Config/Makefile @@ -18,19 +18,15 @@ COMMENT= DNS::Config is set of perl modules for name service configurations PERL_CONFIGURE= yes -MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +post-patch: + ${FIND} ${WRKSRC} -name '*.pm' -o -name '*.t' -o -name '*.PL' | \ + ${XARGS} ${PERL} -pi -e '$$_="" if /^use 5/;' \ + -e '$$_="" if /(use|no) warnings/;' -DOCSDIR= ${PREFIX}/share/doc/p5-DNS-Zone post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again." -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/dns/p5-DNS-Config/pkg-descr b/dns/p5-DNS-Config/pkg-descr index e31bfeb62b2f..1478cc41d62d 100644 --- a/dns/p5-DNS-Config/pkg-descr +++ b/dns/p5-DNS-Config/pkg-descr @@ -5,5 +5,6 @@ The modules origin is the ZoneMaster project which make heavy use of the module for comprehensive zone file management. Go to http://www.zonemaster.org for further information. -WWW: http://search.cpan.org/author/WOLF/ +WWW: http://search.cpan.org/dist/DNS-Config/ + Author: Andy Wolf <zonemaster@users.sourceforge.net> diff --git a/dns/p5-DNS-Config/pkg-plist b/dns/p5-DNS-Config/pkg-plist index f9faf437dddb..b1ed00eae1f7 100644 --- a/dns/p5-DNS-Config/pkg-plist +++ b/dns/p5-DNS-Config/pkg-plist @@ -1,17 +1,17 @@ -lib/perl5/site_perl/%%PERL_VER%%/mach/auto/DNS-Config/.packlist -lib/perl5/site_perl/%%PERL_VER%%/DNS/Config.pm -lib/perl5/site_perl/%%PERL_VER%%/DNS/Config/Server.pm -lib/perl5/site_perl/%%PERL_VER%%/DNS/Config/File.pm -lib/perl5/site_perl/%%PERL_VER%%/DNS/Config/Statement.pm -lib/perl5/site_perl/%%PERL_VER%%/DNS/Config/File/Bind9.pm -lib/perl5/site_perl/%%PERL_VER%%/DNS/Config/File/Nsd.pm -lib/perl5/site_perl/%%PERL_VER%%/DNS/Config/Statement/Key.pm -lib/perl5/site_perl/%%PERL_VER%%/DNS/Config/Statement/Zone.pm -lib/perl5/site_perl/%%PERL_VER%%/DNS/Config/Statement/Options.pm -%%PORTDOCS%%share/doc/p5-DNS-Zone/README -@dirrm lib/perl5/site_perl/%%PERL_VER%%/mach/auto/DNS-Config -@dirrm lib/perl5/site_perl/%%PERL_VER%%/DNS/Config/File -@dirrm lib/perl5/site_perl/%%PERL_VER%%/DNS/Config/Statement -@dirrm lib/perl5/site_perl/%%PERL_VER%%/DNS/Config -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DNS 2>/dev/null || true -%%PORTDOCS%%@dirrm share/doc/p5-DNS-Zone +%%SITE_PERL%%/DNS/Config.pm +%%SITE_PERL%%/DNS/Config/File.pm +%%SITE_PERL%%/DNS/Config/File/Bind9.pm +%%SITE_PERL%%/DNS/Config/File/Nsd.pm +%%SITE_PERL%%/DNS/Config/Server.pm +%%SITE_PERL%%/DNS/Config/Statement.pm +%%SITE_PERL%%/DNS/Config/Statement/Key.pm +%%SITE_PERL%%/DNS/Config/Statement/Options.pm +%%SITE_PERL%%/DNS/Config/Statement/Zone.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS-Config/.packlist +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS-Config +@dirrm %%SITE_PERL%%/DNS/Config/Statement +@dirrm %%SITE_PERL%%/DNS/Config/File +@dirrm %%SITE_PERL%%/DNS/Config +@unexec rmdir %D/%%SITE_PERL%%/DNS 2>/dev/null || true |