svn commit: r386849 - head/games/megaglest-data
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed May 20 09:06:44 UTC 2015
Author: amdmi3
Date: Wed May 20 09:06:43 2015
New Revision: 386849
URL: https://svnweb.freebsd.org/changeset/ports/386849
Log:
- Drop @dirrm* from plist
Approved by: portmgr blanket
Modified:
head/games/megaglest-data/Makefile
Modified: head/games/megaglest-data/Makefile
==============================================================================
--- head/games/megaglest-data/Makefile Wed May 20 09:05:41 2015 (r386848)
+++ head/games/megaglest-data/Makefile Wed May 20 09:06:43 2015 (r386849)
@@ -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
More information about the svn-ports-all
mailing list