aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-CLASS
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2007-05-04 08:48:22 +0800
committerclsung <clsung@FreeBSD.org>2007-05-04 08:48:22 +0800
commitea82e1ebe4937997b96e8ef2bf686248f24d84da (patch)
tree8ad40f3b9a53878d128de61e01f608705970776d /devel/p5-CLASS
parenta27dd17d7a227049f1dd20d20457175826838dab (diff)
downloadfreebsd-ports-gnome-ea82e1ebe4937997b96e8ef2bf686248f24d84da.tar.gz
freebsd-ports-gnome-ea82e1ebe4937997b96e8ef2bf686248f24d84da.tar.zst
freebsd-ports-gnome-ea82e1ebe4937997b96e8ef2bf686248f24d84da.zip
Add p5-CLASS 1.00, alias for __PACKAGE__.
PR: ports/112306 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'devel/p5-CLASS')
-rw-r--r--devel/p5-CLASS/Makefile22
-rw-r--r--devel/p5-CLASS/distinfo3
-rw-r--r--devel/p5-CLASS/pkg-descr9
-rw-r--r--devel/p5-CLASS/pkg-plist4
4 files changed, 38 insertions, 0 deletions
diff --git a/devel/p5-CLASS/Makefile b/devel/p5-CLASS/Makefile
new file mode 100644
index 000000000000..8ced3e50f319
--- /dev/null
+++ b/devel/p5-CLASS/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: p5-CLASS
+# Date created: 2007-05-02
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= CLASS
+PORTVERSION= 1.00
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= ../../authors/id/M/MS/MSCHWERN/
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Alias for __PACKAGE__
+
+PERL_CONFIGURE= yes
+
+MAN3= CLASS.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-CLASS/distinfo b/devel/p5-CLASS/distinfo
new file mode 100644
index 000000000000..79afe7e336d5
--- /dev/null
+++ b/devel/p5-CLASS/distinfo
@@ -0,0 +1,3 @@
+MD5 (CLASS-1.00.tar.gz) = 834b888b9c8a936b12de2c168798b618
+SHA256 (CLASS-1.00.tar.gz) = c5185620815701b3fec21314ccd8c5693e6bfd519431527da3370a8164220671
+SIZE (CLASS-1.00.tar.gz) = 3579
diff --git a/devel/p5-CLASS/pkg-descr b/devel/p5-CLASS/pkg-descr
new file mode 100644
index 000000000000..cea0fdace4fd
--- /dev/null
+++ b/devel/p5-CLASS/pkg-descr
@@ -0,0 +1,9 @@
+CLASS and $CLASS are both synonyms for __PACKAGE__. Easier to type.
+
+$CLASS has the additional benefit of working in strings.
+
+CLASS is a constant, not a subroutine call. $CLASS is a plain
+variable, it is not tied. There is no performance loss for using CLASS
+over __PACKAGE__ except the loading of the module.
+
+WWW: http://search.cpan.org/dist/CLASS/
diff --git a/devel/p5-CLASS/pkg-plist b/devel/p5-CLASS/pkg-plist
new file mode 100644
index 000000000000..d18e1addcdf5
--- /dev/null
+++ b/devel/p5-CLASS/pkg-plist
@@ -0,0 +1,4 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/CLASS/.packlist
+%%SITE_PERL%%/CLASS.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CLASS