summaryrefslogtreecommitdiffstats
path: root/www/redaxo/Makefile
blob: 05ece08ea8a208d9ead8551f4326c84740ffbd70 (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
41
42
43
44
# Created by: Marco Steinbach <coco@executive-computing.de>
# $FreeBSD$

PORTNAME=	redaxo
PORTVERSION=	4.6.1
CATEGORIES=	www
MASTER_SITES=	http://www.redaxo.org/files/
DISTNAME=	${PORTNAME}${PORTVERSION:S/./_/g}

MAINTAINER=	coco@executive-computing.de
COMMENT=	REDAXO content management system

LICENSE=	GPLv2

NO_BUILD=	yes

SUB_FILES+=	pkg-message pkg-deinstall
USE_PHP=	mysql session xml zlib
USES=		cpe zip:infozip

OPTIONS_DEFINE=	APACHE MYSQLS GD

APACHE_DESC=	Use Apache as http server
MYSQLS_DESC=	Use MySQL database server
GD_DESC=	Enable Image Manager extension (requires gd)

OPTIONS_DEFAULT=	APACHE MYSQLS GD

MYSQLS_USE=	MYSQL=server

APACHE_VARS=	WANT_PHP_MOD=yes

GD_USE=	PHP=gd

do-extract:
	@${INSTALL} -d ${WRKDIR}
	@${UNZIP_CMD} -qo ${DISTDIR}/${DISTFILES} -d ${WRKSRC}

do-install:
	cd ${WRKSRC} && \
	${FIND} . | \
	${CPIO} --quiet -pdm ${STAGEDIR}${WWWDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud