mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
freeciv: use system lua, move settings to config directory.
This commit is contained in:
@@ -11,10 +11,11 @@ you do not need to own Civilization to play Freeciv."
|
||||
HOMEPAGE="http://www.freeciv.org"
|
||||
COPYRIGHT="1996-2016 The Freeciv Team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/project/freeciv/Freeciv%202.5/$portVersion/freeciv-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="cfadc23eec11a5a8ae74a7d3719eb126026137f0700da065367fd55cbab6999b"
|
||||
ADDITIONAL_FILES="freeciv.rdef.in"
|
||||
PATCHES="freeciv-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -38,6 +39,7 @@ REQUIRES="
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:liblua$secondaryArchSuffix
|
||||
lib:liblzma$secondaryArchSuffix
|
||||
lib:libreadline$secondaryArchSuffix
|
||||
lib:libsdl_1.2$secondaryArchSuffix
|
||||
@@ -54,6 +56,7 @@ BUILD_REQUIRES="
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:liblua$secondaryArchSuffix >= 5.2
|
||||
devel:liblzma$secondaryArchSuffix
|
||||
devel:libreadline$secondaryArchSuffix
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
@@ -79,7 +82,7 @@ BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure --datarootdir=$dataRootDir --datadir=$dataDir \
|
||||
--enable-client=sdl --enable-fcmp=no
|
||||
--enable-client=sdl --enable-fcmp=no --enable-sys-lua
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user