aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-PDF-API2-XS
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-09-05 10:08:08 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-09-05 10:08:08 +0000
commitbc54f37bdeb4940022a8e0a94981e8447e2da746 (patch)
treefa77babcf1b51eb5313f41f12d29a9e66c449684 /textproc/p5-PDF-API2-XS
parentb38601ead9a64d519011d7243c4b275e83cdb90d (diff)
downloadports-bc54f37bdeb4940022a8e0a94981e8447e2da746.tar.gz
ports-bc54f37bdeb4940022a8e0a94981e8447e2da746.zip
Add p5-PDF-API2-XS 1.001
PDF::API2 will make use of this distribution, if it's installed, to speed up some operations that are significantly faster in C than in Perl. WWW: https://metacpan.org/release/PDF-API2-XS
Notes
Notes: svn path=/head/; revision=547602
Diffstat (limited to 'textproc/p5-PDF-API2-XS')
-rw-r--r--textproc/p5-PDF-API2-XS/Makefile24
-rw-r--r--textproc/p5-PDF-API2-XS/distinfo3
-rw-r--r--textproc/p5-PDF-API2-XS/pkg-descr4
-rw-r--r--textproc/p5-PDF-API2-XS/pkg-plist4
4 files changed, 35 insertions, 0 deletions
diff --git a/textproc/p5-PDF-API2-XS/Makefile b/textproc/p5-PDF-API2-XS/Makefile
new file mode 100644
index 000000000000..52b5184f33fc
--- /dev/null
+++ b/textproc/p5-PDF-API2-XS/Makefile
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= PDF-API2-XS
+PORTVERSION= 1.001
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Optional PDF::API2 add-on using XS to speed up expensive operations
+
+LICENSE= LGPL21+
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+TEST_DEPENDS= p5-PDF-API2>=0:textproc/p5-PDF-API2
+
+USES= gmake perl5
+USE_PERL5= configure
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDF/API2/XS/ImagePNG/ImagePNG.so
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-PDF-API2-XS/distinfo b/textproc/p5-PDF-API2-XS/distinfo
new file mode 100644
index 000000000000..7e23dec4acdd
--- /dev/null
+++ b/textproc/p5-PDF-API2-XS/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1598970887
+SHA256 (PDF-API2-XS-1.001.tar.gz) = 2d3ff090899f7ea348e616581508f692a664bca84ff1eb59e409c67f851a9db2
+SIZE (PDF-API2-XS-1.001.tar.gz) = 39707
diff --git a/textproc/p5-PDF-API2-XS/pkg-descr b/textproc/p5-PDF-API2-XS/pkg-descr
new file mode 100644
index 000000000000..74543152de95
--- /dev/null
+++ b/textproc/p5-PDF-API2-XS/pkg-descr
@@ -0,0 +1,4 @@
+PDF::API2 will make use of this distribution, if it's installed, to speed up
+some operations that are significantly faster in C than in Perl.
+
+WWW: https://metacpan.org/release/PDF-API2-XS
diff --git a/textproc/p5-PDF-API2-XS/pkg-plist b/textproc/p5-PDF-API2-XS/pkg-plist
new file mode 100644
index 000000000000..ac8024700066
--- /dev/null
+++ b/textproc/p5-PDF-API2-XS/pkg-plist
@@ -0,0 +1,4 @@
+%%SITE_ARCH%%/PDF/API2/XS.pm
+%%SITE_ARCH%%/PDF/API2/XS/ImagePNG.pm
+%%SITE_ARCH%%/auto/PDF/API2/XS/ImagePNG/ImagePNG.so
+%%PERL5_MAN3%%/PDF::API2::XS.3.gz