2013-03-10 22:52:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2013/03/11 02:52:07 espie Exp $
|
2008-10-29 20:01:31 -04:00
|
|
|
|
|
|
|
COMMENT= ODBC driver for PostgreSQL
|
2009-06-19 12:48:03 -04:00
|
|
|
VERSION= 08.03.0400
|
|
|
|
PKGNAME= postgresql-odbc-${VERSION}
|
2008-10-29 20:01:31 -04:00
|
|
|
DISTNAME= psqlodbc-${VERSION}
|
|
|
|
CATEGORIES= databases
|
2011-11-04 04:16:23 -04:00
|
|
|
REVISION = 1
|
2008-10-29 20:01:31 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://pgfoundry.org/projects/psqlodbc/
|
|
|
|
|
|
|
|
MAINTAINER= Paul Irofti <pirofti@openbsd.org>
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ftp://ftp9.us.postgresql.org/pub/mirrors/postgresql/odbc/versions/src/
|
|
|
|
|
2010-11-06 18:50:02 -04:00
|
|
|
SHARED_ONLY = Yes
|
2008-10-29 20:01:31 -04:00
|
|
|
|
2010-11-26 02:18:59 -05:00
|
|
|
LIB_DEPENDS = databases/postgresql>=8.3 \
|
2010-11-14 19:22:45 -05:00
|
|
|
databases/iodbc
|
2008-10-29 20:01:31 -04:00
|
|
|
|
2011-11-04 04:16:23 -04:00
|
|
|
WANTLIB = pq iodbc iodbcinst pthread com_err crypto ssl
|
2008-10-29 20:01:31 -04:00
|
|
|
|
2010-11-06 18:50:02 -04:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
2008-10-29 20:01:31 -04:00
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.60
|
|
|
|
CONFIGURE_ARGS+= --with-iodbc --without-unixodbc --enable-pthreads
|
|
|
|
COPTS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
|
|
|
|
2013-03-10 22:52:04 -04:00
|
|
|
NO_TEST= Yes
|
2008-10-29 20:01:31 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|