=================================================================== RCS file: /cvs/ports/games/violetland/Makefile,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ports/games/violetland/Makefile 2011/06/14 09:55:29 1.4 +++ ports/games/violetland/Makefile 2011/06/26 19:11:14 1.5 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2011/06/14 09:55:29 yason Exp $ +# $OpenBSD: Makefile,v 1.5 2011/06/26 19:11:14 yason Exp $ COMMENT = game similar to Crimsonland @@ -29,6 +29,7 @@ devel/sdl-image \ devel/sdl-mixer \ devel/sdl-ttf +RUN_DEPENDS = devel/desktop-file-utils CONFIGURE_ARGS += -DDATA_INSTALL_DIR="${PREFIX}/share/violetland" @@ -37,5 +38,9 @@ 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