aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Apache-Session/Makefile
blob: f6541b7ffcf592407d29285bfaa2def9a3ef358c (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
60
61
62
63
64
65
66
# New ports collection makefile for:    p5-Apache-Session
# Date created:             March 13, 2000
# Whom:                 Frank Mayhar <frank@exit.com>
#
# $FreeBSD$
#

PORTNAME=   Apache-Session
PORTVERSION=    1.60
CATEGORIES= www perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Apache
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/0//}

MAINTAINER= frank@exit.com
COMMENT=    A persistence framework for session data

BUILD_DEPENDS=
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Apache::Session.3 \
        Apache::Session::DB_File.3 \
        Apache::Session::File.3 \
        Apache::Session::Flex.3 \
        Apache::Session::Generate::MD5.3 \
        Apache::Session::Generate::ModUniqueId.3 \
        Apache::Session::Generate::ModUsertrack.3 \
        Apache::Session::Informix.3 \
        Apache::Session::Lock::File.3 \
        Apache::Session::Lock::MySQL.3 \
        Apache::Session::Lock::Null.3 \
        Apache::Session::Lock::Semaphore.3 \
        Apache::Session::Lock::Sybase.3 \
        Apache::Session::MySQL.3 \
        Apache::Session::Oracle.3 \
        Apache::Session::Postgres.3 \
        Apache::Session::Serialize::Base64.3 \
        Apache::Session::Serialize::Storable.3 \
        Apache::Session::Serialize::Sybase.3 \
        Apache::Session::Serialize::UUEncode.3 \
        Apache::Session::Store::DB_File.3 \
        Apache::Session::Store::File.3 \
        Apache::Session::Store::Informix.3 \
        Apache::Session::Store::MySQL.3 \
        Apache::Session::Store::Oracle.3 \
        Apache::Session::Store::Postgres.3 \
        Apache::Session::Store::Sybase.3 \
        Apache::Session::Sybase.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
        ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
.if ${PERL_LEVEL} < 500600
EXTRA_PATCH=    ${PATCHDIR}/5.005-Session::Generate::ModUniqueId.pm

post-patch:
    @${FIND} ${WRKSRC} -name '*.orig' -delete
.endif
.endif

.include <bsd.port.post.mk>