aboutsummaryrefslogtreecommitdiffstats
path: root/www/contenido/Makefile
blob: 7bfbf43139ce7ee866a90186341823b812ebde11 (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
# New ports collection makefile for: contenido
# Date created:     25 Nov 2008
# Whom:         dirk.meyer
#
# $FreeBSD$
#

PORTNAME=   contenido
PORTVERSION=    4.8.10
CATEGORIES= www
MASTER_SITES=   http://www.contenido.org/de/upload/versionen/
DISTNAME=   Contenido_${PORTVERSION}

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    Web Content Management System

USE_ZIP=    YES
.if !defined(WITHOUT_PHP_DEPENDS)
USE_PHP=    mysql pcre session gd xml spl
.endif
NO_BUILD=   YES
WRKSRC=     ${WRKDIR}

FIX_ME= contenido/logs/ contenido/cronjobs/ contenido/temp/ \
    contenido/includes/ contenido/cache/ \
    cms/cache/ cms/css/ cms/js/ cms/logs/ cms/templates/ \
    cms/upload/ cms/config.php

.include <bsd.port.pre.mk>

do-install:
    -${MKDIR} ${WWWDIR}/contenido/cache ${WWWDIR}/cms/cache
    ${CP} -Rp ${WRKSRC}/* ${WWWDIR}/
.for i in ${FIXME}
    ${CHOWN} -R www ${WWWDIR}/${i}
.endfor

.include <bsd.port.post.mk>