diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2013-11-06 01:23:26 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2013-11-06 01:23:26 +0000 |
commit | 086a33ec8851789f94d02f36768cc1c546377093 (patch) | |
tree | 93719f5f43d096c2696d0529bf03bc2ef5eda9f0 /print/p5-PDFLib | |
parent | 33fcdce510b5a599a892d10df8cfedca28394404 (diff) | |
download | ports-086a33ec8851789f94d02f36768cc1c546377093.tar.gz ports-086a33ec8851789f94d02f36768cc1c546377093.zip |
Support STAGEDIR.
Notes
Notes:
svn path=/head/; revision=332937
Diffstat (limited to 'print/p5-PDFLib')
-rw-r--r-- | print/p5-PDFLib/Makefile | 20 | ||||
-rw-r--r-- | print/p5-PDFLib/distinfo | 2 | ||||
-rw-r--r-- | print/p5-PDFLib/files/patch-Makefile.PL | 17 | ||||
-rw-r--r-- | print/p5-PDFLib/pkg-descr | 1 | ||||
-rw-r--r-- | print/p5-PDFLib/pkg-plist | 4 |
5 files changed, 44 insertions, 0 deletions
diff --git a/print/p5-PDFLib/Makefile b/print/p5-PDFLib/Makefile index 39c0bd55f6b5..7e4cf975edf3 100644 --- a/print/p5-PDFLib/Makefile +++ b/print/p5-PDFLib/Makefile @@ -17,6 +17,26 @@ USES= perl5 USE_PERL5= configure NO_BUILD= yes +.include <bsd.port.mk> +# Created by: ijliao +# $FreeBSD$ + +PORTNAME= PDFLib +PORTVERSION= 0.14 +CATEGORIES= print perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= More OO interface to pdflib_pl.pm + +BUILD_DEPENDS= pdflib-perl>=0:${PORTSDIR}/print/pdflib-perl +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USES= perl5 +USE_PERL5= configure +NO_BUILD= yes + MAN3= PDFLib.3 NO_STAGE= yes diff --git a/print/p5-PDFLib/distinfo b/print/p5-PDFLib/distinfo index 82b6cd19c5be..64b7e67e417a 100644 --- a/print/p5-PDFLib/distinfo +++ b/print/p5-PDFLib/distinfo @@ -1,2 +1,4 @@ SHA256 (PDFLib-0.14.tar.gz) = aa8dd769d262441c6773f356ae9e5370c1f2b48c07e87bc38f1a587576652b32 SIZE (PDFLib-0.14.tar.gz) = 27294 +SHA256 (PDFLib-0.14.tar.gz) = aa8dd769d262441c6773f356ae9e5370c1f2b48c07e87bc38f1a587576652b32 +SIZE (PDFLib-0.14.tar.gz) = 27294 diff --git a/print/p5-PDFLib/files/patch-Makefile.PL b/print/p5-PDFLib/files/patch-Makefile.PL index 4f0d1f1dca1f..e957d9a40b66 100644 --- a/print/p5-PDFLib/files/patch-Makefile.PL +++ b/print/p5-PDFLib/files/patch-Makefile.PL @@ -15,3 +15,20 @@ 'VERSION_FROM' => 'PDFLib.pm', # finds $VERSION - 'PREREQ_PM' => { pdflib_pl => 4.0 }, ); +--- Makefile.PL.orig 2001-06-04 13:38:11.000000000 +0000 ++++ Makefile.PL +@@ -6,7 +6,7 @@ eval { + require pdflib_pl; + die unless $pdflib_pl::VERSION >= 4.0; + }; +-if ($@) { ++if (0) { + die <<DEATH; + + PDFLib requires the pdflib package from http://www.pdflib.com/ version +@@ -20,5 +20,4 @@ DEATH + WriteMakefile( + 'NAME' => 'PDFLib', + 'VERSION_FROM' => 'PDFLib.pm', # finds $VERSION +- 'PREREQ_PM' => { pdflib_pl => 4.0 }, + ); diff --git a/print/p5-PDFLib/pkg-descr b/print/p5-PDFLib/pkg-descr index 069526db4817..31dda279ff51 100644 --- a/print/p5-PDFLib/pkg-descr +++ b/print/p5-PDFLib/pkg-descr @@ -1 +1,2 @@ A cleaner API than pdflib_pl.pm, which is a very low-level (non-OO) interface. +A cleaner API than pdflib_pl.pm, which is a very low-level (non-OO) interface. diff --git a/print/p5-PDFLib/pkg-plist b/print/p5-PDFLib/pkg-plist index 6c9e10ad0ec6..77e12b890ed7 100644 --- a/print/p5-PDFLib/pkg-plist +++ b/print/p5-PDFLib/pkg-plist @@ -1,3 +1,7 @@ +%%PERL5_MAN3%%/PDFLib.3.gz +%%SITE_PERL%%/PDFLib.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/PDFLib/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/PDFLib %%SITE_PERL%%/PDFLib.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PDFLib/.packlist @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PDFLib |