aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql54-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql54-server/Makefile')
-rw-r--r--databases/mysql54-server/Makefile29
1 files changed, 14 insertions, 15 deletions
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index 9f004d494e4d..fd5ad26d711c 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-server/Makefile
@@ -6,17 +6,18 @@
#
PORTNAME?= mysql
-PORTVERSION= 5.1.35
+PORTVERSION= 5.4.1
PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
-MASTER_SITE_SUBDIR= MySQL-5.1
+MASTER_SITE_SUBDIR= MySQL-5.4
PKGNAMESUFFIX?= -server
+DISTNAME= ${PORTNAME}-${PORTVERSION}-beta
MAINTAINER= ale@FreeBSD.org
COMMENT?= Multithreaded SQL database (server)
-SLAVEDIRS= databases/mysql51-client databases/mysql51-scripts
+SLAVEDIRS= databases/mysql54-client databases/mysql54-scripts
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
@@ -87,11 +88,11 @@ CXXFLAGS+= -fno-exceptions
# MySQL-Server part
.if !defined(CLIENT_ONLY) && !defined(SCRIPTS_ONLY)
USE_MYSQL= yes
-WANT_MYSQL_VER= 51
+WANT_MYSQL_VER= 54
-LATEST_LINK= mysql51-server
+LATEST_LINK= mysql54-server
-CONFLICTS= mysql-server-3.* mysql-server-4.* mysql-server-5.0.* mysql-server-6.*
+CONFLICTS= mysql-server-3.* mysql-server-4.* mysql-server-5.[01].* mysql-server-6.*
USE_RC_SUBR= mysql-server.sh
@@ -161,16 +162,14 @@ post-install:
.else
# MySQL-Client part
.if defined(CLIENT_ONLY)
-LATEST_LINK= mysql51-client
+LATEST_LINK= mysql54-client
-CONFLICTS= mysql-client-3.* mysql-client-4.* mysql-client-5.0.* mysql-client-6.*
+CONFLICTS= mysql-client-3.* mysql-client-4.* mysql-client-5.[01].* mysql-client-6.*
MAN1= mysql_config.1 mysql_upgrade.1 mysql.1 mysqladmin.1 \
mysqlbinlog.1 mysqlbug.1 mysqlcheck.1 \
mysqldump.1 mysqlimport.1 mysqlshow.1 mysqlslap.1 mysqltest.1
-MAN8= mysqlmanager.8
-
USE_LDCONFIG= ${PREFIX}/lib/mysql
CONFIGURE_ARGS+=--without-server
@@ -180,7 +179,7 @@ post-patch:
@${REINPLACE_CMD} -e "s|install-exec-am: install-pkglibLIBRARIES|install-exec-am:|g" ${WRKSRC}/strings/Makefile.in ${WRKSRC}/mysys/Makefile.in ${WRKSRC}/dbug/Makefile.in
@${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = mysql_config mysql_fix_privilege_tables mysqlbug|g" ${WRKSRC}/scripts/Makefile.in
@${REINPLACE_CMD} -e "s|dist_pkgdata_DATA =|dist_pkgdata_DATA = mysql_fix_privilege_tables.sql|g" ${WRKSRC}/scripts/Makefile.in
- @${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g;s|man8_MANS =|man8_MANS = ${MAN8}|g" ${WRKSRC}/man/Makefile.in
+ @${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
@${REINPLACE_CMD} -e "s|install-exec-am: install-binPROGRAMS|install-exec-am:|g" ${WRKSRC}/extra/Makefile.in
post-install:
@@ -189,16 +188,16 @@ post-install:
.else
# MySQL-Scripts part
USE_MYSQL= yes
-WANT_MYSQL_VER= 51
+WANT_MYSQL_VER= 54
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql51
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql54
.if ${PERL_LEVEL} <= 500800
RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
.endif
-LATEST_LINK= mysql51-scripts
+LATEST_LINK= mysql54-scripts
-CONFLICTS= mysql-scripts-3.* mysql-scripts-4.* mysql-scripts-5.0.* mysql-scripts-6.*
+CONFLICTS= mysql-scripts-3.* mysql-scripts-4.* mysql-scripts-5.[01].* mysql-scripts-6.*
MAN1= msql2mysql.1 mysql_convert_table_format.1 mysql_find_rows.1 \
mysql_fix_extensions.1 mysql_secure_installation.1 \