openbsd-ports/databases/postgresql-odbc/Makefile
2009-03-14 12:24:48 +00:00

39 lines
922 B
Makefile

# $Id: Makefile,v 1.2 2009/03/14 12:24:48 espie Exp $
COMMENT= ODBC driver for PostgreSQL
VERSION= 08.03.0300
PKGNAME= postgresql-odbc-${VERSION}p0
DISTNAME= psqlodbc-${VERSION}
CATEGORIES= databases
HOMEPAGE= http://pgfoundry.org/projects/psqlodbc/
MAINTAINER= Paul Irofti <pirofti@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp9.us.postgresql.org/pub/mirrors/postgresql/odbc/versions/src/
SHARED_ONLY=yes
LIB_DEPENDS= pq:postgresql-client->=8.3,<8.4:databases/postgresql \
iodbcinst:iodbc-*:databases/iodbc \
iodbc:iodbc-*:databases/iodbc
WANTLIB= pthread
USE_GMAKE= YES
USE_LIBTOOL= YES
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.60
CONFIGURE_ARGS+= --with-iodbc --without-unixodbc --enable-pthreads
COPTS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
NO_REGRESS= Yes
.include <bsd.port.mk>