=================================================================== RCS file: /cvs/ports/games/torcs/Makefile,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- ports/games/torcs/Makefile 2012/07/20 17:37:07 1.9 +++ ports/games/torcs/Makefile 2012/07/20 18:18:26 1.10 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2012/07/20 17:37:07 kirby Exp $ +# $OpenBSD: Makefile,v 1.10 2012/07/20 18:18:26 kirby Exp $ COMMENT = The Open Racing Car Simulator @@ -29,6 +29,7 @@ audio/openal \ graphics/freeglut \ graphics/png +RUN_DEPENDS = devel/desktop-file-utils USE_GMAKE = Yes CONFIGURE_STYLE = gnu @@ -54,5 +55,10 @@ @perl -pi -e "s,games\/,," \ ${WRKSRC}/${i} .endfor + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/applications/ + ${INSTALL_DATA} ${WRKSRC}/torcs.desktop ${PREFIX}/share/applications/ + .include