Index: head/mail/p5-Email-MIME-ContentType/files/5.005_03-ContentType.pm =================================================================== --- head/mail/p5-Email-MIME-ContentType/files/5.005_03-ContentType.pm (revision 119303) +++ head/mail/p5-Email-MIME-ContentType/files/5.005_03-ContentType.pm (nonexistent) @@ -1,17 +0,0 @@ ---- ContentType.pm.orig Sun Aug 29 15:11:25 2004 -+++ ContentType.pm Sun Aug 29 15:11:51 2004 -@@ -1,11 +1,11 @@ - package Email::MIME::ContentType; --require 5.006; - use base 'Exporter'; --our @EXPORT = qw(parse_content_type); -+use vars qw(@EXPORT $VERSION); -+@EXPORT = qw(parse_content_type); - use strict; - use Carp; - use warnings; --our $VERSION = '1.0'; -+$VERSION = '1.0'; - - my $tspecials = quotemeta '()<>@,;:\\"/[]?='; - my $ct_default = 'text/plain; charset=us-ascii'; Property changes on: head/mail/p5-Email-MIME-ContentType/files/5.005_03-ContentType.pm ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/p5-Email-MIME-ContentType/files/5.005_03-Makefile.PL =================================================================== --- head/mail/p5-Email-MIME-ContentType/files/5.005_03-Makefile.PL (revision 119303) +++ head/mail/p5-Email-MIME-ContentType/files/5.005_03-Makefile.PL (nonexistent) @@ -1,7 +0,0 @@ ---- Makefile.PL.orig Wed Jan 7 18:05:03 2004 -+++ Makefile.PL Sun Aug 29 15:10:58 2004 -@@ -1,4 +1,3 @@ --use 5.006; - use ExtUtils::MakeMaker; - # See lib/ExtUtils/MakeMaker.pm for details of how to influence - # the contents of the Makefile that is written. Property changes on: head/mail/p5-Email-MIME-ContentType/files/5.005_03-Makefile.PL ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/mail/p5-Email-MIME-ContentType/Makefile =================================================================== --- head/mail/p5-Email-MIME-ContentType/Makefile (revision 119303) +++ head/mail/p5-Email-MIME-ContentType/Makefile (revision 119304) @@ -1,26 +1,31 @@ # New ports collection makefile for: p5-Email-MIME-ContentType # Date created: 2004-08-29 # Whom: Lars Thegler # # $FreeBSD$ # PORTNAME= Email-MIME-ContentType PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Email PKGNAMEPREFIX= p5- MAINTAINER= lth@FreeBSD.org COMMENT= Parse a MIME Content-Type Header PERL_CONFIGURE= yes MAN3= Email::MIME::ContentType.3 .include -.if ${PERL_LEVEL} <= 500503 -EXTRA_PATCHES= ${PATCHDIR}/5.005_03-* -.endif +post-patch: + ${PERL} -pi -e '$$_ = "" if /use 5.006;/;' \ + ${WRKSRC}/Makefile.PL + ${PERL} -pi -e '$$_ = "" if /require 5.006;/;' \ + -e '$$_ = "" if /use warnings/;' \ + -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \ + ${WRKSRC}/ContentType.pm .include Property changes on: head/mail/p5-Email-MIME-ContentType/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property