=================================================================== RCS file: /cvs/ports/games/asc/Makefile,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ports/games/asc/Makefile 2011/03/04 12:30:43 1.7 +++ ports/games/asc/Makefile 2012/08/10 14:30:45 1.8 @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.7 2011/03/04 12:30:43 yason Exp $ +# $OpenBSD: Makefile,v 1.8 2012/08/10 14:30:45 kirby Exp $ COMMENT = turn based strategy game -DISTNAME = asc-2.4.0.0 +DISTNAME = asc-2.5.0.0 CATEGORIES = games x11 HOMEPAGE = http://www.asc-hq.org/ @@ -23,21 +23,25 @@ BUILD_DEPENDS = archivers/zip +MODULES = lang/lua LIB_DEPENDS = archivers/bzip2 \ devel/boost \ - sigc.>=2:libsigc++->=1,<2:devel/libsigc++ \ + devel/libsigc++ \ devel/physfs \ devel/sdl-image \ devel/sdl-mixer \ devel/sdl-sound \ - lang/lua \ - multimedia/xvidcore + multimedia/xvidcore \ + x11/wxWidgets USE_GMAKE = Yes CONFIGURE_STYLE = gnu -CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib -lm -lz -lstdc++ -pthread" \ - CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \ +CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib -lm -lz -lstdc++ -pthread" +# CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" + +pre-configure: + @perl -pi -e 's,lua5.1,${MODLUA_DEP},g' ${WRKSRC}/configure .include