aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gps
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-10-16 18:36:14 +0800
committermarino <marino@FreeBSD.org>2014-10-16 18:36:14 +0800
commit1a2ab78d5535158c93c4f4ebdb3872d2781fc80f (patch)
treee4f0b9fe9e19863e2a9c9a35da5f38e6656fcadf /devel/gps
parent6920a63615459057bfaba90525f03da66d2335c0 (diff)
downloadfreebsd-ports-gnome-1a2ab78d5535158c93c4f4ebdb3872d2781fc80f.tar.gz
freebsd-ports-gnome-1a2ab78d5535158c93c4f4ebdb3872d2781fc80f.tar.zst
freebsd-ports-gnome-1a2ab78d5535158c93c4f4ebdb3872d2781fc80f.zip
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
Diffstat (limited to 'devel/gps')
-rw-r--r--devel/gps/Makefile13
1 files changed, 4 insertions, 9 deletions
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 <bsd.port.mk>