aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2002-12-10 18:14:40 +0800
committerskv <skv@FreeBSD.org>2002-12-10 18:14:40 +0800
commitf2a59fa882b0d3cc4688f80681b97340062151ea (patch)
tree8d1c5ded6db6b5d50c50d06e0153497c2727cb61 /devel
parent9aa2c561783f26c233505ce0c648f6df1bf9ace4 (diff)
downloadfreebsd-ports-gnome-f2a59fa882b0d3cc4688f80681b97340062151ea.tar.gz
freebsd-ports-gnome-f2a59fa882b0d3cc4688f80681b97340062151ea.tar.zst
freebsd-ports-gnome-f2a59fa882b0d3cc4688f80681b97340062151ea.zip
Add p5-Class-Autouse 0.7, defer loading of one or more classes.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Class-Autouse/Makefile22
-rw-r--r--devel/p5-Class-Autouse/distinfo1
-rw-r--r--devel/p5-Class-Autouse/pkg-comment1
-rw-r--r--devel/p5-Class-Autouse/pkg-descr9
-rw-r--r--devel/p5-Class-Autouse/pkg-plist5
6 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 86293504265c..c5247034e743 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -420,6 +420,7 @@
SUBDIR += p5-Cdk
SUBDIR += p5-Class-Accessor
SUBDIR += p5-Class-ArrayObjects
+ SUBDIR += p5-Class-Autouse
SUBDIR += p5-Class-BlackHole
SUBDIR += p5-Class-Container
SUBDIR += p5-Class-Contract
diff --git a/devel/p5-Class-Autouse/Makefile b/devel/p5-Class-Autouse/Makefile
new file mode 100644
index 000000000000..bd541b836b56
--- /dev/null
+++ b/devel/p5-Class-Autouse/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: Class-Autouse
+# Date created: 10 December 2002
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-Autouse
+PORTVERSION= 0.7
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+
+PERL_CONFIGURE= yes
+
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Class::Autouse.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Class-Autouse/distinfo b/devel/p5-Class-Autouse/distinfo
new file mode 100644
index 000000000000..e2a453f95e77
--- /dev/null
+++ b/devel/p5-Class-Autouse/distinfo
@@ -0,0 +1 @@
+MD5 (Class-Autouse-0.7.tar.gz) = 19be889d941935e9904dbd709fecfa2e
diff --git a/devel/p5-Class-Autouse/pkg-comment b/devel/p5-Class-Autouse/pkg-comment
new file mode 100644
index 000000000000..c7dd4011e1a6
--- /dev/null
+++ b/devel/p5-Class-Autouse/pkg-comment
@@ -0,0 +1 @@
+Defer loading of one or more classes
diff --git a/devel/p5-Class-Autouse/pkg-descr b/devel/p5-Class-Autouse/pkg-descr
new file mode 100644
index 000000000000..e949bc5f3459
--- /dev/null
+++ b/devel/p5-Class-Autouse/pkg-descr
@@ -0,0 +1,9 @@
+Class::Autouse allows you to specify a class the will only load when a
+method of that class is called. For large classes that might not be
+used during the running of a program, such as Date::Manip, this can save
+you large amounts of memory, and decrease the script load time.
+
+WWW: http://search.cpan.org/search?dist=Class-Autouse
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/devel/p5-Class-Autouse/pkg-plist b/devel/p5-Class-Autouse/pkg-plist
new file mode 100644
index 000000000000..586cd53b9f6d
--- /dev/null
+++ b/devel/p5-Class-Autouse/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Autouse/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Class/Autouse.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Autouse
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Class 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true