From 55fc03a35d113d83ee26008a97c751c95a4fae05 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Tue, 4 Feb 2014 11:41:33 +0000 Subject: [PATCH] - Use ONLY_FOR_ARCHS - Mark BROKEN on amd64 - Use REINPLACE_CMD instead of patch files - Add PORTSCOUT - Pass maintainership to submitter PR: ports/185856 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> --- security/p5-PGP/Makefile | 14 ++++++++++++-- security/p5-PGP/files/patch-aa | 8 -------- security/p5-PGP/files/patch-ab | 11 ----------- 3 files changed, 12 insertions(+), 21 deletions(-) delete mode 100644 security/p5-PGP/files/patch-aa delete mode 100644 security/p5-PGP/files/patch-ab diff --git a/security/p5-PGP/Makefile b/security/p5-PGP/Makefile index aa86fc70fe1c..e813c7aa285d 100644 --- a/security/p5-PGP/Makefile +++ b/security/p5-PGP/Makefile @@ -7,15 +7,25 @@ CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= 5u623l20@gmail.com COMMENT= Perl5 module to work with PGP messages BUILD_DEPENDS= pgp:${PORTSDIR}/security/pgp +PORTSCOUT= skipv:1.0 + +ONLY_FOR_ARCHS= i386 alpha amd64 sparc64 +BROKEN_amd64= dependency broken on amd64 architechture + USES= perl5 USE_PERL5= configure +post-patch: + @${REINPLACE_CMD} -e 's|WriteMakefile;|WriteMakefile( 'NAME' => "PGP::Pipe" );|' \ + ${WRKSRC}/Makefile.PL + @${REINPLACE_CMD} -e '/^=over 4/d' ${WRKSRC}/PGP/Pipe.pm + pre-configure: - @${CP} ${WRKSRC}/PGP/Pipe.pm ${WRKSRC} + @${CP} ${WRKSRC}/PGP/Pipe.pm ${WRKSRC} .include diff --git a/security/p5-PGP/files/patch-aa b/security/p5-PGP/files/patch-aa deleted file mode 100644 index cf5fad64e136..000000000000 --- a/security/p5-PGP/files/patch-aa +++ /dev/null @@ -1,8 +0,0 @@ ---- Makefile.PL.orig Sat Sep 13 19:04:08 1997 -+++ Makefile.PL Sat Sep 13 19:04:23 1997 -@@ -1,4 +1,4 @@ - - use ExtUtils::MakeMaker; - --&WriteMakefile; -+&WriteMakefile( 'NAME' => "PGP::Pipe" ); diff --git a/security/p5-PGP/files/patch-ab b/security/p5-PGP/files/patch-ab deleted file mode 100644 index f757cc70ced5..000000000000 --- a/security/p5-PGP/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- PGP/Pipe.pm.orig Tue Feb 2 11:33:48 1999 -+++ PGP/Pipe.pm Tue Feb 2 11:33:58 1999 -@@ -11,8 +11,6 @@ - - # $debug = 1; - --=over 4 -- - =head1 NAME - - PGP - perl module to work with PGP messages