summaryrefslogtreecommitdiff
path: root/databases/postgresql-docs/Makefile
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 /databases/postgresql-docs/Makefile
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 'databases/postgresql-docs/Makefile')
-rw-r--r--databases/postgresql-docs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql-docs/Makefile b/databases/postgresql-docs/Makefile
index 3e5356a2358b..a2ee5df8f225 100644
--- a/databases/postgresql-docs/Makefile
+++ b/databases/postgresql-docs/Makefile
@@ -44,6 +44,6 @@ post-install:
${TAR} ztf ${WRKSRC}/doc/postgres.tar.gz | ${GREP} /$$ | \
${SED} "s,^,@dirrm\ ," >> ${TMPPLIST} ;\
${ECHO} @dirrm ${DOCSDIR:S,^${PREFIX}/,,}/html >> ${TMPPLIST} ;\
- ${ECHO} "@dirrmtry ${DOCSDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
+ ${ECHO} "@unexec rmdir %D/${DOCSDIR:S,^${PREFIX}/,,} 2> /dev/null || true" >> ${TMPPLIST}
.include "${MASTERDIR}/Makefile"