=================================================================== RCS file: /cvs/ports/games/gemrb/Attic/Makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ports/games/gemrb/Attic/Makefile 2010/12/04 18:14:35 1.5 +++ ports/games/gemrb/Attic/Makefile 2011/10/26 16:55:31 1.6 @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.5 2010/12/04 18:14:35 yason Exp $ - +# $OpenBSD: Makefile,v 1.6 2011/10/26 16:55:31 yason Exp $ +BROKEN = link error COMMENT = open-source implementation of Bioware's Infinity Engine -DISTNAME = gemrb-0.6.0 +DISTNAME = gemrb-0.6.6 SHARED_LIBS += gemrb_core 0.0 # .0.0 SHARED_LIBS += GUIScript 0.0 # .0.0 @@ -41,9 +41,9 @@ SHARED_LIBS += WEDImporter 0.0 # .0.0 SHARED_LIBS += WMPImporter 0.0 # .0.0 -CATEGORIES = games +CATEGORIES = games x11 -HOMEPAGE = http://gemrb.sourceforge.net +HOMEPAGE = http://gemrb.sourceforge.net/ #MAINTAINER = ??? @@ -58,20 +58,23 @@ WANTLIB += SDL c iconv m ogg openal png pthread sndio stdc++ WANTLIB += usbhid util vorbis vorbisfile z ${MODPY_WANTLIB} -MODULES = lang/python +MODULES = devel/cmake #lang/python LIB_DEPENDS = ${MODPY_LIB_DEPENDS} \ devel/sdl \ graphics/png \ audio/openal \ audio/libvorbis +SEPARATE_BUILD = simple USE_LIBTOOL = Yes -CONFIGURE_STYLE = gnu old -CONFIGURE_ARGS += --mandir=${PREFIX}/man \ - --sysconfdir=${SYSCONFDIR}/gemrb \ - ${CONFIGURE_SHARED} -CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include/libpng \ - LDFLAGS="-L${LOCALBASE}/lib -lutil -logg" +CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include; ${X11BASE}/include" \ + -DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib; ${X11BASE}/lib" \ + -DDISABLE_WERROR=1 + +#CONFIGURE_ENV += +#CPPFLAGS=-I${LOCALBASE}/include/libpng \ +# LDFLAGS="-L${LOCALBASE}/lib -lutil -logg" NO_REGRESS = Yes