switch to lua.port.mk

This commit is contained in:
jasper 2012-05-15 18:14:01 +00:00
parent eca3ed6b04
commit 4868ff182a
2 changed files with 13 additions and 10 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.12 2011/05/12 05:43:04 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.13 2012/05/15 18:14:01 jasper Exp $
COMMENT= real-time strategy game
V= 2.6.1
DISTNAME= boswars-${V}-src
PKGNAME= boswars-${V}
REVISION= 0
CATEGORIES= games x11
HOMEPAGE= http://www.boswars.org/
@ -17,19 +18,20 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.boswars.org/dist/releases/
WANTLIB= GL X11 c m ogg pthread stdc++ z SDL>=7 lua>=5
WANTLIB= GL X11 c m ogg pthread stdc++ z SDL>=7 ${MODLUA_WANTLIB}
WANTLIB += theora>=2 vorbis>=5 png>=5
MODULES= devel/scons
MODULES= devel/scons \
lang/lua
MODSCONS_FLAGS= CPPPATH="${CPPPATH} ${LOCALBASE}/include/libpng" \
LIBS="-lm" \
opengl=1
LIB_DEPENDS= devel/sdl \
lang/lua \
multimedia/libtheora \
audio/libvorbis \
graphics/png
graphics/png \
${MODLUA_LIB_DEPENDS}
NO_REGRESS= Yes

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.3 2012/05/11 21:38:29 jasper Exp $
# $OpenBSD: Makefile,v 1.4 2012/05/15 18:14:01 jasper Exp $
COMMENT= 2D games framework for use with Lua
V= 0.8.0
DISTNAME= love-$V-linux-src
PKGNAME= love-$V
REVISION= 0
HOMEPAGE= http://love2d.org/
@ -19,11 +20,12 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://bitbucket.org/rude/love/downloads/
MODULES= converters/libiconv
MODULES= converters/libiconv \
lang/lua
WANTLIB += GL Half IL Iex IlmImf IlmThread Imath SDL X11 Xdamage
WANTLIB += Xext Xfixes Xxf86vm c drm freetype jasper jpeg lcms
WANTLIB += ltdl lua m modplug mpg123 ogg openal physfs-1.0
WANTLIB += ltdl ${MODLUA_WANTLIB} m modplug mpg123 ogg openal physfs-1.0
WANTLIB += png pthread sndio stdc++ tiff usbhid vorbis vorbisfile
WANTLIB += xcb z
@ -35,8 +37,7 @@ LIB_DEPENDS= audio/libmodplug \
devel/sdl \
graphics/DevIL \
graphics/ilmbase \
graphics/openexr \
lang/lua
graphics/openexr
USE_LIBTOOL= Yes