summaryrefslogtreecommitdiffstats
path: root/www/xaraya/Makefile
blob: 0c9f89c5a34c9931a0f2079b19fd8af7417bf410 (plain)
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
# 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=	ports@FreeBSD.org
COMMENT=	Framework to create fully dynamic Content Management Solutions

LICENSE=	GPLv2

OPTIONS_DEFINE=	PGSQL MYSQL

USES=		cpe tar:bzip2
CPE_VERSION=	${DISTVERSION:C/-.*//}
CPE_UPDATE=	${DISTVERSION:C/[^-]*((-.*)?)/\1/:C/-//}
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>
OpenPOWER on IntegriCloud