aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2016-02-14 03:06:40 +0800
committerrm <rm@FreeBSD.org>2016-02-14 03:06:40 +0800
commitf352cb3857cef68a2fcf931f8fd4a58345275244 (patch)
tree97ffad69d0bf03030215b4b9af385c13214cde75 /www
parenta023ee6b4f528dfba4a0380458fb7c63cd039ce3 (diff)
downloadfreebsd-ports-gnome-f352cb3857cef68a2fcf931f8fd4a58345275244.tar.gz
freebsd-ports-gnome-f352cb3857cef68a2fcf931f8fd4a58345275244.tar.zst
freebsd-ports-gnome-f352cb3857cef68a2fcf931f8fd4a58345275244.zip
www/MT: update to 5.2.13; set to deprectaion
- update to latest version 5.2.13 - mark DEPRECATED. 5.x branch reached it's EOL in 09/2015. - set to expire in one month - fix "duplicate directory listing: /var/db/mysql" error PR: 201804 Submitted by: takefu@airport.fm (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/MT/Makefile17
-rw-r--r--www/MT/distinfo8
-rw-r--r--www/MT/pkg-plist2
3 files changed, 16 insertions, 11 deletions
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%%