aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Cache-Cache
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-06-05 01:43:38 +0800
committererwin <erwin@FreeBSD.org>2003-06-05 01:43:38 +0800
commit37c97db70bb8a4a164b29fe6b2858467cc2d69f0 (patch)
treefbb5abef750db8528f4c3744584d7d03dd417836 /devel/p5-Cache-Cache
parentadad99394ac67e3c8036cd035370dfa792ca6aa0 (diff)
downloadfreebsd-ports-gnome-37c97db70bb8a4a164b29fe6b2858467cc2d69f0.tar.gz
freebsd-ports-gnome-37c97db70bb8a4a164b29fe6b2858467cc2d69f0.tar.zst
freebsd-ports-gnome-37c97db70bb8a4a164b29fe6b2858467cc2d69f0.zip
- Update to 1.02 [1]
- add RUN_DEPENDS to the dependencies dependend on PERL_LEVEL PR: 51801 [1] Submitted by: Mathieu Arnold <m@absolight.net> Approved by: maintainer, edwin (mentor)
Diffstat (limited to 'devel/p5-Cache-Cache')
-rw-r--r--devel/p5-Cache-Cache/Makefile19
-rw-r--r--devel/p5-Cache-Cache/distinfo2
-rw-r--r--devel/p5-Cache-Cache/pkg-plist48
3 files changed, 37 insertions, 32 deletions
diff --git a/devel/p5-Cache-Cache/Makefile b/devel/p5-Cache-Cache/Makefile
index dab0288dccf8..81116e300936 100644
--- a/devel/p5-Cache-Cache/Makefile
+++ b/devel/p5-Cache-Cache/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Cache-Cache
-PORTVERSION= 1.01
+PORTVERSION= 1.02
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Cache
@@ -15,9 +15,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Cache::Cache -- Perl Cache interface
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/IPC/ShareLite.pm:${PORTSDIR}/devel/p5-IPC-ShareLite \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Error.pm:${PORTSDIR}/lang/p5-Error \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/IPC/ShareLite.pm:${PORTSDIR}/devel/p5-IPC-ShareLite \
+ ${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -42,13 +42,18 @@ MAN3= Cache::BaseCache.3 \
Cache::SizeAwareFileCache.3 \
Cache::SizeAwareMemoryCache.3 \
Cache::SizeAwareSharedMemoryCache.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
-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}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+.endif
+.if ${PERL_LEVEL} <= 500600
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
.endif
.include <bsd.port.post.mk>
diff --git a/devel/p5-Cache-Cache/distinfo b/devel/p5-Cache-Cache/distinfo
index d02fc4497d30..1027c05911d2 100644
--- a/devel/p5-Cache-Cache/distinfo
+++ b/devel/p5-Cache-Cache/distinfo
@@ -1 +1 @@
-MD5 (Cache-Cache-1.01.tar.gz) = 7f0c7f9132c72bdba9dd9a76041358df
+MD5 (Cache-Cache-1.02.tar.gz) = 9dfff47f2317a59a15546a972b2a67ba
diff --git a/devel/p5-Cache-Cache/pkg-plist b/devel/p5-Cache-Cache/pkg-plist
index 93211a38c90c..64482339086d 100644
--- a/devel/p5-Cache-Cache/pkg-plist
+++ b/devel/p5-Cache-Cache/pkg-plist
@@ -1,24 +1,24 @@
-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/CacheMetaData.pm
-lib/perl5/site_perl/%%PERL_VER%%/Cache/CacheSizer.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/FileBackend.pm
-lib/perl5/site_perl/%%PERL_VER%%/Cache/FileCache.pm
-lib/perl5/site_perl/%%PERL_VER%%/Cache/MemoryBackend.pm
-lib/perl5/site_perl/%%PERL_VER%%/Cache/MemoryCache.pm
-lib/perl5/site_perl/%%PERL_VER%%/Cache/NullCache.pm
-lib/perl5/site_perl/%%PERL_VER%%/Cache/Object.pm
-lib/perl5/site_perl/%%PERL_VER%%/Cache/SharedMemoryBackend.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
+%%SITE_PERL%%/Cache/BaseCache.pm
+%%SITE_PERL%%/Cache/BaseCacheTester.pm
+%%SITE_PERL%%/Cache/Cache.pm
+%%SITE_PERL%%/Cache/CacheMetaData.pm
+%%SITE_PERL%%/Cache/CacheSizer.pm
+%%SITE_PERL%%/Cache/CacheTester.pm
+%%SITE_PERL%%/Cache/CacheUtils.pm
+%%SITE_PERL%%/Cache/FileBackend.pm
+%%SITE_PERL%%/Cache/FileCache.pm
+%%SITE_PERL%%/Cache/MemoryBackend.pm
+%%SITE_PERL%%/Cache/MemoryCache.pm
+%%SITE_PERL%%/Cache/NullCache.pm
+%%SITE_PERL%%/Cache/Object.pm
+%%SITE_PERL%%/Cache/SharedMemoryBackend.pm
+%%SITE_PERL%%/Cache/SharedMemoryCache.pm
+%%SITE_PERL%%/Cache/SizeAwareCache.pm
+%%SITE_PERL%%/Cache/SizeAwareCacheTester.pm
+%%SITE_PERL%%/Cache/SizeAwareFileCache.pm
+%%SITE_PERL%%/Cache/SizeAwareMemoryCache.pm
+%%SITE_PERL%%/Cache/SizeAwareSharedMemoryCache.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache/Cache/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache/Cache
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cache 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Cache 2>/dev/null || true