openbsd-ports/databases/postgresql-odbc/Makefile
2013-03-21 08:45:11 +00:00

35 lines
806 B
Makefile

# $OpenBSD: Makefile,v 1.11 2013/03/21 08:45:14 ajacoutot Exp $
COMMENT= ODBC driver for PostgreSQL
VERSION= 08.03.0400
PKGNAME= postgresql-odbc-${VERSION}
DISTNAME= psqlodbc-${VERSION}
CATEGORIES= databases
REVISION = 1
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/
SHARED_ONLY = Yes
LIB_DEPENDS = databases/postgresql>=8.3 \
databases/iodbc
WANTLIB = pq iodbc iodbcinst pthread com_err crypto ssl
USE_GMAKE= Yes
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.60
CONFIGURE_ARGS+= --with-iodbc --without-unixodbc --enable-pthreads
COPTS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
NO_TEST= Yes
.include <bsd.port.mk>