aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-18 14:26:42 +0800
committeredwin <edwin@FreeBSD.org>2003-04-18 14:26:42 +0800
commit9b7c832872920615534a9f5231d9cf24a45bf7c5 (patch)
tree920684ff1bfda4129dc9ec15e22c91dbdbf49bc8 /devel
parent969bfdc1ae80e7a853267c4493f509af7c160297 (diff)
downloadfreebsd-ports-gnome-9b7c832872920615534a9f5231d9cf24a45bf7c5.tar.gz
freebsd-ports-gnome-9b7c832872920615534a9f5231d9cf24a45bf7c5.tar.zst
freebsd-ports-gnome-9b7c832872920615534a9f5231d9cf24a45bf7c5.zip
New port devel/p5-UNIVERSAL-exports
Lightweight, universal exporting of variables PR: ports/51032 Submitted by: Mathieu Arnold <m@absolight.net>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-UNIVERSAL-exports/Makefile26
-rw-r--r--devel/p5-UNIVERSAL-exports/distinfo1
-rw-r--r--devel/p5-UNIVERSAL-exports/pkg-descr5
-rw-r--r--devel/p5-UNIVERSAL-exports/pkg-plist6
5 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b27cbc3d4944..4e914741fb17 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -673,6 +673,7 @@
SUBDIR += p5-TimeDate
SUBDIR += p5-TraceFuncs
SUBDIR += p5-Tree-DAG_Node
+ SUBDIR += p5-UNIVERSAL-exports
SUBDIR += p5-VCS
SUBDIR += p5-VCS-CVS
SUBDIR += p65
diff --git a/devel/p5-UNIVERSAL-exports/Makefile b/devel/p5-UNIVERSAL-exports/Makefile
new file mode 100644
index 000000000000..6a7d7587b040
--- /dev/null
+++ b/devel/p5-UNIVERSAL-exports/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: UNIVERSAL-exports
+# Date created: 16 April 2003
+# Whom: Mathieu Arnold <m@absolight.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= UNIVERSAL-exports
+PORTVERSION= 0.03
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= UNIVERSAL
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= m@absolight.net
+COMMENT= Lightweight, universal exporting of variables
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Exporter/Lite.pm:${PORTSDIR}/devel/p5-Exporter-Lite
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= UNIVERSAL::exports.3 UNIVERSAL::require.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-UNIVERSAL-exports/distinfo b/devel/p5-UNIVERSAL-exports/distinfo
new file mode 100644
index 000000000000..4301d779e144
--- /dev/null
+++ b/devel/p5-UNIVERSAL-exports/distinfo
@@ -0,0 +1 @@
+MD5 (UNIVERSAL-exports-0.03.tar.gz) = 7672d8e740d99c3af612205e6fde8644
diff --git a/devel/p5-UNIVERSAL-exports/pkg-descr b/devel/p5-UNIVERSAL-exports/pkg-descr
new file mode 100644
index 000000000000..ed8048a3d5ac
--- /dev/null
+++ b/devel/p5-UNIVERSAL-exports/pkg-descr
@@ -0,0 +1,5 @@
+This is an alternative to Exporter intended to provide a universal,
+lightweight subset of its functionality. It uses Exporter::Lite, so look
+there for details
+
+WWW: http://search.cpan.org/author/MSCHWERN/UNIVERSAL-exports/
diff --git a/devel/p5-UNIVERSAL-exports/pkg-plist b/devel/p5-UNIVERSAL-exports/pkg-plist
new file mode 100644
index 000000000000..65f0839aa3d0
--- /dev/null
+++ b/devel/p5-UNIVERSAL-exports/pkg-plist
@@ -0,0 +1,6 @@
+lib/perl5/site_perl/%%PERL_VER%%/UNIVERSAL/exports.pm
+lib/perl5/site_perl/%%PERL_VER%%/UNIVERSAL/require.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/UNIVERSAL/exports/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/UNIVERSAL/exports
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/UNIVERSAL
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/UNIVERSAL 2>/dev/null || true