From f6159fbf7a88c697ec5fc8af9fa477c9d5f7c572 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Mon, 23 Jan 2006 07:04:10 +0000 Subject: 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` --- databases/postgresql-docs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'databases/postgresql-docs/Makefile') 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" -- cgit v1.2.3