openbsd-ports/databases/MyCC/Makefile
wilfried c10e91f921 update to 0.9.2
* When no servers have been registered, automatically open the
  "Register Server" dialog on startup.

* Fixed a minor bug which didn't automatically set the correct
  default values for some features introduced in the prevous version
  when registering a new server.

* Added an "Unlimited" option for the Automatic SELECT Limit option.

* Enabled plugin support.

* Fixed a bug compiling MySQLCC with Qt < 3.1.0.

* Fixed a bug which automatically used the default unix socket when
  "localhost" was defined as the servers hostname.  It now uses the
  unix socket if the hostname is "localhost" and the port is 3306.
2003-06-30 13:15:21 +00:00

50 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2003/06/30 13:15:21 wilfried Exp $
COMMENT= "GUI client for MySQL"
VERSION= 0.9.2
DISTNAME= mysqlcc-${VERSION}-src
PKGNAME= mysqlcc-${VERSION}
CATEGORIES= databases
HOMEPAGE= http://mysql.com/products/mysqlcc/index.html
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQLCC/ \
ftp://sunsite.dk/mirrors/mysql/Downloads/MySQLCC/ \
ftp://gd.tuwien.ac.at/db/mysql/Downloads/MySQLCC/ \
ftp://mysql.secsup.org/pub/software/mysql/Downloads/MySQLCC
MODQT_MT= Yes
MODULES= qt3
LIB_DEPENDS= lib/mysql/mysqlclient.10:mysql-client-3.23.*:databases/mysql
MAKE_ENV= LOCALBASE=${LOCALBASE} HACK_CFLAGS="${CFLAGS}"
MAKE_FLAGS= CC=${CC} CXX=${CXX} LINK=${CXX}
USE_X11= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${MODQT_CONFIGURE_ARGS} \
--with-mysql-lib=${LOCALBASE}/lib/mysql \
--with-mysql-include=${LOCALBASE}/include/mysql
CONFIGURE_ENV= QTDIR=${LOCALBASE} \
FILESDIR=${FILESDIR} \
LOCALBASE=${LOCALBASE}
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/mysqlcc ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/mysqlcc/translations
${INSTALL_DATA} ${WRKSRC}/warning.wav ${WRKSRC}/error.wav ${WRKSRC}/syntax.txt ${PREFIX}/share/mysqlcc
${INSTALL_DATA} ${WRKSRC}/translations/* ${PREFIX}/share/mysqlcc/translations
.include <bsd.port.mk>