diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2004-11-01 16:07:16 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2004-11-01 16:07:16 +0000 |
commit | feb2839a2e9e6a5319c4b08f0b06aa7c7c11f772 (patch) | |
tree | 9e3dcd4728ef373a22f636df69a8b2b98cf155bd /mail/p5-Qmail-Envelope | |
parent | a87f30e9d02c3a4040b8889077cbb18c5b661170 (diff) | |
download | ports-feb2839a2e9e6a5319c4b08f0b06aa7c7c11f772.tar.gz ports-feb2839a2e9e6a5319c4b08f0b06aa7c7c11f772.zip |
Notes
Diffstat (limited to 'mail/p5-Qmail-Envelope')
-rw-r--r-- | mail/p5-Qmail-Envelope/Makefile | 29 | ||||
-rw-r--r-- | mail/p5-Qmail-Envelope/distinfo | 2 | ||||
-rw-r--r-- | mail/p5-Qmail-Envelope/files/perl-5005.patch | 38 | ||||
-rw-r--r-- | mail/p5-Qmail-Envelope/pkg-descr | 4 | ||||
-rw-r--r-- | mail/p5-Qmail-Envelope/pkg-plist | 5 |
5 files changed, 78 insertions, 0 deletions
diff --git a/mail/p5-Qmail-Envelope/Makefile b/mail/p5-Qmail-Envelope/Makefile new file mode 100644 index 000000000000..9c6b411c5ab9 --- /dev/null +++ b/mail/p5-Qmail-Envelope/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: p5-Qmail-Envelope +# Date created: 1 November 2004 +# Whom: Peter Pentchev <roam@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Qmail-Envelope +PORTVERSION= 0.52 +CATEGORIES= mail perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../by-authors/id/M/MJ/MJA +PKGNAMEPREFIX= p5- + +MAINTAINER= roam@FreeBSD.org +COMMENT= Examine and modify qmail envelope strings + +PERL_CONFIGURE= yes + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Qmail::Envelope.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +EXTRA_PATCHES= ${FILESDIR}/perl-5005.patch +.endif + +.include <bsd.port.post.mk> diff --git a/mail/p5-Qmail-Envelope/distinfo b/mail/p5-Qmail-Envelope/distinfo new file mode 100644 index 000000000000..80ce107544ab --- /dev/null +++ b/mail/p5-Qmail-Envelope/distinfo @@ -0,0 +1,2 @@ +MD5 (Qmail-Envelope-0.52.tar.gz) = c37f2bc7cd8b9acf7835334b6180e1a3 +SIZE (Qmail-Envelope-0.52.tar.gz) = 3807 diff --git a/mail/p5-Qmail-Envelope/files/perl-5005.patch b/mail/p5-Qmail-Envelope/files/perl-5005.patch new file mode 100644 index 000000000000..440f27769035 --- /dev/null +++ b/mail/p5-Qmail-Envelope/files/perl-5005.patch @@ -0,0 +1,38 @@ +--- Makefile.PL.orig Mon Sep 27 21:43:08 2004 ++++ Makefile.PL Mon Sep 27 21:43:33 2004 +@@ -1,15 +1,15 @@ +-use 5.008; ++use 5.005; + use ExtUtils::MakeMaker; + # See lib/ExtUtils/MakeMaker.pm for details of how to influence + # the contents of the Makefile that is written. + +-eval { require 5.6.0 } +- or die <<'EOD'; +-### +-## I have not tested this module in versions of perl lower than 5.8.0. +-## However, 5.6.0 should be fine. +-### +-EOD ++#eval { require 5.6.0 } ++# or die <<'EOD'; ++#### ++### I have not tested this module in versions of perl lower than 5.8.0. ++### However, 5.6.0 should be fine. ++#### ++#EOD + + WriteMakefile( + 'NAME' => 'Qmail::Envelope', +--- Envelope.pm.orig Fri Apr 16 17:53:14 2004 ++++ Envelope.pm Mon Sep 27 21:51:28 2004 +@@ -1,7 +1,8 @@ + package Qmail::Envelope; + use strict; + +-our $VERSION = '0.52'; ++use vars qw/$VERSION/; ++$VERSION = '0.52'; + + + ## constructor diff --git a/mail/p5-Qmail-Envelope/pkg-descr b/mail/p5-Qmail-Envelope/pkg-descr new file mode 100644 index 000000000000..606c183f0667 --- /dev/null +++ b/mail/p5-Qmail-Envelope/pkg-descr @@ -0,0 +1,4 @@ +A Perl module for examining and modifying the strings that qmail uses +to represend a message's envelope sender and recipients. + +WWW: http://search.cpan.org/dist/Qmail-Envelope/ diff --git a/mail/p5-Qmail-Envelope/pkg-plist b/mail/p5-Qmail-Envelope/pkg-plist new file mode 100644 index 000000000000..8b891c6a1621 --- /dev/null +++ b/mail/p5-Qmail-Envelope/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Qmail/Envelope.pm +@unexec rmdir %D/%%SITE_PERL%%/Qmail || true +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Qmail/Envelope/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Qmail/Envelope +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Qmail || true |