diff --git a/devel/Makefile b/devel/Makefile index 1cbbccdc62cf..3a87f8fe9c95 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -270,6 +270,7 @@ SUBDIR += p5-B-Graph SUBDIR += p5-BSD-Resource SUBDIR += p5-C-Scan + SUBDIR += p5-Cache-Cache SUBDIR += p5-Class-MethodMaker SUBDIR += p5-Class-Singleton SUBDIR += p5-Class-Tom diff --git a/devel/p5-Cache-Cache/Makefile b/devel/p5-Cache-Cache/Makefile new file mode 100644 index 000000000000..3df996ad7078 --- /dev/null +++ b/devel/p5-Cache-Cache/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: devel/p5-Cache-Cache +# Date created: 29 April 2001 +# Whom: Anton Berezin +# +# $FreeBSD$ +# + +PORTNAME= Cache-Cache +PORTVERSION= 0.08 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Cache +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@tobez.org + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/IPC/ShareLite.pm:${PORTSDIR}/devel/p5-IPC-ShareLite \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Cache::BaseCache.3 Cache::FileCache.3 Cache::Cache.3 \ + Cache::SizeAwareSharedMemoryCache.3 Cache::SizeAwareMemoryCache.3 \ + Cache::SharedMemoryCache.3 Cache::SizeAwareFileCache.3 \ + Cache::CacheMetaData.3 Cache::MemoryCache.3 Cache::SizeAwareCache.3 \ + Cache::Object.3 Cache::BaseCacheTester.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +.include diff --git a/devel/p5-Cache-Cache/distinfo b/devel/p5-Cache-Cache/distinfo new file mode 100644 index 000000000000..a56337405c7a --- /dev/null +++ b/devel/p5-Cache-Cache/distinfo @@ -0,0 +1 @@ +MD5 (Cache-Cache-0.08.tar.gz) = c00c775571ce78a3ab2c2b15f31b7cd0 diff --git a/devel/p5-Cache-Cache/pkg-comment b/devel/p5-Cache-Cache/pkg-comment new file mode 100644 index 000000000000..91b1c577e4b2 --- /dev/null +++ b/devel/p5-Cache-Cache/pkg-comment @@ -0,0 +1 @@ +Cache::Cache -- Perl Cache interface diff --git a/devel/p5-Cache-Cache/pkg-descr b/devel/p5-Cache-Cache/pkg-descr new file mode 100644 index 000000000000..b63de8a30c89 --- /dev/null +++ b/devel/p5-Cache-Cache/pkg-descr @@ -0,0 +1,9 @@ +The Perl Cache package provides Cache::Cache, a generic interface for +creating persistent data stores. This interface is implemented by the +Cache::MemoryCache, Cache::SharedMemoryCache, Cache::FileCache, +Cache::SizeAwareFileCache, Cache::SizeAwareMemoryCache, and +Cache::SizeAwareSharedMemoryCache classes. This work replaces +File::Cache and IPC::Cache. + +-Anton + diff --git a/devel/p5-Cache-Cache/pkg-plist b/devel/p5-Cache-Cache/pkg-plist new file mode 100644 index 000000000000..839bd643451b --- /dev/null +++ b/devel/p5-Cache-Cache/pkg-plist @@ -0,0 +1,21 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cache/Cache/.packlist +lib/perl5/site_perl/%%PERL_VER%%/Cache/BaseCache.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/BaseCacheTester.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/Cache.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/CacheBenchmark.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/CacheMetaData.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/CacheTester.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/CacheUtils.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/FileCache.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/MemoryCache.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/Object.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/SharedCacheUtils.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/SharedMemoryCache.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/SizeAwareCache.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/SizeAwareCacheTester.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/SizeAwareFileCache.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/SizeAwareMemoryCache.pm +lib/perl5/site_perl/%%PERL_VER%%/Cache/SizeAwareSharedMemoryCache.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cache/Cache +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Cache 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Cache 2>/dev/null || true