pkgsrc/databases/myodbc/Makefile
jlam f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00

33 lines
956 B
Makefile

# $NetBSD: Makefile,v 1.4 2001/09/27 23:17:53 jlam Exp $
#
DISTNAME= MyODBC-2.50.36
PKGNAME= myodbc-2.50.36
CATEGORIES= databases
MASTER_SITES= http://www.mysql.com/Downloads/MyODBC/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.mysql.com/
COMMENT= ODBC driver (server side) for MySQL
DEPENDS+= mysql-client>=3.23.35:../../databases/mysql-client
DEPENDS+= iodbc-[0-9]*:../../databases/iodbc
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-mysql-libs=${LOCALBASE}/lib/mysql
CONFIGURE_ARGS+= --with-mysql-includes=${LOCALBASE}/include/mysql
CONFIGURE_ARGS+= --with-iodbc=${LOCALBASE}
CONFIGURE_ARGS+= --with-odbc-ini=${LOCALBASE}/etc/odbc.ini
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
USE_GMAKE= yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/myodbc
${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/myodbc
${INSTALL_DATA} ${WRKSRC}/README-WIN32 ${PREFIX}/share/doc/myodbc
.include "../../mk/bsd.pkg.mk"