aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-12-13 13:33:27 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-12-13 13:33:27 +0000
commit4a12512fe839715da923709de80c38e9851ba097 (patch)
tree14858d9c3f575ecb23946795851352877a503684
parent3d1f4d8a108f742c69d89aba954a9c12f6407fab (diff)
downloadports-4a12512fe839715da923709de80c38e9851ba097.tar.gz
ports-4a12512fe839715da923709de80c38e9851ba097.zip
Notes
-rw-r--r--www/MT/Makefile2
-rw-r--r--www/MT/pkg-plist2
2 files changed, 4 insertions, 0 deletions
diff --git a/www/MT/Makefile b/www/MT/Makefile
index 043e9f982af3..33c996dbdbbe 100644
--- a/www/MT/Makefile
+++ b/www/MT/Makefile
@@ -59,6 +59,8 @@ do-install:
-e 's#path/to/static-files#mt#g' \
-e 's/# NoHTMLEntities 1/NoHTMLEntities 1/g' \
${WRKSRC}/mt.cfg > ${PREFIX}/${CGIDIR}/mt.cfg
+ ${SED} -e 's#$$MT_DIR, .schemas.#"${PREFIX}/${DATADIR}/schemas"#' \
+ ${WRKSRC}/mt-load.cgi > ${PREFIX}/${CGIDIR}/mt-load.cgi
@${ECHO_MSG} "Installing data ${PREFIX}/${DATADIR}"
@${MKDIR} ${PREFIX}/${DATADIR}
@cd ${WRKSRC} && ${CP} -R LICENSE LICENSE-COMMERCIAL docs images \
diff --git a/www/MT/pkg-plist b/www/MT/pkg-plist
index a54d84beb0f0..fcc1ae697340 100644
--- a/www/MT/pkg-plist
+++ b/www/MT/pkg-plist
@@ -363,5 +363,7 @@
@dirrm %%DATADIR%%/images/lang-en-us
@dirrm %%DATADIR%%/images
@dirrm %%DATADIR%%/schemas
+@unexec rmdir %D/%%CGIDIR%%/mt/db 2>/dev/null || true
+@unexec rmdir %D/%%CGIDIR%%/mt 2>/dev/null || true
@unexec rmdir %D/%%CGIDIR%% 2>/dev/null || true
@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true