diff --git a/devel/p5-CLASS/Makefile b/devel/p5-CLASS/Makefile new file mode 100644 index 00000000000..b7ce053c919 --- /dev/null +++ b/devel/p5-CLASS/Makefile @@ -0,0 +1,18 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2007/08/29 13:22:15 jasper Exp $ + +COMMENT= alias for __PACKAGE__ + +DISTNAME= CLASS-1.00 +CATEGORIES= devel + +MODULES= cpan + +# perl +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +CPAN_AUTHOR= MSCHWERN + +.include diff --git a/devel/p5-CLASS/distinfo b/devel/p5-CLASS/distinfo new file mode 100644 index 00000000000..cab7d8c69cc --- /dev/null +++ b/devel/p5-CLASS/distinfo @@ -0,0 +1,5 @@ +MD5 (CLASS-1.00.tar.gz) = g0uIi5yKk2sS3iwWh5i2GA== +RMD160 (CLASS-1.00.tar.gz) = zsAClEPZNeg5CFtV3onCMFZ/Kyg= +SHA1 (CLASS-1.00.tar.gz) = Abaw/NwS4Tr3UwpFMc/RUtdXPYE= +SHA256 (CLASS-1.00.tar.gz) = xRhWIIFXAbP+whMUzNjFaT5r/VGUMVJ9ozcKgWQiBnE= +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 00000000000..0e87a62008a --- /dev/null +++ b/devel/p5-CLASS/pkg/DESCR @@ -0,0 +1,7 @@ +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. diff --git a/devel/p5-CLASS/pkg/PLIST b/devel/p5-CLASS/pkg/PLIST new file mode 100644 index 00000000000..32bcd9e208e --- /dev/null +++ b/devel/p5-CLASS/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/08/29 13:22:15 jasper Exp $ +${P5SITE}/CLASS.pm +@man man/man3p/CLASS.3p