aboutsummaryrefslogtreecommitdiffstats
path: root/www/xaraya/Makefile
blob: f5b0d2664574087674c8f5c7d7cddd373be2a8e6 (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
# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
# $FreeBSD$

PORTNAME=   xaraya
DISTVERSION=    2.4.0-b1
CATEGORIES= www
MASTER_SITES=   SF/${PORTNAME}/Jamaica%20Core/Jamaica%20${DISTVERSION}

MAINTAINER= gahr@FreeBSD.org
COMMENT=    Framework to create fully dynamic Content Management Solutions

LICENSE=    GPLv2

OPTIONS_DEFINE= PGSQL MYSQL

USE_BZIP2=  yes
USE_PHP=    pcre xml simplexml
NO_BUILD=   yes

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPGSQL}
USE_PHP+=   pgsql
.endif

.if ${PORT_OPTIONS:MMYSQL}
USE_PHP+=   mysql
.endif

# May user to override this
XARAYADIR?= www/xaraya
PLIST_SUB+= XARAYADIR=${XARAYADIR}

do-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/${XARAYADIR}
    cd ${WRKSRC}/html && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/${XARAYADIR}

.include <bsd.port.mk>