diff options
author | mat <mat@FreeBSD.org> | 2007-08-31 21:37:23 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2007-08-31 21:37:23 +0800 |
commit | 75b6e3fc793815d03bc3729793ea811554d12340 (patch) | |
tree | 153c663f7188f7ab3aa7429f49cf75bbc7880b4f /databases/p5-Class-DBI-ToSax | |
parent | 1cd56b0c47da19f85df29bb4e8117a011a1793b5 (diff) | |
download | freebsd-ports-graphics-75b6e3fc793815d03bc3729793ea811554d12340.tar.gz freebsd-ports-graphics-75b6e3fc793815d03bc3729793ea811554d12340.tar.zst freebsd-ports-graphics-75b6e3fc793815d03bc3729793ea811554d12340.zip |
Use the CPAN site macro.
Use DISTVERSION in place of DISTNAME where possible.
Remove perl 5.005 shims.
Diffstat (limited to 'databases/p5-Class-DBI-ToSax')
-rw-r--r-- | databases/p5-Class-DBI-ToSax/Makefile | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/databases/p5-Class-DBI-ToSax/Makefile b/databases/p5-Class-DBI-ToSax/Makefile index 8598ecc8f56..804f99d2743 100644 --- a/databases/p5-Class-DBI-ToSax/Makefile +++ b/databases/p5-Class-DBI-ToSax/Makefile @@ -8,8 +8,7 @@ PORTNAME= Class-DBI-ToSax PORTVERSION= 0.10 CATEGORIES= databases textproc perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= Class +MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= mat@FreeBSD.org @@ -25,15 +24,4 @@ PERL_CONFIGURE= yes MAN3= Class::DBI::ToSax.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500601 -# I really begin to hate either perl programmers or 5.005_03 ;) -post-patch: - @${PERL} -pi -e '$$_ = "" if (/use 5.006|use warnings/);' \ - -e 's/^our ([^\s;]+)/use vars qw($$1); $$1/;' \ - -e 's/\$$self->\$$col/$$&()/g;' \ - ${WRKSRC}/lib/Class/DBI/ToSax.pm ${WRKSRC}/Makefile.PL -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |