# $Id: Portfile 53929 2009-07-16 18:12:13Z jmr@macports.org $

PortSystem      1.0

name		tiki
version		1.6.1
categories	www
platforms       darwin
maintainers     ish.com.au:ari
description	php based wiki with lots of extra features
long_description	\
	TikiWiki is an open source web application which provides a 	\
	full Wiki environment as well as Articles, Sections, User/Group \
	Management (including optinal LDAP interaction), Polls and 	\
	Quizzes, File and Image Galleries, Forums, Comments on many 	\
	areas, Weblogs, and much more.
homepage        http://tikiwiki.sourceforge.net/
set sourcepath  tikiwiki
master_sites    sourceforge:${sourcepath}
use_zip         yes
distname	${name}161
checksums       md5 696a8384bba8d139b2824d44e7072f35
worksrcdir      tiki
depends_lib     bin:httpd:apache
use_configure	no
build		{}
destroot	{ 
	file mkdir -p ${destroot}${prefix}/www
	file copy ${workpath}/${name} 	\
		${destroot}${prefix}/www/${name}-${version}
	system "cd ${destroot}${prefix}/www/${name}-${version} && sudo sh ./setup.sh www www && chown -R www:www *"
}
                 
