2005-11-25 02:08:33 +00:00
|
|
|
# New ports collection makefile for: www/joomla
|
|
|
|
# Date created: Sat Out 15, 2005
|
|
|
|
# Whom: Francisco Cabrita <include@npf.pt.freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= joomla
|
2006-09-01 13:22:49 +00:00
|
|
|
PORTVERSION= 1.0.11
|
2005-11-25 02:08:33 +00:00
|
|
|
CATEGORIES= www
|
2006-09-01 13:22:49 +00:00
|
|
|
MASTER_SITES= http://developer.joomla.org/sf/frs/do/downloadFile/projects.joomla/frs.joomla_1_0.1_0_11/frs6656?dl=1/:source1
|
2005-11-25 02:08:33 +00:00
|
|
|
DISTFILES= ${JOOMLA_SRC}:source1
|
|
|
|
|
|
|
|
MAINTAINER= include@npf.pt.freebsd.org
|
|
|
|
COMMENT= A dynamic web content management system (CMS)
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_MYSQL= yes
|
2006-02-11 02:35:04 +00:00
|
|
|
USE_PHP= mysql pcre xml zlib session gd pdf
|
2005-11-25 02:08:33 +00:00
|
|
|
WANT_PHP_WEB= yes
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
SUB_LIST+= JOOMLA_DIR=${JOOMLA_DIR}
|
|
|
|
PLIST_SUB+= JOOMLA_DIR=${JOOMLA_DIR}
|
|
|
|
|
|
|
|
JOOMLA_DIR?= www/${PORTNAME}
|
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
|
2006-01-28 13:00:48 +00:00
|
|
|
JOOMLA_SRC= Joomla_${PORTVERSION}-Stable-Full_Package.tar.bz2
|
2005-11-25 02:08:33 +00:00
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@${MKDIR} ${WRKSRC}
|
2006-01-28 13:00:48 +00:00
|
|
|
@${TAR} -yxf ${DISTDIR}/${DIST_SUBDIR}/${JOOMLA_SRC} -C ${WRKSRC}
|
2005-11-25 02:08:33 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/${JOOMLA_DIR}
|
|
|
|
@cd ${WRKSRC} && \
|
|
|
|
${FIND} . -type d -exec ${MKDIR} ${PREFIX}/${JOOMLA_DIR}/{} \; \
|
|
|
|
-exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${JOOMLA_DIR}/{} \;
|
|
|
|
@cd ${WRKSRC} && \
|
|
|
|
${FIND} . \! -type d -exec ${INSTALL_DATA} {} ${PREFIX}/${JOOMLA_DIR}/{} \; \
|
|
|
|
-exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${JOOMLA_DIR}/{} \;
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|