freebsd-ports/www/gekko/Makefile
Pav Lucistnik 10875ef0bb - Update to 0.5.9
PR:		ports/91178
Submitted by:	Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
2006-01-01 18:42:01 +00:00

36 lines
944 B
Makefile

# 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.5.9
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gekkoware
MAINTAINER= acardenas@bsd.org.pe
COMMENT= Open Source solution for your Web Content Management
NO_BUILD= yes
USE_PHP= bz2 gd mysql pcre session zlib
GEKKODIR?= www/data-dist/gekko
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>