aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-PHP-Session/Makefile
blob: 0df37f21eb1df1e683d16496b3220f4a6bfba88c (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
# New ports collection makefile for:    p5-PHP-Session
# Date created:             16 April 2003
# Whom:                     Mathieu Arnold <m@absolight.net>
#
# $FreeBSD$
#

PORTNAME=   PHP-Session
PORTVERSION=    0.26
CATEGORIES= www perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= PHP
PKGNAMEPREFIX=  p5-

MAINTAINER= mat@FreeBSD.org
COMMENT=    Read / write PHP session files

BUILD_DEPENDS=  ${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-exports \
        ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       PHP::Session.3 PHP::Session::Serializer::PHP.3

.if !defined(NOPORTDOCS)
PORTDOCS=   Changes README

post-install:
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
    @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif

.include <bsd.port.mk>