diff options
author | mat <mat@FreeBSD.org> | 2004-01-05 23:30:41 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2004-01-05 23:30:41 +0800 |
commit | 34d33ebe3fac633d86108ffd7cc928f3ab558336 (patch) | |
tree | 06783d11810c7b031380a3735343647e77091400 /devel | |
parent | f46958903eb3519161dceaa8d15fc6eca1abe5f7 (diff) | |
download | freebsd-ports-gnome-34d33ebe3fac633d86108ffd7cc928f3ab558336.tar.gz freebsd-ports-gnome-34d33ebe3fac633d86108ffd7cc928f3ab558336.tar.zst freebsd-ports-gnome-34d33ebe3fac633d86108ffd7cc928f3ab558336.zip |
Add p5-Attribute-Persistent 1.0
Attribute::Persistent - Really lazy persistence.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Attribute-Persistent/Makefile | 32 | ||||
-rw-r--r-- | devel/p5-Attribute-Persistent/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Attribute-Persistent/pkg-descr | 12 | ||||
-rw-r--r-- | devel/p5-Attribute-Persistent/pkg-plist | 5 |
5 files changed, 51 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 3c430fc2c2a7..b0316455abc2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -528,6 +528,7 @@ SUBDIR += p5-AtExit SUBDIR += p5-Attribute-Handlers SUBDIR += p5-Attribute-Handlers-Prospective + SUBDIR += p5-Attribute-Persistent SUBDIR += p5-B-Deobfuscate SUBDIR += p5-B-Graph SUBDIR += p5-B-Keywords diff --git a/devel/p5-Attribute-Persistent/Makefile b/devel/p5-Attribute-Persistent/Makefile new file mode 100644 index 000000000000..b6f8cb5bf7b1 --- /dev/null +++ b/devel/p5-Attribute-Persistent/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: p5-Attribute-Persistent +# Date created: 5 Jan 2004 +# Whom: Mathieu Arnold <mat@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Attribute-Persistent +PORTVERSION= 1.0 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Attribute +PKGNAMEPREFIX= p5- + +MAINTAINER= mat@FreeBSD.org +COMMENT= Attribute::Persistent - Really lazy persistence + +BUILD_DEPENDS= ${SITE_PERL}/Attribute/Handlers/Prospective.pm:${PORTSDIR}/devel/p5-Attribute-Handlers-Prospective \ + ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ + ${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM + +PERL_CONFIGURE= yes + +MAN3= Attribute::Persistent.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500601 +IGNORE= Need perl 5.6.1, try installing lang/perl5 +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Attribute-Persistent/distinfo b/devel/p5-Attribute-Persistent/distinfo new file mode 100644 index 000000000000..72c3b32bf906 --- /dev/null +++ b/devel/p5-Attribute-Persistent/distinfo @@ -0,0 +1 @@ +MD5 (Attribute-Persistent-1.0.tar.gz) = 04253a2788a686d26cb2b428a92071b1 diff --git a/devel/p5-Attribute-Persistent/pkg-descr b/devel/p5-Attribute-Persistent/pkg-descr new file mode 100644 index 000000000000..c23c839aad6b --- /dev/null +++ b/devel/p5-Attribute-Persistent/pkg-descr @@ -0,0 +1,12 @@ +This module provides a way of abstracting away persistence of array and hash +variables. + +It's useful for quick hacks when you don't care about pulling in the right DBM +library and calling tie and so on. Its job is to reduce fuss for the lazy +programmer at the cost of flexibility. + +It uses MLDBM, so you can use complex data structures in your arrays and +hashes. It uses AnyDBM_File, so if you really care about which DBM you get, you +can modify AnyDBM_File::ISA in a BEGIN block after loading this module. + +WWW: http://search.cpan.org/dist/Attribute-Persistent/ diff --git a/devel/p5-Attribute-Persistent/pkg-plist b/devel/p5-Attribute-Persistent/pkg-plist new file mode 100644 index 000000000000..b4f7a9f9fb0e --- /dev/null +++ b/devel/p5-Attribute-Persistent/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Attribute/Persistent.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Attribute/Persistent/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Attribute/Persistent +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Attribute 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Attribute 2>/dev/null || true |