svn commit: r408824 - in head: russian/MT www/MT

Ruslan Makhmatkhanov rm at FreeBSD.org
Sat Feb 13 19:06:42 UTC 2016


Author: rm
Date: Sat Feb 13 19:06:40 2016
New Revision: 408824
URL: https://svnweb.freebsd.org/changeset/ports/408824

Log:
  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 at airport.fm (maintainer)

Modified:
  head/russian/MT/Makefile
  head/www/MT/Makefile
  head/www/MT/distinfo
  head/www/MT/pkg-plist

Modified: head/russian/MT/Makefile
==============================================================================
--- head/russian/MT/Makefile	Sat Feb 13 19:03:25 2016	(r408823)
+++ head/russian/MT/Makefile	Sat Feb 13 19:06:40 2016	(r408824)
@@ -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
 

Modified: head/www/MT/Makefile
==============================================================================
--- head/www/MT/Makefile	Sat Feb 13 19:03:25 2016	(r408823)
+++ head/www/MT/Makefile	Sat Feb 13 19:06:40 2016	(r408824)
@@ -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 
 
 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::

Modified: head/www/MT/distinfo
==============================================================================
--- head/www/MT/distinfo	Sat Feb 13 19:03:25 2016	(r408823)
+++ head/www/MT/distinfo	Sat Feb 13 19:06:40 2016	(r408824)
@@ -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

Modified: head/www/MT/pkg-plist
==============================================================================
--- head/www/MT/pkg-plist	Sat Feb 13 19:03:25 2016	(r408823)
+++ head/www/MT/pkg-plist	Sat Feb 13 19:06:40 2016	(r408824)
@@ -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%%


More information about the svn-ports-all mailing list