=================================================================== RCS file: /cvs/ports/games/asc/Makefile,v retrieving revision 1.3 retrieving revision 1.8 diff -u -r1.3 -r1.8 --- ports/games/asc/Makefile 2009/08/10 15:04:04 1.3 +++ ports/games/asc/Makefile 2012/08/10 14:30:45 1.8 @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.3 2009/08/10 14:04:04 yason Exp $ +# $OpenBSD: Makefile,v 1.8 2012/08/10 14:30:45 kirby Exp $ COMMENT = turn based strategy game -DISTNAME = asc-2.2.0.0 +DISTNAME = asc-2.5.0.0 CATEGORIES = games x11 HOMEPAGE = http://www.asc-hq.org/ @@ -21,25 +21,27 @@ MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=asc-hq/} EXTRACT_SUFX = .tar.bz2 -BUILD_DEPENDS = ::archivers/zip +BUILD_DEPENDS = archivers/zip -LIB_DEPENDS = SDL_image::devel/sdl-image \ - SDL_mixer::devel/sdl-mixer \ - SDL_sound::devel/sdl-sound \ - boost_regex::devel/boost \ - bz2::archivers/bzip2 \ - physfs::devel/physfs \ - sigc.>=2::devel/libsigc++ \ - xvidcore::multimedia/xvidcore +MODULES = lang/lua +LIB_DEPENDS = archivers/bzip2 \ + devel/boost \ + devel/libsigc++ \ + devel/physfs \ + devel/sdl-image \ + devel/sdl-mixer \ + devel/sdl-sound \ + multimedia/xvidcore \ + x11/wxWidgets -USE_X11 = Yes +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" -USE_LIBTOOL = Yes -USE_GMAKE = Yes +pre-configure: + @perl -pi -e 's,lua5.1,${MODLUA_DEP},g' ${WRKSRC}/configure .include