forked from ports/contrib
wesnorh: new port
This commit is contained in:
parent
76032ff046
commit
ab3204647f
5622
wesnoth/.footprint
Normal file
5622
wesnoth/.footprint
Normal file
File diff suppressed because it is too large
Load Diff
1
wesnoth/.md5sum
Normal file
1
wesnoth/.md5sum
Normal file
@ -0,0 +1 @@
|
||||
40e00ac97680fb69499191c30f130774 wesnoth-1.2.5.tar.bz2
|
37
wesnoth/Pkgfile
Normal file
37
wesnoth/Pkgfile
Normal file
@ -0,0 +1,37 @@
|
||||
# Description: The Battle for Wesnoth is a free, turn-based strategy game with a fantasy theme. Fight a desperate battle to reclaim the throne of Wesnoth, or take hand in any number of other adventures.
|
||||
# URL: http://www.wesnoth.org/
|
||||
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
||||
# Packager: Danny Rawlins, romster at shortcircuit dot net dot au
|
||||
# Depends on: xorg sdl_image sdl_mixer sdl_net freetype python
|
||||
|
||||
name=wesnoth
|
||||
version=1.2.5
|
||||
release=1
|
||||
source=(http://dl.sourceforge.net/sourceforge/wesnoth/wesnoth-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd wesnoth-$version
|
||||
|
||||
if pkginfo -i |grep '^kdebase '
|
||||
then
|
||||
local configure='--with-kde'
|
||||
fi
|
||||
|
||||
if pkginfo -i |grep '^gnome '
|
||||
then
|
||||
local configure='--with-gnome'
|
||||
fi
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--disable-nls \
|
||||
--enable-python \
|
||||
$configure
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
find $PKG/usr/man -maxdepth 0 -type d ! -regex 'man?' -exec rm -r {} \;
|
||||
rm $PKG/usr/share/wesnoth/data/COPYING.txt
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user