1
0
forked from ports/contrib

33 lines
804 B
Plaintext
Raw Normal View History

2006-11-20 07:26:53 +10:00
# Description: Fast, powerful, and language-neutral HTML template system.
# URL: http://www.clearsilver.net/
2007-01-20 12:21:06 +10:00
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
# Packager: James Mills, prologic at shortcircuit dot net dot au
2006-11-20 07:26:53 +10:00
#
# Depends on: python
2006-11-14 09:01:22 +10:00
name=clearsilver
2007-03-01 22:59:17 +10:00
version=0.10.4
2007-03-24 21:23:18 +10:00
release=2
2006-11-14 09:01:22 +10:00
source=(http://www.clearsilver.net/downloads/$name-$version.tar.gz \
2007-03-01 22:59:17 +10:00
$name-$version.patch)
2006-11-14 09:01:22 +10:00
build () {
2006-11-20 07:26:53 +10:00
cd $name-$version
2007-03-01 22:59:17 +10:00
patch -p1 < $SRC/$name-$version.patch
2006-11-14 09:01:22 +10:00
2006-11-20 07:26:53 +10:00
./configure \
--prefix=$PKG/usr \
--with-python=/usr/bin/python \
--disable-perl \
--disable-ruby \
--disable-java \
--disable-csharp
2006-11-14 09:01:22 +10:00
2006-11-20 07:26:53 +10:00
make && make prefix=$PKG/usr \
PYTHON_SITE=$PKG/usr/lib/python$pythonver/site-packages/ \
install
2006-11-14 09:01:22 +10:00
2006-11-20 07:26:53 +10:00
chown root:root $PKG
2006-11-14 09:01:22 +10:00
}