diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-20 17:06:43 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-20 17:06:43 +0800 |
commit | 8f8c332b71f6aa50a26a55ee9ef0a20fb1ff1073 (patch) | |
tree | c3968a2e7210b921cb12072d62434256bbd28fd0 /games | |
parent | a0ee13122f0f4da26846d9f9f8e297039b37e551 (diff) | |
download | freebsd-ports-gnome-8f8c332b71f6aa50a26a55ee9ef0a20fb1ff1073.tar.gz freebsd-ports-gnome-8f8c332b71f6aa50a26a55ee9ef0a20fb1ff1073.tar.zst freebsd-ports-gnome-8f8c332b71f6aa50a26a55ee9ef0a20fb1ff1073.zip |
- Drop @dirrm* from plist
Approved by: portmgr blanket
Diffstat (limited to 'games')
-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 |