summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorchinsan <chinsan@FreeBSD.org>2008-08-30 14:08:12 +0000
committerchinsan <chinsan@FreeBSD.org>2008-08-30 14:08:12 +0000
commit013416fdd70effbab734855058fbaa3a167ef5ce (patch)
tree114a3573a1c748b6907a12cb9e74b427864dfbc1 /devel
parent1e530c9334f861cfa239d51a68193c63d4a6b359 (diff)
downloadFreeBSD-ports-013416fdd70effbab734855058fbaa3a167ef5ce.zip
FreeBSD-ports-013416fdd70effbab734855058fbaa3a167ef5ce.tar.gz
Add p5-Variable-Magic, associate user-defined magic to variables from Perl.
Magic is Perl way of enhancing objects. This mechanism let the user add extra data to any variable and overload 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. WWW: http://search.cpan.org/dist/Variable-Magic/
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Variable-Magic/Makefile21
-rw-r--r--devel/p5-Variable-Magic/distinfo3
-rw-r--r--devel/p5-Variable-Magic/pkg-descr7
-rw-r--r--devel/p5-Variable-Magic/pkg-plist7
5 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 78536c7..ded7052 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1826,6 +1826,7 @@
SUBDIR += p5-VCS
SUBDIR += p5-VCS-CVS
SUBDIR += p5-VCS-Lite
+ SUBDIR += p5-Variable-Magic
SUBDIR += p5-Want
SUBDIR += p5-WeakRef
SUBDIR += p5-Workflow
diff --git a/devel/p5-Variable-Magic/Makefile b/devel/p5-Variable-Magic/Makefile
new file mode 100644
index 0000000..0b3f221
--- /dev/null
+++ b/devel/p5-Variable-Magic/Makefile
@@ -0,0 +1,21 @@
+# Ports collection makefile for: p5-Variable-Magic
+# Date created: 2008/08/30
+# Whom: chinsan
+#
+# $FreeBSD$
+#
+
+PORTNAME= Variable-Magic
+PORTVERSION= 0.19
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= chinsan@FreeBSD.org
+COMMENT= Associate user-defined magic to variables from Perl
+
+PERL_CONFIGURE= yes
+
+MAN3= Variable::Magic.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Variable-Magic/distinfo b/devel/p5-Variable-Magic/distinfo
new file mode 100644
index 0000000..a6aabda
--- /dev/null
+++ b/devel/p5-Variable-Magic/distinfo
@@ -0,0 +1,3 @@
+MD5 (Variable-Magic-0.19.tar.gz) = a79a0ae590d81edf96bad796b134f60b
+SHA256 (Variable-Magic-0.19.tar.gz) = d5c84f38e38a48a40cea48f4932df28957c8f9b49c6ccb1a94ce7ace914ee64a
+SIZE (Variable-Magic-0.19.tar.gz) = 24550
diff --git a/devel/p5-Variable-Magic/pkg-descr b/devel/p5-Variable-Magic/pkg-descr
new file mode 100644
index 0000000..751478e
--- /dev/null
+++ b/devel/p5-Variable-Magic/pkg-descr
@@ -0,0 +1,7 @@
+Magic is Perl way of enhancing objects. This mechanism let the user add
+extra data to any variable and overload 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.
+
+WWW: http://search.cpan.org/dist/Variable-Magic/
diff --git a/devel/p5-Variable-Magic/pkg-plist b/devel/p5-Variable-Magic/pkg-plist
new file mode 100644
index 0000000..6821056
--- /dev/null
+++ b/devel/p5-Variable-Magic/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Variable/Magic/Magic.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Variable/Magic/Magic.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Variable/Magic/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/Variable/Magic.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Variable/Magic
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Variable
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Variable
OpenPOWER on IntegriCloud