forked from ports/contrib
26 lines
810 B
Plaintext
26 lines
810 B
Plaintext
# Description: Standards compliant, nice and powerful Wiki
|
|
# URL: http://wiki.splitbrain.org/wiki:dokuwiki
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Packager: Simon Glossner, viper at hometux dot de
|
|
# Depends on: mod_php
|
|
|
|
name=dokuwiki
|
|
version=2013-05-10a
|
|
release=1
|
|
source=(http://www.splitbrain.org/_media/projects/dokuwiki/${name}-${version}.tgz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
touch data/changes.log
|
|
|
|
mkdir -p $PKG/var/www/htdocs/dokuwiki/
|
|
cp -r ./ $PKG/var/www/htdocs/dokuwiki/
|
|
|
|
chown -R www.www $PKG/var/www/htdocs/dokuwiki/data
|
|
|
|
rm -f $PKG/var/www/htdocs/dokuwiki/{COPYING,README,VERSION}
|
|
rm -f $PKG/var/www/htdocs/dokuwiki/lib/{_fla,images/admin}/README
|
|
find $PKG -path '*lang/*' ! -wholename '*/en*' -type d | xargs rm -rf
|
|
}
|