=================================================================== RCS file: /cvs/ports/games/violetland/Makefile,v retrieving revision 1.3 retrieving revision 1.7 diff -u -r1.3 -r1.7 --- ports/games/violetland/Makefile 2011/06/14 04:10:42 1.3 +++ ports/games/violetland/Makefile 2011/11/08 18:28:07 1.7 @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.3 2011/06/14 04:10:42 yason Exp $ +# $OpenBSD: Makefile,v 1.7 2011/11/08 18:28:07 yason Exp $ -COMMENT = ??? +COMMENT = top view shooting game -DISTNAME = violetland-v0.3.2-src -PKGNAME = violetland-0.3.2 +DISTNAME = violetland-v0.4.2-src +PKGNAME = violetland-0.4.2 -CATEGORIES = games +CATEGORIES = games x11 HOMEPAGE = http://code.google.com/p/violetland/ @@ -18,23 +18,27 @@ PERMIT_DISTFILES_FTP = Yes WANTLIB += GL GLU ICE SDL SDL_image SDL_mixer SDL_ttf SM X11 Xext -WANTLIB += c intl m pthread stdc++ +WANTLIB += boost_filesystem-mt boost_system-mt c intl m pthread stdc++ MASTER_SITES = http://violetland.googlecode.com/files/ EXTRACT_SUFX = .zip MODULES = devel/cmake -LIB_DEPENDS = devel/gettext \ +LIB_DEPENDS = devel/boost \ + devel/gettext \ devel/sdl-image \ devel/sdl-mixer \ devel/sdl-ttf +RUN_DEPENDS = devel/desktop-file-utils -CONFIGURE_ARGS += -DDATA_INSTALL_DIR="${PREFIX}/share/violetland" +CONFIGURE_ARGS = -DCMAKE_INSTALL_PREFIX="${PREFIX}" -SEPARATE_BUILD = concurrent - NO_REGRESS = Yes WRKDIST = ${WRKDIR}/${DISTNAME:S/-src//} + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/applications/ + ${INSTALL_DATA} ${WRKSRC}/violetland.desktop ${PREFIX}/share/applications .include