diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-05-20 09:06:43 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-05-20 09:06:43 +0000 |
commit | 84fe639ca1492923fbe08efbd72e812a0f116554 (patch) | |
tree | c3968a2e7210b921cb12072d62434256bbd28fd0 /games/megaglest-data | |
parent | 6abbe4d058604c7972b06e8a0fd4fc5ea88f09b9 (diff) | |
download | ports-84fe639ca1492923fbe08efbd72e812a0f116554.tar.gz ports-84fe639ca1492923fbe08efbd72e812a0f116554.zip |
Notes
Diffstat (limited to 'games/megaglest-data')
-rw-r--r-- | games/megaglest-data/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/games/megaglest-data/Makefile b/games/megaglest-data/Makefile index b44a5a17f5d3..eb662a9f8de6 100644 --- a/games/megaglest-data/Makefile +++ b/games/megaglest-data/Makefile @@ -25,14 +25,11 @@ pre-install: ${RM} -f ${PLIST} .for DIR in data maps scenarios techs tilesets tutorials @cd ${WRKSRC} && \ - ${FIND} ${DIR} -type d -empty | ${SORT} -r | ${SED} -e 's|^|@exec ${MKDIR} %D/%%DATADIR%%/|' -e 's|$$| > /dev/null 2>\&1|' >> ${PLIST} && \ - ${FIND} ${DIR} -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \ - ${FIND} ${DIR} -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm %%DATADIR%%/|' >> ${PLIST} + ${FIND} ${DIR} -type d -empty | ${SORT} -r | ${SED} -e 's|^|@dir %%DATADIR%%/|' >> ${PLIST} && \ + ${FIND} ${DIR} -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} .endfor @${ECHO_CMD} "share/applications/megaglest.desktop" >> ${PLIST} @${ECHO_CMD} "share/icons/megaglest.png" >> ${PLIST} - @${ECHO_CMD} "@dirrmtry share/icons" >> ${PLIST} - @${ECHO_CMD} "@dirrm %%DATADIR%%" >> ${PLIST} do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR}/glest_factions |