diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/openxcom/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
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}/ |