aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Cache-Cache/Makefile
blob: 81116e3009367d0308ff4ba3f5656bb3a0703664 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# New ports collection makefile for:    devel/p5-Cache-Cache
# Date created:             29 April 2001
# Whom:                 Anton Berezin <tobez@tobez.org>
#
# $FreeBSD$
#

PORTNAME=   Cache-Cache
PORTVERSION=    1.02
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Cache
PKGNAMEPREFIX=  p5-

MAINTAINER= tobez@FreeBSD.org
COMMENT=    Cache::Cache -- Perl Cache interface

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

MAN3=   Cache::BaseCache.3 \
    Cache::BaseCacheTester.3 \
    Cache::Cache.3 \
    Cache::CacheMetaData.3 \
    Cache::CacheSizer.3 \
    Cache::CacheTester.3 \
    Cache::CacheUtils.3 \
    Cache::FileBackend.3 \
    Cache::FileCache.3 \
    Cache::MemoryBackend.3 \
    Cache::MemoryCache.3 \
    Cache::NullCache.3 \
    Cache::Object.3 \
    Cache::SharedMemoryBackend.3 \
    Cache::SharedMemoryCache.3 \
    Cache::SizeAwareCache.3 \
    Cache::SizeAwareCacheTester.3 \
    Cache::SizeAwareFileCache.3 \
    Cache::SizeAwareMemoryCache.3 \
    Cache::SizeAwareSharedMemoryCache.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500800
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>