blob: 02c6982589ed95a4c0ce3922459842cd84e94381 (
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: gekko
# Date created: 2005-11-21
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#
PORTNAME= gekko
PORTVERSION= 0.6.4
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gekkoware
DIST_SUBDIR= gekkoware
MAINTAINER= acm@FreeBSD.org
COMMENT= Open Source solution for your Web Content Management
NO_BUILD= yes
USE_PHP= bz2 gd mysql pcre session zlib
GEKKODIR?= www/${PORTNAME}
PLIST_SUB= GEKKODIR=${GEKKODIR}
do-install:
${MKDIR} ${PREFIX}/${GEKKODIR}
cd ${WRKSRC}/src && \
${FIND} * -type d -exec ${MKDIR} "${PREFIX}/${GEKKODIR}/{}" \; && \
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/${GEKKODIR}/{}" \;
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${GEKKODIR}
post-install:
cd ${PREFIX}/${GEKKODIR} && \
${CHMOD} 660 dbconf.php cgdb.php && \
${CHMOD} -R 770 temp && \
${CHMOD} -R 770 data
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|