summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-10-29 08:43:43 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-10-29 08:43:43 +0000
commitb1fd6448274fcc50972d3f1ffd0c7d11d7830ee1 (patch)
treec3061103c65685dd9cc65ffc91a1335c7454920d
parentdevel/android-tools-simpleperf: update to 7.1.0.r4 (diff)
- Add p5-Importer 0.024
Importer acts as a layer between Exporter and modules which consume exports. It is feature-compatible with Exporter, plus some much needed extras. You can use this to import symbols from any exporter that follows Exporters specification. The exporter modules themselves do not need to use or inherit from the Exporter module, they just need to set @EXPORT and/or other variables. WWW: http://search.cpan.org/dist/Importer/
Notes
Notes: svn path=/head/; revision=424895
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Importer/Makefile21
-rw-r--r--devel/p5-Importer/distinfo3
-rw-r--r--devel/p5-Importer/pkg-descr7
-rw-r--r--devel/p5-Importer/pkg-plist2
5 files changed, 34 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 76cc7f2eebde..f9afefaae36c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2549,6 +2549,7 @@
SUBDIR += p5-IPC-System-Simple
SUBDIR += p5-Import-Base
SUBDIR += p5-Import-Into
+ SUBDIR += p5-Importer
SUBDIR += p5-Inline
SUBDIR += p5-Inline-ASM
SUBDIR += p5-Inline-C
diff --git a/devel/p5-Importer/Makefile b/devel/p5-Importer/Makefile
new file mode 100644
index 000000000000..49f5cd9ff2e2
--- /dev/null
+++ b/devel/p5-Importer/Makefile
@@ -0,0 +1,21 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Importer
+PORTVERSION= 0.024
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:EXODIST
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Alternative but compatible interface to modules that export symbols
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_PERL5= configure
+USES= perl5
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Importer/distinfo b/devel/p5-Importer/distinfo
new file mode 100644
index 000000000000..6ddfbb952381
--- /dev/null
+++ b/devel/p5-Importer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1477666859
+SHA256 (Importer-0.024.tar.gz) = 1d19760ceb366b664985ace9a7ee1b54a438b1e060a5bca6eff0c6a35b07a557
+SIZE (Importer-0.024.tar.gz) = 41264
diff --git a/devel/p5-Importer/pkg-descr b/devel/p5-Importer/pkg-descr
new file mode 100644
index 000000000000..4b7c907d6033
--- /dev/null
+++ b/devel/p5-Importer/pkg-descr
@@ -0,0 +1,7 @@
+Importer acts as a layer between Exporter and modules which consume exports. It
+is feature-compatible with Exporter, plus some much needed extras. You can use
+this to import symbols from any exporter that follows Exporters specification.
+The exporter modules themselves do not need to use or inherit from the Exporter
+module, they just need to set @EXPORT and/or other variables.
+
+WWW: http://search.cpan.org/dist/Importer/
diff --git a/devel/p5-Importer/pkg-plist b/devel/p5-Importer/pkg-plist
new file mode 100644
index 000000000000..f4f24fb8e92c
--- /dev/null
+++ b/devel/p5-Importer/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Importer.pm
+%%PERL5_MAN3%%/Importer.3.gz