- Give %%DOCSDIR%% chance to be expanded

Reported by:	pointyhat
This commit is contained in:
Pav Lucistnik 2007-09-28 00:06:22 +00:00
parent 0b339e8b77
commit e8d1d02a39
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200238

View File

@ -48,6 +48,6 @@ post-install:
${TAR} ztf ${WRKSRC}/doc/postgres.tar.gz | ${GREP} /$$ | \
${SED} "s,^,@dirrm\ ," >> ${TMPPLIST} ;\
${ECHO} @dirrm ${PGDOCSDIR:S,^${PREFIX}/,,} >> ${TMPPLIST} ;\
${ECHO} "@unexec rmdir %%DOCSDIR%% 2> /dev/null || true" >> ${TMPPLIST}
${ECHO} "@unexec rmdir %D/${DOCSDIR:S,^${PREFIX}/,,} 2> /dev/null || true" >> ${TMPPLIST}
.include "${MASTERDIR}/Makefile"