ports/179480: [MAINTAINER] www/MT: update to 5.2.6,1

Takefu takefu at airport.fm
Thu Jun 20 10:33:40 UTC 2013


たけふ@大阪豊中です。

If it is not an old version, I do not understand a reason not correct.
Make is sure to be able to be done correctly with the following patch between until committing because the distfiles acquisition failure will be done immediately after a new version was able to be done in the future.


John Marino さんは書きました (2013/06/20 19:00):

>  The old distfile is still available on another directory.
>  It's still best to update the package, but here's how to unbreak it now 
>  (patch attached).
>  
>  John


-- 

-------------- next part --------------
--- /usr/ports/www/MT/Makefile	2013-02-24 02:13:00.000000000 +0900
+++ www/MT/Makefile	2013-06-20 19:20:28.000000000 +0900
@@ -2,14 +2,15 @@
 # $FreeBSD: ports/www/MT/Makefile,v 1.61 2013/02/23 17:13:00 svnexp Exp $
 
 PORTNAME=	MT
-PORTVERSION=	5.2.3
+PORTVERSION=	5.2.6
 PORTEPOCH=	1
 CATEGORIES?=	www
-MASTER_SITES?=	http://www.movabletype.org/downloads/stable/
+MASTER_SITES?=	http://www.movabletype.org/downloads/stable/\
+		http://www.movabletype.org/downloads/archives/5.x/
 DISTNAME?=	MTOS-${PORTVERSION}
 
 MAINTAINER?=	takefu at airport.fm
-COMMENT?=	Web-based personal publishing system for weblogs
+COMMENT?=	A web-based personal publishing system for weblogs
 
 CONFLICTS?=	de-MT-[2-5].* fr-MT-[2-5].* ja-MT-[2-5].* ru-MT-[2-5].*
 
@@ -19,13 +20,16 @@
 NO_OPTIONS_SORT=	yes
 OPTIONS_DEFINE=		APACHE MYSQL SSL TLS\
 			OPTIONAL_MODULES ADDITIONAL_MODULES\
-			PGSQL ORACLE ODBC SQLITE2 PSGI
+			PGSQL ORACLE ODBC SQLITE2 SQLITE PSGI
 OPTIONS_DEFAULT=	MYSQL OPTIONAL_MODULES
 OPTIONAL_MODULES_DESC=	Optional Perl Modules
 ADDITIONAL_MODULES_DESC=Additional Perl modules
-SQLITE2_DESC=		SQLite 2 database
 PSGI_DESC=		Perl Web Server Gateway Interface
 
+PGSQL_DESC=		PostgreSQL database support[obsolete]
+SQLITE_DESC=		SQLite3 database support[obsolete]
+SQLITE2_DESC=		SQLite2 database support[obsolete]
+
 .include <bsd.port.options.mk>
 
 DATADIR=	www/data
@@ -41,7 +45,7 @@
 		WWWOWN=${WWWOWN}\
 		WWWGRP=${WWWGRP}
 
-USE_PERL5_RUN=	5.8.1+
+USE_PERL5_RUN=	yes
 NO_BUILD=	yes
 MT_DOCS_URL?=	http://www.movabletype.org/documentation/
 MT_UPGRADE_URL?=http://www.movabletype.org/documentation/installation/upgrade-movable-type.html
@@ -100,8 +104,13 @@
 .endif
 .if empty${PORT_OPTIONS:MPGSQL} && empty(PORT_OPTIONS:MMYSQL)
 DB_DIR?=	${PREFIX}/${CGIDIR}/db
-RUN_DEPENDS+=	p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite\
-		sqlite3>=3:${PORTSDIR}/databases/sqlite3
+. if ${PORT_OPTIONS:MSQLITE} && empty(PORT_OPTIONS:MSQLITE2)
+USE_SQLITE=	yes
+RUN_DEPENDS+=	p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite
+. elif ${PORT_OPTIONS:MSQLITE2} && empty(PORT_OPTIONS:MSQLITE)
+USE_SQLITE=	2
+RUN_DEPENDS+=	p5-DBD-SQLite2>=0:${PORTSDIR}/databases/p5-DBD-SQLite2
+. endif
 WITH_DEFAULTDB=	yes
 .endif
 .if ${PORT_OPTIONS:MORACLE}
@@ -110,9 +119,6 @@
 .if ${PORT_OPTIONS:MODBC}
 RUN_DEPENDS+=	p5-DBD-ODBC>=1.13:${PORTSDIR}/databases/p5-DBD-ODBC
 .endif
-.if ${PORT_OPTIONS:MSQLITE2}
-RUN_DEPENDS+=	p5-DBD-SQLite2>=0:${PORTSDIR}/databases/p5-DBD-SQLite2
-.endif
 .if ${PORT_OPTIONS:MAPACHE}
 USE_APACHE_RUN=	22+
 SUB_FILES+=	MT.conf


More information about the freebsd-ports-bugs mailing list