diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-05-04 00:48:22 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-05-04 00:48:22 +0000 |
commit | 88caba5c547f31f0639d90c962571ecc692b8a88 (patch) | |
tree | b7ccd7d6a659135f044bd34012be3d7c0a05900f | |
parent | bf3990a6a54ba06b831ed356d512a290e88d45b3 (diff) | |
download | ports-88caba5c547f31f0639d90c962571ecc692b8a88.tar.gz ports-88caba5c547f31f0639d90c962571ecc692b8a88.zip |
Add p5-CLASS 1.00, alias for __PACKAGE__.
PR: ports/112306
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes:
svn path=/head/; revision=191509
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-CLASS/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-CLASS/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-CLASS/pkg-descr | 9 | ||||
-rw-r--r-- | devel/p5-CLASS/pkg-plist | 4 |
5 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index ee707a74a17c..2ea5d3f03dca 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -865,6 +865,7 @@ SUBDIR += p5-Best SUBDIR += p5-Bundle-Perl6 SUBDIR += p5-C-Scan + SUBDIR += p5-CLASS SUBDIR += p5-CPAN-DistnameInfo SUBDIR += p5-CPAN-Mini SUBDIR += p5-CPAN-SQLite 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 |