From 4868ff182a50b565bdca91d824690d5b33da2009 Mon Sep 17 00:00:00 2001 From: jasper Date: Tue, 15 May 2012 18:14:01 +0000 Subject: [PATCH] switch to lua.port.mk --- games/boswars/Makefile | 12 +++++++----- games/love/Makefile | 11 ++++++----- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/games/boswars/Makefile b/games/boswars/Makefile index b857826f5f4..63b6698427f 100644 --- a/games/boswars/Makefile +++ b/games/boswars/Makefile @@ -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 diff --git a/games/love/Makefile b/games/love/Makefile index 860a684d865..cbe06fcfbe7 100644 --- a/games/love/Makefile +++ b/games/love/Makefile @@ -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