aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysqlcc
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2003-09-07 08:56:10 +0800
committeranders <anders@FreeBSD.org>2003-09-07 08:56:10 +0800
commit2f3b840a16e8b04cc725e8abd72d7b66f7415e34 (patch)
treed3b9c9f2a574d55d6ed12658f765fd99e8190a1d /databases/mysqlcc
parent6c84933ff7d79a5bab2d077dba433406f3fd35ee (diff)
downloadfreebsd-ports-gnome-2f3b840a16e8b04cc725e8abd72d7b66f7415e34.tar.gz
freebsd-ports-gnome-2f3b840a16e8b04cc725e8abd72d7b66f7415e34.tar.zst
freebsd-ports-gnome-2f3b840a16e8b04cc725e8abd72d7b66f7415e34.zip
Add mysqlcc, the MySQL Control Center.
PR: 50672 Submitted by: Ferruccio Vitale <vitale@cs.tin.it>
Diffstat (limited to 'databases/mysqlcc')
-rw-r--r--databases/mysqlcc/Makefile52
-rw-r--r--databases/mysqlcc/distinfo1
-rw-r--r--databases/mysqlcc/pkg-descr5
-rw-r--r--databases/mysqlcc/pkg-plist9
4 files changed, 67 insertions, 0 deletions
diff --git a/databases/mysqlcc/Makefile b/databases/mysqlcc/Makefile
new file mode 100644
index 000000000000..827fc0aaffd4
--- /dev/null
+++ b/databases/mysqlcc/Makefile
@@ -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>
diff --git a/databases/mysqlcc/distinfo b/databases/mysqlcc/distinfo
new file mode 100644
index 000000000000..959ba47de59f
--- /dev/null
+++ b/databases/mysqlcc/distinfo
@@ -0,0 +1 @@
+MD5 (mysqlcc-0.9.3-src.tar.gz) = 9d49fa0658cd8cf81ee5f64bc942b4e9
diff --git a/databases/mysqlcc/pkg-descr b/databases/mysqlcc/pkg-descr
new file mode 100644
index 000000000000..6177512cac11
--- /dev/null
+++ b/databases/mysqlcc/pkg-descr
@@ -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/
diff --git a/databases/mysqlcc/pkg-plist b/databases/mysqlcc/pkg-plist
new file mode 100644
index 000000000000..e1a3a778ad93
--- /dev/null
+++ b/databases/mysqlcc/pkg-plist
@@ -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%%