aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2005-02-25 11:22:41 +0800
committernectar <nectar@FreeBSD.org>2005-02-25 11:22:41 +0800
commit347b3b797f254a83feba70c65a71c2173d88b536 (patch)
tree586245ceaca30f053b472991d32acd890fcc40ec
parent4cc8b61a6ceeaf3fccebb372e34c4f3fc126ee54 (diff)
downloadfreebsd-ports-graphics-347b3b797f254a83feba70c65a71c2173d88b536.tar.gz
freebsd-ports-graphics-347b3b797f254a83feba70c65a71c2173d88b536.tar.zst
freebsd-ports-graphics-347b3b797f254a83feba70c65a71c2173d88b536.zip
Fix the packing list so that when the port is deinstalled,
$PREFIX/share/xml/dtd will be removed if it is empty. Reported by: kris
-rw-r--r--textproc/xhtml-modularization/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/textproc/xhtml-modularization/Makefile b/textproc/xhtml-modularization/Makefile
index 76210567da5..256f597aa3d 100644
--- a/textproc/xhtml-modularization/Makefile
+++ b/textproc/xhtml-modularization/Makefile
@@ -70,7 +70,7 @@ pre-install:
${ECHO} "@unexec ${SGMLCAT_RM}" >> ${PLIST}
${ECHO} "@exec ${SGMLCAT_ADD}" >> ${PLIST}
${ECHO} "@dirrm ${dir_DTD}" >> ${PLIST}
- ${ECHO} '@unexec rmdir %D share/xml/dtd 2>/dev/null || true' >> \
+ ${ECHO} '@unexec rmdir %D/share/xml/dtd 2>/dev/null || true' >> \
${PLIST}
${ECHO} "@dirrm ${dir_DOC}/images" >> ${PLIST}
${ECHO} "@dirrm ${dir_DOC}" >> ${PLIST}