openbsd-ports/databases/mysqlcc/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

2010-10-24 16:58:58 -04:00
# $OpenBSD: Makefile,v 1.12 2010/10/24 21:07:50 ajacoutot Exp $
2004-07-19 09:56:20 -04:00
COMMENT= GUI client for MySQL
2004-07-19 09:56:20 -04:00
2008-09-08 03:48:43 -04:00
VERSION= 0.9.8
2004-07-19 09:56:20 -04:00
DISTNAME= mysqlcc-${VERSION}-src
PKGNAME= mysqlcc-${VERSION}
REVISION= 0
2004-07-19 09:56:20 -04:00
CATEGORIES= databases
2008-09-08 03:48:43 -04:00
HOMEPAGE= http://mysqlcc.sourceforge.net/
2004-07-19 09:56:20 -04:00
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xext c m pthread pthread-stubs stdc++ xcb z
WANTLIB += lib/mysql/mysqlclient.>=10
2004-07-19 09:56:20 -04:00
2008-09-08 03:48:43 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mysqlcc/}
2004-07-19 09:56:20 -04:00
2004-08-10 06:26:50 -04:00
MODULES= x11/qt3
LIB_DEPENDS= ::databases/mysql
2004-07-19 09:56:20 -04:00
MAKE_ENV= LOCALBASE=${LOCALBASE} HACK_CFLAGS="${CFLAGS}"
MAKE_FLAGS= CC=${CC} CXX=${CXX} LINK=${CXX}
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>