Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 18:18:23 +0100 (CET)
From:      Erwin Lansing <erwin@lansing.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47558: New port: Attribute::Handlers - Simpler definition of attribute handlers
Message-ID:  <200301271718.h0RHIN7J084237@lemur.droso.net>

next in thread | raw e-mail | index | archive | help

>Number:         47558
>Category:       ports
>Synopsis:       New port: Attribute::Handlers - Simpler definition of attribute handlers
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 27 09:20:05 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Erwin Lansing
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
pil.dk 
>Environment:
System: FreeBSD lemur.droso.net 4.7-STABLE FreeBSD 4.7-STABLE #13: Tue Jan 7 21:26:37 CET 2003 root@panda.droso.net:/usr/obj/usr/src/sys/PANDA i386


	
>Description:

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).

>How-To-Repeat:
	
>Fix:

	

--- p5-Attribute-Handlers.sh begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Attribute-Handlers
#	p5-Attribute-Handlers/Makefile
#	p5-Attribute-Handlers/pkg-plist
#	p5-Attribute-Handlers/pkg-comment
#	p5-Attribute-Handlers/pkg-descr
#	p5-Attribute-Handlers/distinfo
#
echo c - p5-Attribute-Handlers
mkdir -p p5-Attribute-Handlers > /dev/null 2>&1
echo x - p5-Attribute-Handlers/Makefile
sed 's/^X//' >p5-Attribute-Handlers/Makefile << 'END-of-p5-Attribute-Handlers/Makefile'
X# New ports collection makefile for:    p5-Attribute-Handlers
X# Date created:				January 27th 2003
X# Whom:	      				Erwin Lansing <erwin@lansing.dk>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Attribute-Handlers
XPORTVERSION=	0.78
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Attribute
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	erwin@lansing.dk
X
XPERL_CONFIGURE=	yes
X
XMAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
XMAN3=		Attribute::Handlers.3
X
X.include <bsd.port.pre.mk>
X
X##
X## this port requires PERL 5.6.x or later
X##
X.if ${PERL_LEVEL} < 500600
XBROKEN=		Port requires perl 5.6.x or later. Install lang/perl5 then try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Attribute-Handlers/Makefile
echo x - p5-Attribute-Handlers/pkg-plist
sed 's/^X//' >p5-Attribute-Handlers/pkg-plist << 'END-of-p5-Attribute-Handlers/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/mach/auto/Attribute/Handlers/.packlist
Xlib/perl5/site_perl/%%PERL_VER%%/Attribute/Handlers.pm
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Attribute/Handlers
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Attribute
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/mach/auto 2>/dev/null || true
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/Attribute
END-of-p5-Attribute-Handlers/pkg-plist
echo x - p5-Attribute-Handlers/pkg-comment
sed 's/^X//' >p5-Attribute-Handlers/pkg-comment << 'END-of-p5-Attribute-Handlers/pkg-comment'
XAttribute::Handlers - Simpler definition of attribute handlers
END-of-p5-Attribute-Handlers/pkg-comment
echo x - p5-Attribute-Handlers/pkg-descr
sed 's/^X//' >p5-Attribute-Handlers/pkg-descr << 'END-of-p5-Attribute-Handlers/pkg-descr'
XThis module, when inherited by a package, allows that package's
Xclass to define attribute handler subroutines for specific
Xattributes. Variables and subroutines subsequently defined in
Xthat package, or in packages derived from that package may be
Xgiven attributes with the same names as the attribute handler
Xsubroutines, which will then be called in one of the
Xcompilation phases (i.e. in a BEGIN, CHECK, INIT, or END block).
X
XWWW: http://search.cpan.org/dist/Attribute-Handlers/
END-of-p5-Attribute-Handlers/pkg-descr
echo x - p5-Attribute-Handlers/distinfo
sed 's/^X//' >p5-Attribute-Handlers/distinfo << 'END-of-p5-Attribute-Handlers/distinfo'
XMD5 (Attribute-Handlers-0.78.tar.gz) = c935f240bee1baf4b46e7d69bf2f1636
END-of-p5-Attribute-Handlers/distinfo
exit
--- p5-Attribute-Handlers.sh ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301271718.h0RHIN7J084237>