summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/cvsweb/Makefile3
-rw-r--r--devel/cvsweb3/Makefile4
-rw-r--r--devel/py-reverse/Makefile2
3 files changed, 3 insertions, 6 deletions
diff --git a/devel/cvsweb/Makefile b/devel/cvsweb/Makefile
index ae355ef65933..dcbdcf136495 100644
--- a/devel/cvsweb/Makefile
+++ b/devel/cvsweb/Makefile
@@ -81,8 +81,7 @@ do-install:
post-install:
.if defined(PACKAGE_BUILDING)
- ${ECHO_CMD} "@dirrmtry ${CGIDIR}" >> ${TMPPLIST}
- ${ECHO_CMD} "@dirrmtry ${ICONSDIR}" >> ${TMPPLIST}
+ ${ECHO_CMD} "@unexec rmdir %D/${CGIDIR} %D/${ICONSDIR} 2>/dev/null || true" >> ${TMPPLIST}
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/devel/cvsweb3/Makefile b/devel/cvsweb3/Makefile
index a09b0a32f144..045388802df3 100644
--- a/devel/cvsweb3/Makefile
+++ b/devel/cvsweb3/Makefile
@@ -120,9 +120,7 @@ do-install:
post-install:
.if defined(PACKAGE_BUILDING)
- ${ECHO_CMD} "@dirrmtry ${CGIDIR}" >> ${TMPPLIST}
- ${ECHO_CMD} "@dirrmtry ${ICONSDIR}" >> ${TMPPLIST}
- ${ECHO_CMD} "@dirrmtry ${CSSDIR}" >> ${TMPPLIST}
+ ${ECHO_CMD} "@unexec rmdir -p %D/${CGIDIR} %D/${ICONSDIR} %D/${CSSDIR} 2>/dev/null || true" >> ${TMPPLIST}
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/devel/py-reverse/Makefile b/devel/py-reverse/Makefile
index f6860a3311ce..2b9192a1f60a 100644
--- a/devel/py-reverse/Makefile
+++ b/devel/py-reverse/Makefile
@@ -28,6 +28,6 @@ post-install:
${SED} -e 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/logilab/pyreverse -type d | ${SORT} -r | \
${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
- @${ECHO_CMD} "@dirrmtry %%PYTHSON_SITELIBDIR%%/logilab" >> ${TMPPLIST}
+ @${ECHO_CMD} "@unexec rmdir %D/%%PYTHSON_SITELIBDIR%%/logilab 2>/dev/null || true" >> ${TMPPLIST}
.include <bsd.port.mk>