summaryrefslogtreecommitdiff
path: root/www/zikula/Makefile
blob: 312e83ce7e8c7b0fa11583778665b4a919790252 (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
# Created by: Amir Husaini <amir.husaini@bsdit.com>
# $FreeBSD$

PORTNAME=	zikula
PORTVERSION=	1.3.5
CATEGORIES=	www
MASTER_SITES=	http://www.bsdit.com/pub/ \
		http://zikula.at/
DISTNAME=	Zikula_Core-${PORTVERSION}.build20

MAINTAINER=	amir.husaini@bsdit.com
COMMENT=	MVC web application framework (PHP/MySQL)

WRKSRC=		${WRKDIR}/Zikula_Core-${PORTVERSION}
USE_ZIP=	yes
NO_BUILD=	yes
USE_MYSQL=	yes
USE_PHP=	ctype tokenizer pdo mysql filter mbstring session json pdo_mysql hash
WANT_PHP_WEB=	yes
IGNORE_WITH_PHP=4 52
IGNORE_WITH_MYSQL=	41 50

SUB_FILES=	pkg-message

do-install:
	@${MKDIR} ${WWWDIR}
		@cd ${WRKSRC} && \
		${FIND} . -type d -exec ${MKDIR} ${WWWDIR}/{} \; \
		-exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;
	@cd ${WRKSRC} && \
		${FIND} . \! -type d -exec ${INSTALL_DATA} {} ${WWWDIR}/{} \; \
		-exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>