mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Add mysqlcc, the MySQL Control Center.
PR: 50672 Submitted by: Ferruccio Vitale <vitale@cs.tin.it>
This commit is contained in:
parent
a1327ebdc5
commit
1272e6c8fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88658
5 changed files with 68 additions and 0 deletions
|
@ -71,6 +71,7 @@
|
|||
SUBDIR += mysql41-client
|
||||
SUBDIR += mysql41-server
|
||||
SUBDIR += mysql_last_value
|
||||
SUBDIR += mysqlcc
|
||||
SUBDIR += mysqlman
|
||||
SUBDIR += mysqltcl
|
||||
SUBDIR += mytop
|
||||
|
|
52
databases/mysqlcc/Makefile
Normal file
52
databases/mysqlcc/Makefile
Normal file
|
@ -0,0 +1,52 @@
|
|||
# New ports collection makefile for: mysqlcc
|
||||
# Date created: 03 April 2002
|
||||
# Whom: ferruccio.vitale@tin.it
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mysqlcc
|
||||
PORTVERSION= 0.9.3
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= ftp://sunsite.dk/pub/databases/mysql/Downloads/MySQLCC/ \
|
||||
http://mysql.mirrors.pair.com/Downloads/MySQLCC/ \
|
||||
http://mirrors.sunsite.dk/mysql/Downloads/MySQLCC/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
|
||||
MAINTAINER= ferruccio.vitale@tin.it
|
||||
COMMENT= A platform-independent GUI administration client for the MySQL server
|
||||
|
||||
.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10)
|
||||
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||
.else
|
||||
LIB_DEPENDS= mysqlclient.12:${PORTSDIR}/databases/mysql40-client
|
||||
.endif
|
||||
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_QT_VER= 3
|
||||
QT_NONSTANDARD= yes
|
||||
CONFIGURE_ARGS+= --with-qt=${X11BASE}
|
||||
|
||||
DOCS= Changelog.txt README.txt TODO.txt
|
||||
|
||||
SHARE_DATA= error.wav warning.wav syntax.txt
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -E -e 's@^(QMAKESPEC=\$$QTDIR).*@\1/share/qt/mkspecs/default@' ${WRKSRC}/configure
|
||||
${REINPLACE_CMD} -E -e 's@-pthread -D_THREAD_SAFE@${PTHREAD_CFLAGS}@;s@^(LFLAGS.*)-pthread@\1${PTHREAD_LIBS}@' ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mysqlcc ${PREFIX}/bin/
|
||||
${MKDIR} -m 0755 ${DATADIR}
|
||||
.for f in ${SHARE_DATA}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} -m 0755 ${DOCSDIR}
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/mysqlcc/distinfo
Normal file
1
databases/mysqlcc/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (mysqlcc-0.9.3-src.tar.gz) = 9d49fa0658cd8cf81ee5f64bc942b4e9
|
5
databases/mysqlcc/pkg-descr
Normal file
5
databases/mysqlcc/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
MySQL Control Center (also known as MySQLCC) is a
|
||||
platform-independent GUI administration client for
|
||||
the MySQL database server.
|
||||
|
||||
WWW: http://www.mysql.com/products/mysqlcc/
|
9
databases/mysqlcc/pkg-plist
Normal file
9
databases/mysqlcc/pkg-plist
Normal file
|
@ -0,0 +1,9 @@
|
|||
bin/mysqlcc
|
||||
%%DATADIR%%/error.wav
|
||||
%%DATADIR%%/warning.wav
|
||||
%%DATADIR%%/syntax.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Changelog.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm %%DATADIR%%
|
Loading…
Add table
Reference in a new issue