summaryrefslogtreecommitdiff
path: root/www/MT
diff options
context:
space:
mode:
Diffstat (limited to 'www/MT')
-rw-r--r--www/MT/Makefile8
-rw-r--r--www/MT/pkg-plist2
2 files changed, 5 insertions, 5 deletions
diff --git a/www/MT/Makefile b/www/MT/Makefile
index 2cebeaa611aa..043e9f982af3 100644
--- a/www/MT/Makefile
+++ b/www/MT/Makefile
@@ -7,7 +7,7 @@
PORTNAME= MT
PORTVERSION= 2.64
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MAINTAINER= ports@FreeBSD.org
@@ -52,8 +52,8 @@ do-install:
@cd ${WRKSRC} && ${FIND} * -name "*.orig" -delete
@${ECHO_MSG} "Installing cgi ${PREFIX}/${CGIDIR}"
@${MKDIR} ${PREFIX}/${CGIDIR}
- @cd ${WRKSRC} && ${CP} -R *.cgi lib extlib tmpl search_templates \
- ${PREFIX}/${CGIDIR}
+ @cd ${WRKSRC} && ${CP} -R *.cgi lib extlib plugins search_templates \
+ tmpl ${PREFIX}/${CGIDIR}
@${SED} -e 's#WWW.YOUR-SITE.COM/PATH/TO/MT/#${HOST}/cgi-bin/mt/#g' \
-e 's/# StaticWebPath/StaticWebPath/g' \
-e 's#path/to/static-files#mt#g' \
@@ -62,7 +62,7 @@ do-install:
@${ECHO_MSG} "Installing data ${PREFIX}/${DATADIR}"
@${MKDIR} ${PREFIX}/${DATADIR}
@cd ${WRKSRC} && ${CP} -R LICENSE LICENSE-COMMERCIAL docs images \
- index.html plugins schemas styles.css \
+ index.html schemas styles.css \
${PREFIX}/${DATADIR}
.if defined(WITH_DEFAULTDB)
@${MKDIR} -m 755 ${DB_DIR}
diff --git a/www/MT/pkg-plist b/www/MT/pkg-plist
index 0183934637d4..a54d84beb0f0 100644
--- a/www/MT/pkg-plist
+++ b/www/MT/pkg-plist
@@ -355,13 +355,13 @@
@dirrm %%CGIDIR%%/lib/MT/Template
@dirrm %%CGIDIR%%/lib/MT
@dirrm %%CGIDIR%%/lib
+@dirrm %%CGIDIR%%/plugins
@dirrm %%CGIDIR%%/search_templates
@dirrm %%CGIDIR%%/tmpl/cms
@dirrm %%CGIDIR%%/tmpl
@dirrm %%DATADIR%%/docs
@dirrm %%DATADIR%%/images/lang-en-us
@dirrm %%DATADIR%%/images
-@dirrm %%DATADIR%%/plugins
@dirrm %%DATADIR%%/schemas
@unexec rmdir %D/%%CGIDIR%% 2>/dev/null || true
@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true