From 4f4bce228027523efb8f906150b4a9ffaa842327 Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Mon, 27 Jan 2003 21:08:42 +0000 Subject: Add p5-Attribute-Handlers 0.78, a perl module that provides simple definition of attribute handlers. PR: 47558 Submitted by: Erwin Lansing --- devel/Makefile | 1 + devel/p5-Attribute-Handlers/Makefile | 31 +++++++++++++++++++++++++++++++ devel/p5-Attribute-Handlers/distinfo | 1 + devel/p5-Attribute-Handlers/pkg-comment | 1 + devel/p5-Attribute-Handlers/pkg-descr | 9 +++++++++ devel/p5-Attribute-Handlers/pkg-plist | 6 ++++++ 6 files changed, 49 insertions(+) create mode 100644 devel/p5-Attribute-Handlers/Makefile create mode 100644 devel/p5-Attribute-Handlers/distinfo create mode 100644 devel/p5-Attribute-Handlers/pkg-comment create mode 100644 devel/p5-Attribute-Handlers/pkg-descr create mode 100644 devel/p5-Attribute-Handlers/pkg-plist (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index 030867fb3544..a334b70d7393 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -417,6 +417,7 @@ SUBDIR += p5-AppConfig SUBDIR += p5-AppConfig-Std SUBDIR += p5-AtExit + SUBDIR += p5-Attribute-Handlers SUBDIR += p5-B-Graph SUBDIR += p5-BSD-Resource SUBDIR += p5-BSD-stat diff --git a/devel/p5-Attribute-Handlers/Makefile b/devel/p5-Attribute-Handlers/Makefile new file mode 100644 index 000000000000..83ec00dbd2a9 --- /dev/null +++ b/devel/p5-Attribute-Handlers/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: p5-Attribute-Handlers +# Date created: January 27th 2003 +# Whom: Erwin Lansing +# +# $FreeBSD$ +# + +PORTNAME= Attribute-Handlers +PORTVERSION= 0.78 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Attribute +PKGNAMEPREFIX= p5- + +MAINTAINER= erwin@lansing.dk + +PERL_CONFIGURE= yes + +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Attribute::Handlers.3 + +.include + +## +## this port requires PERL 5.6.x or later +## +.if ${PERL_LEVEL} < 500600 +BROKEN= Port requires perl 5.6.x or later. Install lang/perl5 then try again +.endif + +.include diff --git a/devel/p5-Attribute-Handlers/distinfo b/devel/p5-Attribute-Handlers/distinfo new file mode 100644 index 000000000000..eff84de6a956 --- /dev/null +++ b/devel/p5-Attribute-Handlers/distinfo @@ -0,0 +1 @@ +MD5 (Attribute-Handlers-0.78.tar.gz) = c935f240bee1baf4b46e7d69bf2f1636 diff --git a/devel/p5-Attribute-Handlers/pkg-comment b/devel/p5-Attribute-Handlers/pkg-comment new file mode 100644 index 000000000000..4c26a6b9c26f --- /dev/null +++ b/devel/p5-Attribute-Handlers/pkg-comment @@ -0,0 +1 @@ +Attribute::Handlers - Simpler definition of attribute handlers diff --git a/devel/p5-Attribute-Handlers/pkg-descr b/devel/p5-Attribute-Handlers/pkg-descr new file mode 100644 index 000000000000..ca1ac31da295 --- /dev/null +++ b/devel/p5-Attribute-Handlers/pkg-descr @@ -0,0 +1,9 @@ +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, or END block). + +WWW: http://search.cpan.org/dist/Attribute-Handlers/ diff --git a/devel/p5-Attribute-Handlers/pkg-plist b/devel/p5-Attribute-Handlers/pkg-plist new file mode 100644 index 000000000000..9e8ab9a82d7e --- /dev/null +++ b/devel/p5-Attribute-Handlers/pkg-plist @@ -0,0 +1,6 @@ +lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Attribute/Handlers/.packlist +lib/perl5/site_perl/%%PERL_VER%%/Attribute/Handlers.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Attribute/Handlers +@dirrm lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Attribute +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/mach/auto 2>/dev/null || true +@dirrm lib/perl5/site_perl/%%PERL_VER%%/Attribute -- cgit v1.2.3