From 654c45e001e2a56562a4c179696889d367a84367 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 2 Feb 2009 00:58:07 +0000 Subject: [PATCH] import p5-Variable-Magic Magic is Perl way of enhancing objects. This mechanism let the user add extra data to any variable and hook syntaxical operations (such as access, assignation or destruction) that can be applied to it. With this module, you can add your own magic to any variable without the pain of the C API. --- devel/p5-Variable-Magic/Makefile | 20 ++++++++++++++++++++ devel/p5-Variable-Magic/distinfo | 5 +++++ devel/p5-Variable-Magic/pkg/DESCR | 5 +++++ devel/p5-Variable-Magic/pkg/PLIST | 10 ++++++++++ 4 files changed, 40 insertions(+) create mode 100644 devel/p5-Variable-Magic/Makefile create mode 100644 devel/p5-Variable-Magic/distinfo create mode 100644 devel/p5-Variable-Magic/pkg/DESCR create mode 100644 devel/p5-Variable-Magic/pkg/PLIST diff --git a/devel/p5-Variable-Magic/Makefile b/devel/p5-Variable-Magic/Makefile new file mode 100644 index 00000000000..633182099c3 --- /dev/null +++ b/devel/p5-Variable-Magic/Makefile @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2009/02/02 00:58:07 simon Exp $ + +COMMENT = associate user-defined magic to variables from Perl +SHARED_ONLY = Yes + +MODULES = cpan +DISTNAME = Variable-Magic-0.28 +CATEGORIES = devel + +MAINTAINER = Simon Bertrang + +# Perl +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + +MAKE_ENV += TEST_POD=1 + +.include diff --git a/devel/p5-Variable-Magic/distinfo b/devel/p5-Variable-Magic/distinfo new file mode 100644 index 00000000000..ad9cf64abc7 --- /dev/null +++ b/devel/p5-Variable-Magic/distinfo @@ -0,0 +1,5 @@ +MD5 (Variable-Magic-0.28.tar.gz) = W6yeS1qvWpqUy43Ssv3nPw== +RMD160 (Variable-Magic-0.28.tar.gz) = i7JAE18vGDFvYgi2B8yweXe8aiE= +SHA1 (Variable-Magic-0.28.tar.gz) = pMAXPbIF/mwmACcoZepZeaPwzvs= +SHA256 (Variable-Magic-0.28.tar.gz) = zLf8MOFTEyJsMRIVRqbtsnqAgXhDY+YFA90NG7Tf5mw= +SIZE (Variable-Magic-0.28.tar.gz) = 34303 diff --git a/devel/p5-Variable-Magic/pkg/DESCR b/devel/p5-Variable-Magic/pkg/DESCR new file mode 100644 index 00000000000..f7d4587c2e7 --- /dev/null +++ b/devel/p5-Variable-Magic/pkg/DESCR @@ -0,0 +1,5 @@ +Magic is Perl way of enhancing objects. This mechanism let the user add +extra data to any variable and hook syntaxical operations (such as +access, assignation or destruction) that can be applied to it. With +this module, you can add your own magic to any variable without the pain +of the C API. diff --git a/devel/p5-Variable-Magic/pkg/PLIST b/devel/p5-Variable-Magic/pkg/PLIST new file mode 100644 index 00000000000..7db3d661944 --- /dev/null +++ b/devel/p5-Variable-Magic/pkg/PLIST @@ -0,0 +1,10 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2009/02/02 00:58:07 simon Exp $ +${P5ARCH}/ +${P5ARCH}/Variable/ +${P5ARCH}/Variable/Magic.pm +${P5ARCH}/auto/ +${P5ARCH}/auto/Variable/ +${P5ARCH}/auto/Variable/Magic/ +${P5ARCH}/auto/Variable/Magic/Magic.bs +${P5ARCH}/auto/Variable/Magic/Magic.so +@man man/man3p/Variable::Magic.3p