=================================================================== RCS file: /cvs/ports/games/violetland/Makefile,v retrieving revision 1.4 retrieving revision 1.6 diff -u -r1.4 -r1.6 --- ports/games/violetland/Makefile 2011/06/14 09:55:29 1.4 +++ ports/games/violetland/Makefile 2011/07/05 10:56:30 1.6 @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.4 2011/06/14 09:55:29 yason Exp $ +# $OpenBSD: Makefile,v 1.6 2011/07/05 10:56:30 yason Exp $ -COMMENT = game similar to Crimsonland +COMMENT = top view shooting game DISTNAME = violetland-v0.4.2-src PKGNAME = violetland-0.4.2 -CATEGORIES = games +CATEGORIES = games x11 HOMEPAGE = http://code.google.com/p/violetland/ @@ -29,13 +29,18 @@ 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