1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/www/gekko/Makefile
Jose Alonso Cardenas Marquez 9604f20cf6 - Update to 0.7
- Move pkg-message to ${FILESDIR}
- Remove pkg-plist from www/gekko-modules. Now the port generates automatically
  it
- Add GLOSSARY option to www/gekko-modules

Approved by:	garga (mentor,implicit)
2006-09-04 22:36:00 +00:00

39 lines
978 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.7
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}
SUB_FILES= pkg-message
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>