From 2f3b840a16e8b04cc725e8abd72d7b66f7415e34 Mon Sep 17 00:00:00 2001 From: anders Date: Sun, 7 Sep 2003 00:56:10 +0000 Subject: Add mysqlcc, the MySQL Control Center. PR: 50672 Submitted by: Ferruccio Vitale --- databases/mysqlcc/Makefile | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 databases/mysqlcc/Makefile (limited to 'databases/mysqlcc/Makefile') 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 -- cgit