aboutsummaryrefslogtreecommitdiff
path: root/games/megaglest-data
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2011-07-22 20:50:05 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2011-07-22 20:50:05 +0000
commit3579b0dee2d6ab68a674f21f3b81c239945b5779 (patch)
tree349d988f8cdbc21eb3409aff813f32065b57fed3 /games/megaglest-data
parenta0dc8484837a513c1fe51c0f46955a4b18dfa8fc (diff)
downloadports-3579b0dee2d6ab68a674f21f3b81c239945b5779.tar.gz
ports-3579b0dee2d6ab68a674f21f3b81c239945b5779.zip
Notes
Diffstat (limited to 'games/megaglest-data')
-rw-r--r--games/megaglest-data/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/megaglest-data/Makefile b/games/megaglest-data/Makefile
index b71fb6b954b4..7fd87a84c3d3 100644
--- a/games/megaglest-data/Makefile
+++ b/games/megaglest-data/Makefile
@@ -33,6 +33,8 @@ pre-install:
.endfor
@${ECHO_CMD} "share/applications/megaglest.desktop" >> ${PLIST}
@${ECHO_CMD} "share/icons/megaglest.png" >> ${PLIST}
+ @${ECHO_CMD} "@dirrmtry share/applications" >> ${PLIST}
+ @${ECHO_CMD} "@dirrmtry share/icons" >> ${PLIST}
@${ECHO_CMD} "@dirrm %%DATADIR%%" >> ${PLIST}
.if !defined(NOPORTDOCS)
@@ -51,7 +53,9 @@ do-install:
(cd ${WRKSRC}/docs/glest_factions && ${COPYTREE_SHARE} "*" ${DOCSDIR}/glest_factions)
.endif
@${MKDIR} ${DATADIR}
+ ${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/megaglest.desktop ${PREFIX}/share/applications/
+ ${MKDIR} ${PREFIX}/share/icons
${INSTALL_DATA} ${WRKSRC}/megaglest.png ${PREFIX}/share/icons/
.for DIR in data maps scenarios techs tilesets tutorials