summaryrefslogtreecommitdiff
path: root/devel/cvsweb3
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2006-01-23 07:04:10 +0000
committerMark Linimon <linimon@FreeBSD.org>2006-01-23 07:04:10 +0000
commitf6159fbf7a88c697ec5fc8af9fa477c9d5f7c572 (patch)
treeba6e57d5890ba57f1e0b09e25c2ee9a110064d4d /devel/cvsweb3
parentupdate to 0.5.6 (diff)
Revert last commit. It is not possible (yet) to have the dirrmtry usage
in the post-install target. Its usage must preceed generate-plist. This problem needs to be revisited either in a rework of bsd.port.mk or each of these Makefiles. Hat: portmgr Pointy hat: edwin`
Notes
Notes: svn path=/head/; revision=154215
Diffstat (limited to 'devel/cvsweb3')
-rw-r--r--devel/cvsweb3/Makefile4
1 files changed, 1 insertions, 3 deletions
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}