summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-01-05 15:17:31 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-01-05 15:17:31 +0000
commita9c91c280d25a62fb60f52b5a60dc32bc77538b2 (patch)
treed3160c6928a4fda10cd049e5d94f1193510d3d71 /devel
parentAdd a WITHOUT_GTK1 knob (diff)
Add p5-Attribute-Handlers-Prospective 0.01
Richer semantics for attribute handlers.
Notes
Notes: svn path=/head/; revision=97352
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Attribute-Handlers-Prospective/Makefile32
-rw-r--r--devel/p5-Attribute-Handlers-Prospective/distinfo1
-rw-r--r--devel/p5-Attribute-Handlers-Prospective/pkg-descr8
-rw-r--r--devel/p5-Attribute-Handlers-Prospective/pkg-plist7
5 files changed, 49 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 220764ff97c9..3c430fc2c2a7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -527,6 +527,7 @@
SUBDIR += p5-Array-Window
SUBDIR += p5-AtExit
SUBDIR += p5-Attribute-Handlers
+ SUBDIR += p5-Attribute-Handlers-Prospective
SUBDIR += p5-B-Deobfuscate
SUBDIR += p5-B-Graph
SUBDIR += p5-B-Keywords
diff --git a/devel/p5-Attribute-Handlers-Prospective/Makefile b/devel/p5-Attribute-Handlers-Prospective/Makefile
new file mode 100644
index 000000000000..4673dd67fde8
--- /dev/null
+++ b/devel/p5-Attribute-Handlers-Prospective/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: p5-Attribute-Handlers-Prospective
+# Date created: 5 Jan 2004
+# Whom: Mathieu Arnold <mat@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Attribute-Handlers-Prospective
+PORTVERSION= 0.01
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Attribute
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mat@FreeBSD.org
+COMMENT= Richer semantics for attribute handlers
+
+BUILD_DEPENDS= ${SITE_PERL}/Filter/Simple.pm:${PORTSDIR}/textproc/p5-Filter-Simple \
+ ${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Attribute::Handlers::Prospective.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= Need perl 5.6.1, try installing lang/perl5
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Attribute-Handlers-Prospective/distinfo b/devel/p5-Attribute-Handlers-Prospective/distinfo
new file mode 100644
index 000000000000..ac7dbb8bd3c7
--- /dev/null
+++ b/devel/p5-Attribute-Handlers-Prospective/distinfo
@@ -0,0 +1 @@
+MD5 (Attribute-Handlers-Prospective-0.01.tar.gz) = d20442ca3d7f83aacbdb15f225fdf287
diff --git a/devel/p5-Attribute-Handlers-Prospective/pkg-descr b/devel/p5-Attribute-Handlers-Prospective/pkg-descr
new file mode 100644
index 000000000000..bf16202befa6
--- /dev/null
+++ b/devel/p5-Attribute-Handlers-Prospective/pkg-descr
@@ -0,0 +1,8 @@
+This module, when inherited by a package, allows that package's class to define
+attribute handler subroutines for specific attributes. Variables and
+subroutines subsequently defined in that package, or in packages derived from
+that package may be given attributes with the same names as the attribute
+handler subroutines, which will then be called in one of the compilation phases
+(i.e. in a BEGIN, CHECK, INIT, run-time, or END block).
+
+WWW: http://search.cpan.org/dist/Attribute-Handlers-Prospective/
diff --git a/devel/p5-Attribute-Handlers-Prospective/pkg-plist b/devel/p5-Attribute-Handlers-Prospective/pkg-plist
new file mode 100644
index 000000000000..a328f283ca02
--- /dev/null
+++ b/devel/p5-Attribute-Handlers-Prospective/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Attribute/Handlers/Prospective.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Attribute/Handlers/Prospective/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Attribute/Handlers/Prospective
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Attribute/Handlers 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Attribute 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Attribute/Handlers 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Attribute 2>/dev/null || true