2008-02-09 08:06:33 +01:00
|
|
|
# $NetBSD: Makefile,v 1.20 2008/02/09 07:06:33 adam Exp $
|
databases/unixodbc - ODBC 2.x/3.x driver manager
The unixODBC project provides UNIX applications with the same ODBC 3.51
API and facilities available under MS Windows. It provides a Driver Manager
that supports the full ODBC API and performs the ODBC 3 to ODBC 2
translations with UNICODE to ANSI conversion. It also includes a collection
of ODBC drivers including a simple text-based driver, an NNTP driver, a
Postgres driver and others, and a selection of templates and libraries that
to aid in the construction of ODBC drivers. It works with MySQL, Postgres,
StarOffice, Applixware, iHTML, PHP, Perl DBD::ODBC, Paradox 9, and many
other applications and drivers. Connection pooling is also provided to
increase performance with applications such as PHP.
2001-11-06 05:08:33 +01:00
|
|
|
|
2001-12-03 09:09:05 +01:00
|
|
|
PKGNAME= unixodbc-${ODBC_BASE_VERS}
|
databases/unixodbc - ODBC 2.x/3.x driver manager
The unixODBC project provides UNIX applications with the same ODBC 3.51
API and facilities available under MS Windows. It provides a Driver Manager
that supports the full ODBC API and performs the ODBC 3 to ODBC 2
translations with UNICODE to ANSI conversion. It also includes a collection
of ODBC drivers including a simple text-based driver, an NNTP driver, a
Postgres driver and others, and a selection of templates and libraries that
to aid in the construction of ODBC drivers. It works with MySQL, Postgres,
StarOffice, Applixware, iHTML, PHP, Perl DBD::ODBC, Paradox 9, and many
other applications and drivers. Connection pooling is also provided to
increase performance with applications such as PHP.
2001-11-06 05:08:33 +01:00
|
|
|
COMMENT= ODBC 2.x/3.x driver manager
|
|
|
|
|
|
|
|
CONFLICTS+= iodbc-[0-9]*
|
|
|
|
|
|
|
|
.include "../../databases/unixodbc/Makefile.common"
|
|
|
|
|
2007-11-17 13:04:11 +01:00
|
|
|
USE_TOOLS+= flex yacc # to get libodbctxt.la
|
databases/unixodbc - ODBC 2.x/3.x driver manager
The unixODBC project provides UNIX applications with the same ODBC 3.51
API and facilities available under MS Windows. It provides a Driver Manager
that supports the full ODBC API and performs the ODBC 3 to ODBC 2
translations with UNICODE to ANSI conversion. It also includes a collection
of ODBC drivers including a simple text-based driver, an NNTP driver, a
Postgres driver and others, and a selection of templates and libraries that
to aid in the construction of ODBC drivers. It works with MySQL, Postgres,
StarOffice, Applixware, iHTML, PHP, Perl DBD::ODBC, Paradox 9, and many
other applications and drivers. Connection pooling is also provided to
increase performance with applications such as PHP.
2001-11-06 05:08:33 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-gui
|
|
|
|
|
2008-02-09 08:06:33 +01:00
|
|
|
PLIST_SUBST+= UNIXODBC_DRIVERS_DIR=${UNIXODBC_DRIVERS_DIR}
|
|
|
|
FILES_SUBST+= UNIXODBC_DRIVERS_DIR=${UNIXODBC_DRIVERS_DIR}
|
2001-11-19 17:23:08 +01:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
|
2006-01-23 21:50:47 +01:00
|
|
|
CONF_FILES= ${EGDIR}/odbc.ini ${PKG_SYSCONFDIR}/odbc.ini
|
2001-11-25 19:59:45 +01:00
|
|
|
OWN_DIRS= ${PKG_SYSCONFDIR}/ODBCDataSources
|
databases/unixodbc - ODBC 2.x/3.x driver manager
The unixODBC project provides UNIX applications with the same ODBC 3.51
API and facilities available under MS Windows. It provides a Driver Manager
that supports the full ODBC API and performs the ODBC 3 to ODBC 2
translations with UNICODE to ANSI conversion. It also includes a collection
of ODBC drivers including a simple text-based driver, an NNTP driver, a
Postgres driver and others, and a selection of templates and libraries that
to aid in the construction of ODBC drivers. It works with MySQL, Postgres,
StarOffice, Applixware, iHTML, PHP, Perl DBD::ODBC, Paradox 9, and many
other applications and drivers. Connection pooling is also provided to
increase performance with applications such as PHP.
2001-11-06 05:08:33 +01:00
|
|
|
|
|
|
|
post-patch: fix-driver-installation
|
|
|
|
|
2006-01-06 19:36:52 +01:00
|
|
|
SUBST_CLASSES+= paths
|
2006-01-23 21:50:47 +01:00
|
|
|
SUBST_FILES.paths= ${WRKDIR}/odbc.ini
|
2006-01-06 19:36:52 +01:00
|
|
|
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
|
|
|
|
SUBST_SED.paths+= -e 's,@UNIXODBC_DRIVERS_DIR@,${UNIXODBC_DRIVERS_DIR},g'
|
|
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
|
|
|
|
post-extract:
|
2006-01-23 21:50:47 +01:00
|
|
|
${CP} ${FILESDIR}/odbcinst.ini.in ${WRKDIR}/odbc.ini
|
databases/unixodbc - ODBC 2.x/3.x driver manager
The unixODBC project provides UNIX applications with the same ODBC 3.51
API and facilities available under MS Windows. It provides a Driver Manager
that supports the full ODBC API and performs the ODBC 3 to ODBC 2
translations with UNICODE to ANSI conversion. It also includes a collection
of ODBC drivers including a simple text-based driver, an NNTP driver, a
Postgres driver and others, and a selection of templates and libraries that
to aid in the construction of ODBC drivers. It works with MySQL, Postgres,
StarOffice, Applixware, iHTML, PHP, Perl DBD::ODBC, Paradox 9, and many
other applications and drivers. Connection pooling is also provided to
increase performance with applications such as PHP.
2001-11-06 05:08:33 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
2006-01-23 21:50:47 +01:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/odbc.ini ${EGDIR}/odbc.ini
|
databases/unixodbc - ODBC 2.x/3.x driver manager
The unixODBC project provides UNIX applications with the same ODBC 3.51
API and facilities available under MS Windows. It provides a Driver Manager
that supports the full ODBC API and performs the ODBC 3 to ODBC 2
translations with UNICODE to ANSI conversion. It also includes a collection
of ODBC drivers including a simple text-based driver, an NNTP driver, a
Postgres driver and others, and a selection of templates and libraries that
to aid in the construction of ODBC drivers. It works with MySQL, Postgres,
StarOffice, Applixware, iHTML, PHP, Perl DBD::ODBC, Paradox 9, and many
other applications and drivers. Connection pooling is also provided to
increase performance with applications such as PHP.
2001-11-06 05:08:33 +01:00
|
|
|
|
2004-04-25 03:11:11 +02:00
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
databases/unixodbc - ODBC 2.x/3.x driver manager
The unixODBC project provides UNIX applications with the same ODBC 3.51
API and facilities available under MS Windows. It provides a Driver Manager
that supports the full ODBC API and performs the ODBC 3 to ODBC 2
translations with UNICODE to ANSI conversion. It also includes a collection
of ODBC drivers including a simple text-based driver, an NNTP driver, a
Postgres driver and others, and a selection of templates and libraries that
to aid in the construction of ODBC drivers. It works with MySQL, Postgres,
StarOffice, Applixware, iHTML, PHP, Perl DBD::ODBC, Paradox 9, and many
other applications and drivers. Connection pooling is also provided to
increase performance with applications such as PHP.
2001-11-06 05:08:33 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|