diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2003-07-06 21:15:19 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2003-07-06 21:15:19 +0800 |
commit | e0d9e142a9b2d07b3db9f3727fa1fc724d22619c (patch) | |
tree | 2069520cbdd3008463e2a6d0ec71e8d37f2ec60b /net | |
parent | fdfaa1ba0497edee5d733b22d626a1f129909f89 (diff) | |
download | freebsd-ports-gnome-e0d9e142a9b2d07b3db9f3727fa1fc724d22619c.tar.gz freebsd-ports-gnome-e0d9e142a9b2d07b3db9f3727fa1fc724d22619c.tar.zst freebsd-ports-gnome-e0d9e142a9b2d07b3db9f3727fa1fc724d22619c.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)
Diffstat (limited to 'net')
-rw-r--r-- | net/p5-DNS-Config/Makefile | 14 | ||||
-rw-r--r-- | net/p5-DNS-Config/pkg-descr | 3 | ||||
-rw-r--r-- | net/p5-DNS-Config/pkg-plist | 34 |
3 files changed, 24 insertions, 27 deletions
diff --git a/net/p5-DNS-Config/Makefile b/net/p5-DNS-Config/Makefile index 4fe72aea418e..239f51bc564e 100644 --- a/net/p5-DNS-Config/Makefile +++ b/net/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/net/p5-DNS-Config/pkg-descr b/net/p5-DNS-Config/pkg-descr index e31bfeb62b2f..1478cc41d62d 100644 --- a/net/p5-DNS-Config/pkg-descr +++ b/net/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/net/p5-DNS-Config/pkg-plist b/net/p5-DNS-Config/pkg-plist index f9faf437dddb..b1ed00eae1f7 100644 --- a/net/p5-DNS-Config/pkg-plist +++ b/net/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 |