1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add p5-Readonly 1.03, facility for creating read-only scalars, arrays,

hashes.
This commit is contained in:
Sergey Skvortsov 2005-08-31 11:57:23 +00:00
parent 341645c901
commit 69ef7dcc8d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141566
5 changed files with 54 additions and 0 deletions

View File

@ -1053,6 +1053,7 @@
SUBDIR += p5-Rcs-Agent
SUBDIR += p5-ReadLine-Gnu
SUBDIR += p5-ReadLine-Perl
SUBDIR += p5-Readonly
SUBDIR += p5-Regexp-Assemble
SUBDIR += p5-Regexp-Shellish
SUBDIR += p5-Religion

View File

@ -0,0 +1,35 @@
# New ports collection makefile for: Readonly
# Date created: 31 August 2005
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= Readonly
PORTVERSION= 1.03
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/R/RO/ROODE
PKGNAMEPREFIX= p5-
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}-XS-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= skv@FreeBSD.org
COMMENT= Facility for creating read-only scalars, arrays, hashes
PERL_CONFIGURE= yes
CONFIGURE_ARGS= DIR="${PORTNAME}-XS-${PORTVERSION}"
MAN3= Readonly.3 Readonly::XS.3
post-patch:
${MV} ${WRKDIR}/${PORTNAME}-XS-${PORTVERSION} ${WRKSRC}
${RM} ${WRKSRC}/*.pl
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= Perl 5.8 or newer required. Install lang/perl5.8 and try again.
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,4 @@
MD5 (Readonly-1.03.tar.gz) = 0acef3a995ac9ecf575f66a726d638f4
SIZE (Readonly-1.03.tar.gz) = 13677
MD5 (Readonly-XS-1.03.tar.gz) = 18742d473da99aa6e02261b55e008e3a
SIZE (Readonly-XS-1.03.tar.gz) = 9032

View File

@ -0,0 +1,6 @@
This is a facility for creating non-modifiable variables. This is
useful for configuration files, headers, etc. It can also be useful as
a development and debugging tool, for catching updates to variables that
should not be changed.
WWW: http://search.cpan.org/dist/Readonly/

View File

@ -0,0 +1,8 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Readonly.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Readonly/XS.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Readonly/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Readonly/XS/XS.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Readonly/XS/XS.so
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Readonly
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Readonly/XS
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Readonly