From b69b44459aa80494e672968920949ae90639ac26 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Tue, 16 Jul 2013 23:46:21 +0000 Subject: - Install .desktop file --- games/openxcom/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'games') diff --git a/games/openxcom/Makefile b/games/openxcom/Makefile index b315260fdd7c..4e6c7bf0ed1e 100644 --- a/games/openxcom/Makefile +++ b/games/openxcom/Makefile @@ -30,7 +30,9 @@ MAKEFILE= Makefile.simple SUB_FILES= pkg-message -PLIST_FILES= bin/openxcom +PLIST_FILES= bin/openxcom share/applications/${PORTNAME}.desktop \ + share/pixmaps/${PORTNAME}.svg +PLIST_DIRSTRY= share/applications PORTDOCS= * PORTDATA= * @@ -45,6 +47,9 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/ + ${MKDIR} ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/res/linux/openxcom.desktop ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/res/linux/icons/openxcom.svg ${PREFIX}/share/pixmaps .if !defined(NOPORTDATA) ${MKDIR} ${DATADIR} cd ${WRKSRC}/bin && ${COPYTREE_SHARE} data ${DATADIR}/ -- cgit