aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--russian/MT/Makefile2
-rw-r--r--www/MT/Makefile17
-rw-r--r--www/MT/distinfo8
-rw-r--r--www/MT/pkg-plist2
4 files changed, 17 insertions, 12 deletions
diff --git a/russian/MT/Makefile b/russian/MT/Makefile
index 154f47dc47aa..7a22fc0f571b 100644
--- a/russian/MT/Makefile
+++ b/russian/MT/Makefile
@@ -3,7 +3,7 @@
CATEGORIES= russian www
MASTER_SITES= http://movable-type.ru/downloads/
-DISTNAME= MTOS-5.2.12-${PKGNAMEPREFIX:S,-,,}
+DISTNAME= MTOS-5.2.13-${PKGNAMEPREFIX:S,-,,}
COMMENT= Russian localization of the MovableType publishing system
diff --git a/www/MT/Makefile b/www/MT/Makefile
index e7179d3bd216..22487df6c507 100644
--- a/www/MT/Makefile
+++ b/www/MT/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= MT
-PORTVERSION= 5.2.12
+PORTVERSION= 5.2.13
PORTEPOCH= 1
CATEGORIES?= www
MASTER_SITES?= http://www.movabletype.org/downloads/stable/\
@@ -15,6 +15,9 @@ COMMENT?= Web-based personal publishing system for weblogs
LICENSE= GPLv2
+DEPRECATED= Reached it's EOL in September 2015
+EXPIRATION_DATE= 2016-03-13
+
CONFLICTS?= de-MT-[2-5].* fr-MT-[2-5].* ja-MT-[2-5].* ru-MT-[2-5].*
RUN_DEPENDS+= p5-DBI>=1.21:${PORTSDIR}/databases/p5-DBI \
@@ -107,16 +110,16 @@ MT_LANG=
PLIST_SUB+= LANG_RU="@comment "
.endif
-.include <bsd.port.options.mk>
-
.if ${PORT_OPTIONS:MMYSQL}
DB_DIR?= /var/db/mysql/WEBLOG_DATABASEDIR
-.endif
-.if ${PORT_OPTIONS:MPGSQL}
+PLIST_SUB+= DB="@comment "\
+ DBMYSQL_DIR=${DB_DIR:H}
+.elif ${PORT_OPTIONS:MPGSQL}
WANT_PGSQL= server
-.endif
-.if empty(PORT_OPTIONS:MPGSQL) && empty(PORT_OPTIONS:MMYSQL)
+PLIST_SUB+= DB="@comment "
+.elif empty(PORT_OPTIONS:MPGSQL) && empty(PORT_OPTIONS:MMYSQL)
DB_DIR?= ${PREFIX}/${CGIDIR}/db
+PLIST_SUB+= DB=""
.endif
pre-everything::
diff --git a/www/MT/distinfo b/www/MT/distinfo
index d5c62fb7449c..e490a21096ab 100644
--- a/www/MT/distinfo
+++ b/www/MT/distinfo
@@ -1,4 +1,4 @@
-SHA256 (MTOS-5.2.12.tar.gz) = ee07575399ea42b4b7c05405738bba71e36eb1a5fc8aef37f2a4c8666c7f43a5
-SIZE (MTOS-5.2.12.tar.gz) = 7957668
-SHA256 (MTOS-5.2.12-ru.tar.gz) = bca96d002aea57dc34a05e0ac8b4ad2bc97a79ad41f5cef4af991d0af54c06a0
-SIZE (MTOS-5.2.12-ru.tar.gz) = 8097317
+SHA256 (MTOS-5.2.13.tar.gz) = 11258cb57cdad22df2ddb6f6229f253088446c30e24f39ec359551bd9c8a5534
+SIZE (MTOS-5.2.13.tar.gz) = 7958075
+SHA256 (MTOS-5.2.13-ru.tar.gz) = c56a48cdce2bd06d8abed75620b3acfd09db75e20ef1a8200c396e3e1f0f799a
+SIZE (MTOS-5.2.13-ru.tar.gz) = 8096881
diff --git a/www/MT/pkg-plist b/www/MT/pkg-plist
index c872c9f5aa0f..fc64cfb82304 100644
--- a/www/MT/pkg-plist
+++ b/www/MT/pkg-plist
@@ -3323,4 +3323,6 @@
@dir %%CGIDIR%%/php/extlib/smarty/demo/templates_c
@dir %%CGIDIR%%/php/plugins
@dir %%DATADIR%%/mt-static/support
+%%DB%%@dir %%DB_DIR%%
+%%DB%%@dir %%DBMYSQL_DIR%%
%%MYSQL%%@dir(mysql,mysql,) %%DB_DIR%%