From 1a2ab78d5535158c93c4f4ebdb3872d2781fc80f Mon Sep 17 00:00:00 2001 From: marino Date: Thu, 16 Oct 2014 10:36:14 +0000 Subject: marino 12 devel ports: Remove @dirrm, tend install commands, plus The main purpose of this commit is to remove @dirrm from the pkg-plist of some of my ports in devel category. While here, also: * Unmask some commands * Use parenthesis on compound commands for multi-job support * Add a license in one case * USES=python conversion in one case * Add WWW and reformat description in one case * Respect 80-columns --- devel/gps/Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'devel/gps') diff --git a/devel/gps/Makefile b/devel/gps/Makefile index 6b085f5d358f..da4f0182d327 100644 --- a/devel/gps/Makefile +++ b/devel/gps/Makefile @@ -122,14 +122,9 @@ post-install: ${RM} -rf ${STAGEDIR}${PREFIX}/share/doc/gps/html/tutorial/_sources echo "This is the GPS GPL Edition for the FreeBSD Ports Collection." \ > ${STAGEDIR}${PREFIX}/share/gps/about.txt - @cd ${STAGEDIR}${PREFIX}; ${FIND} * -type d -empty -print | ${XARGS} ${RMDIR} - @cd ${STAGEDIR}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \ - ${SORT} >> ${TMPPLIST} - @cd ${STAGEDIR}${PREFIX}; ${FIND} * -type d | ${AWK} '/\//' | ${SORT} -r | \ - ${SED} -e '/share\/doc$$/d' -e '/share\/gps$$/d' \ - -e '/share\/gps\/plug-ins$$/d' -e '/share\/examples$$/d' \ - -e 's/^/@dirrm /g' >> ${TMPPLIST} - @echo "@unexec rmdir %D/share/gps/plug-ins 2>/dev/null || true" >> ${TMPPLIST} - @echo "@unexec rmdir %D/share/gps 2>/dev/null || true" >> ${TMPPLIST} + @(cd ${STAGEDIR}${PREFIX} ; \ + ${FIND} * -type d -empty -print | ${XARGS} ${RMDIR}) + @(cd ${STAGEDIR}${PREFIX} ; \ + ${FIND} * \( -type f -or -type l \) | ${SORT} >> ${TMPPLIST}) .include -- cgit