pkgsrc/databases/mysqlcc/Makefile
wiz 768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00

42 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2006/01/24 07:32:00 wiz Exp $
#
DISTNAME= mysqlcc-0.9.4-src
PKGNAME= ${DISTNAME:S/-src//}
PKGREVISION= 5
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL:=MySQLCC/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.mysql.com/
COMMENT= MySQL Control Center
USE_PKGLOCALEDIR= YES
USE_TOOLS+= automake
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= \
--with-mysql-lib=${BUILDLINK_PREFIX.mysql-client}/lib/mysql
CONFIGURE_ARGS+= \
--with-mysql-include=${BUILDLINK_PREFIX.mysql-client}/include/mysql
CONFIGURE_ARGS+= --with-openssl-includes=${SSLBASE}/include
CONFIGURE_ARGS+= --with-openssl-lib=${SSLBASE}/lib
CONFIGURE_ENV+= QMAKESPEC="${QTDIR}/mkspecs/netbsd-g++"
MYSQL_VERSIONS_ACCEPTED= 41
INSTALLATION_DIRS= bin
pre-configure:
cd ${WRKSRC} && aclocal && autoconf
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mysqlcc ${PREFIX}/bin/
.include "../../security/openssl/buildlink3.mk"
.include "../../x11/qt3-tools/buildlink3.mk"
# XXX Please verify whether qt3-tools is really needed at run-time.
# If it is, then remove this comment. If it is not, then remove
# this comment and the line below, and bump PKGREVISION.
BUILDLINK_DEPMETHOD.qt3-tools= full
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"