Lines 1-8
Link Here
|
1 |
# Created by: Foxfair Hu <foxfair@FreeBSD.org> |
|
|
2 |
# $FreeBSD: head/www/MT/Makefile 383142 2015-04-03 16:11:38Z marino $ |
1 |
# $FreeBSD: head/www/MT/Makefile 383142 2015-04-03 16:11:38Z marino $ |
3 |
|
2 |
|
4 |
PORTNAME= MT |
3 |
PORTNAME= MT |
5 |
PORTVERSION= 5.2.12 |
4 |
PORTVERSION= 5.2.13 |
6 |
PORTEPOCH= 1 |
5 |
PORTEPOCH= 1 |
7 |
CATEGORIES?= www |
6 |
CATEGORIES?= www |
8 |
MASTER_SITES?= http://www.movabletype.org/downloads/stable/\ |
7 |
MASTER_SITES?= http://www.movabletype.org/downloads/stable/\ |
Lines 15-20
Link Here
|
15 |
|
14 |
|
16 |
LICENSE= GPLv2 |
15 |
LICENSE= GPLv2 |
17 |
|
16 |
|
|
|
17 |
DEPRECATED= EOL in September 2015. |
18 |
EXPIRATION_DATE= 2015-09-30 |
19 |
|
18 |
CONFLICTS?= de-MT-[2-5].* fr-MT-[2-5].* ja-MT-[2-5].* ru-MT-[2-5].* |
20 |
CONFLICTS?= de-MT-[2-5].* fr-MT-[2-5].* ja-MT-[2-5].* ru-MT-[2-5].* |
19 |
|
21 |
|
20 |
RUN_DEPENDS+= p5-DBI>=1.21:${PORTSDIR}/databases/p5-DBI \ |
22 |
RUN_DEPENDS+= p5-DBI>=1.21:${PORTSDIR}/databases/p5-DBI \ |
Lines 107-122
Link Here
|
107 |
PLIST_SUB+= LANG_RU="@comment " |
109 |
PLIST_SUB+= LANG_RU="@comment " |
108 |
.endif |
110 |
.endif |
109 |
|
111 |
|
110 |
.include <bsd.port.options.mk> |
|
|
111 |
|
112 |
.if ${PORT_OPTIONS:MMYSQL} |
112 |
.if ${PORT_OPTIONS:MMYSQL} |
113 |
DB_DIR?= /var/db/mysql/WEBLOG_DATABASEDIR |
113 |
DB_DIR?= /var/db/mysql/WEBLOG_DATABASEDIR |
114 |
.endif |
114 |
PLIST_SUB+= DB="@comment "\ |
115 |
.if ${PORT_OPTIONS:MPGSQL} |
115 |
DBMYSQL_DIR=${DB_DIR:H} |
|
|
116 |
.elif ${PORT_OPTIONS:MPGSQL} |
116 |
WANT_PGSQL= server |
117 |
WANT_PGSQL= server |
117 |
.endif |
118 |
PLIST_SUB+= DB="@comment " |
118 |
.if empty(PORT_OPTIONS:MPGSQL) && empty(PORT_OPTIONS:MMYSQL) |
119 |
.elif empty(PORT_OPTIONS:MPGSQL) && empty(PORT_OPTIONS:MMYSQL) |
119 |
DB_DIR?= ${PREFIX}/${CGIDIR}/db |
120 |
DB_DIR?= ${PREFIX}/${CGIDIR}/db |
|
|
121 |
PLIST_SUB+= DB="" |
120 |
.endif |
122 |
.endif |
121 |
|
123 |
|
122 |
pre-everything:: |
124 |
pre-everything:: |