2314c85f45
zap default spec that are not needed convert libspecs as well convert p* to REVISION. No package changes
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.13 2010/11/15 00:22:51 espie Exp $
|
|
|
|
COMMENT= GUI client for MySQL
|
|
|
|
VERSION= 0.9.8
|
|
DISTNAME= mysqlcc-${VERSION}-src
|
|
PKGNAME= mysqlcc-${VERSION}
|
|
REVISION= 0
|
|
CATEGORIES= databases
|
|
|
|
HOMEPAGE= http://mysqlcc.sourceforge.net/
|
|
|
|
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
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mysqlcc/}
|
|
|
|
MODULES= x11/qt3
|
|
LIB_DEPENDS= databases/mysql
|
|
|
|
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>
|