From 26f0fdeb63116f3dffd2e37d0db6a57303820069 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Fri, 18 Apr 2003 06:26:42 +0000 Subject: [PATCH] New port devel/p5-UNIVERSAL-exports Lightweight, universal exporting of variables PR: ports/51032 Submitted by: Mathieu Arnold --- devel/Makefile | 1 + devel/p5-UNIVERSAL-exports/Makefile | 26 ++++++++++++++++++++++++++ devel/p5-UNIVERSAL-exports/distinfo | 1 + devel/p5-UNIVERSAL-exports/pkg-descr | 5 +++++ devel/p5-UNIVERSAL-exports/pkg-plist | 6 ++++++ 5 files changed, 39 insertions(+) create mode 100644 devel/p5-UNIVERSAL-exports/Makefile create mode 100644 devel/p5-UNIVERSAL-exports/distinfo create mode 100644 devel/p5-UNIVERSAL-exports/pkg-descr create mode 100644 devel/p5-UNIVERSAL-exports/pkg-plist 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 +# +# $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 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