From 011076dc376476bc78b84e1ffbc1eda06ba960ec Mon Sep 17 00:00:00 2001 From: skv Date: Wed, 31 Aug 2005 11:57:23 +0000 Subject: Add p5-Readonly 1.03, facility for creating read-only scalars, arrays, hashes. --- devel/Makefile | 1 + devel/p5-Readonly/Makefile | 35 +++++++++++++++++++++++++++++++++++ devel/p5-Readonly/distinfo | 4 ++++ devel/p5-Readonly/pkg-descr | 6 ++++++ devel/p5-Readonly/pkg-plist | 8 ++++++++ 5 files changed, 54 insertions(+) create mode 100644 devel/p5-Readonly/Makefile create mode 100644 devel/p5-Readonly/distinfo create mode 100644 devel/p5-Readonly/pkg-descr create mode 100644 devel/p5-Readonly/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 5e8e0b9..f4e7a79 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/p5-Readonly/Makefile b/devel/p5-Readonly/Makefile new file mode 100644 index 0000000..47c9a83 --- /dev/null +++ b/devel/p5-Readonly/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: Readonly +# Date created: 31 August 2005 +# Whom: Sergey Skvortsov +# +# $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 + +.if ${PERL_LEVEL} < 500800 +IGNORE= Perl 5.8 or newer required. Install lang/perl5.8 and try again. +.endif + +.include diff --git a/devel/p5-Readonly/distinfo b/devel/p5-Readonly/distinfo new file mode 100644 index 0000000..22fe8ce --- /dev/null +++ b/devel/p5-Readonly/distinfo @@ -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 diff --git a/devel/p5-Readonly/pkg-descr b/devel/p5-Readonly/pkg-descr new file mode 100644 index 0000000..2eca807 --- /dev/null +++ b/devel/p5-Readonly/pkg-descr @@ -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/ diff --git a/devel/p5-Readonly/pkg-plist b/devel/p5-Readonly/pkg-plist new file mode 100644 index 0000000..591d1bc --- /dev/null +++ b/devel/p5-Readonly/pkg-plist @@ -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 -- cgit v1.1