Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2006 14:43:40 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/102555: [NEW PORT] devel/p5-Class-Constant: Build constant classes
Message-ID:  <20060827064340.ABB23164@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608270650.k7R6oHYj017179@freefall.freebsd.org>

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

>Number:         102555
>Category:       ports
>Synopsis:       [NEW PORT] devel/p5-Class-Constant: Build constant classes
>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:   Sun Aug 27 06:50:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
Class::Constant allows you declaratively created so-called "constant
classes". These are very much like enumerated types (as close as a
typeless language like Perl can get, at least).

The classes generated by this module are modeled closely after Java's
"typesafe enumeration" pattern, but with some added spice to make them
more useful to Perl programs.

WWW:	http://search.cpan.org/dist/Class-Constant/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Class-Constant-0.05.shar 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-Class-Constant
#	p5-Class-Constant/pkg-descr
#	p5-Class-Constant/Makefile
#	p5-Class-Constant/pkg-plist
#	p5-Class-Constant/distinfo
#
echo c - p5-Class-Constant
mkdir -p p5-Class-Constant > /dev/null 2>&1
echo x - p5-Class-Constant/pkg-descr
sed 's/^X//' >p5-Class-Constant/pkg-descr << 'END-of-p5-Class-Constant/pkg-descr'
XClass::Constant allows you declaratively created so-called "constant
Xclasses". These are very much like enumerated types (as close as a
Xtypeless language like Perl can get, at least).
X
XThe classes generated by this module are modeled closely after Java's
X"typesafe enumeration" pattern, but with some added spice to make them
Xmore useful to Perl programs.
X
XWWW:	http://search.cpan.org/dist/Class-Constant/
END-of-p5-Class-Constant/pkg-descr
echo x - p5-Class-Constant/Makefile
sed 's/^X//' >p5-Class-Constant/Makefile << 'END-of-p5-Class-Constant/Makefile'
X# New ports collection makefile for:	p5-Class-Constant
X# Date created:		2006-08-27
X# Whom:			Gea-Suan Lin <gslin@gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Class-Constant
XPORTVERSION=	0.05
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Class
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	perl@FreeBSD.org
XCOMMENT=	Build constant classes
X
XPERL_MODBUILD=	yes
X
XMAN3=		Class::Constant.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
XIGNORE=		requires Perl 5.6.0 or newer. Please install lang/perl5.8 and try again
X.endif
X
X.if ${PERL_LEVEL} < 500703
XRUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
XBUILD_DEPENDS=	${RUN_DEPENDS}
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Class-Constant/Makefile
echo x - p5-Class-Constant/pkg-plist
sed 's/^X//' >p5-Class-Constant/pkg-plist << 'END-of-p5-Class-Constant/pkg-plist'
X@comment $FreeBSD$
X%%SITE_PERL%%/Class/Constant.pm
X@dirrmtry %%SITE_PERL%%/Class
END-of-p5-Class-Constant/pkg-plist
echo x - p5-Class-Constant/distinfo
sed 's/^X//' >p5-Class-Constant/distinfo << 'END-of-p5-Class-Constant/distinfo'
XMD5 (Class-Constant-0.05.tar.gz) = 9ee5766c792dcde9b5dbeb1d2dbac6ed
XSHA256 (Class-Constant-0.05.tar.gz) = 7fabfa43ba125e1e365fbeebcddb6d09ac096f62bb0111801645482dee0dca81
XSIZE (Class-Constant-0.05.tar.gz) = 5736
END-of-p5-Class-Constant/distinfo
exit
--- p5-Class-Constant-0.05.shar ends here ---

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



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