=================================================================== RCS file: /cvs/ports/games/asc/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.6 diff -u -r1.1.1.1 -r1.6 --- ports/games/asc/Makefile 2009/02/25 14:04:17 1.1.1.1 +++ ports/games/asc/Makefile 2010/10/26 05:40:15 1.6 @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2009/02/25 14:04:17 yason Exp $ +# $OpenBSD: Makefile,v 1.6 2010/10/26 04:40:15 yason Exp $ -COMMENT = turn based strategy game +COMMENT = turn based strategy game -DISTNAME = asc-2.2.0.0 -CATEGORIES = games x11 +DISTNAME = asc-2.4.0.0 +CATEGORIES = games x11 -HOMEPAGE = http://www.asc-hq.org/ +HOMEPAGE = http://www.asc-hq.org/ # GPL PERMIT_PACKAGE_CDROM= Yes @@ -13,31 +13,31 @@ PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB = FLAC SDL X11 Xext Xau Xdmcp Xrandr Xrender c expat \ - freetype iconv jpeg m mikmod ogg png pthread smpeg \ - sndio speex stdc++ tiff usbhid vorbis vorbisenc \ - vorbisfile z +WANTLIB = FLAC SDL X11 Xext Xau Xdmcp Xrandr Xrender c \ + expat freetype iconv jpeg m mikmod ogg png \ + pthread pthread-stubs smpeg sndio speex stdc++ \ + tiff usbhid vorbis vorbisenc vorbisfile xcb z -MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=asc-hq/} -EXTRACT_SUFX = .tar.bz2 +MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=asc-hq/} +EXTRACT_SUFX = .tar.bz2 -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-1.2::devel/libsigc++ -# xvidcore +BUILD_DEPENDS = ::archivers/zip -USE_X11 = Yes +LIB_DEPENDS = SDL_image::devel/sdl-image \ + SDL_mixer::devel/sdl-mixer \ + SDL_sound::devel/sdl-sound \ + boost_regex::devel/boost \ + bz2::archivers/bzip2 \ + lua::lang/lua \ + physfs::devel/physfs \ + sigc.>=2:libsigc++->=1,<2:devel/libsigc++ \ + xvidcore::multimedia/xvidcore +USE_GMAKE = Yes + CONFIGURE_STYLE = gnu -CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib -lm -lz -lstdc++" \ +CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib -lm -lz -lstdc++ -pthread" \ CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \ - -USE_LIBTOOL= Yes -USE_GMAKE= Yes .include