[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / odbc-postgresql

File: [cvs.NetBSD.org] / pkgsrc / databases / odbc-postgresql / Makefile (download)

Revision 1.24, Sat Jan 18 21:48:57 2020 UTC (5 months, 2 weeks ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, HEAD
Changes since 1.23: +2 -2 lines

*: Recursive revision bump for openssl 1.1.1.

# $NetBSD: Makefile,v 1.24 2020/01/18 21:48:57 jperkin Exp $

DISTNAME=	psqlodbc-09.00.0200
PKGNAME=	odbc-postgresql-9.0.200
PKGREVISION=	6
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_PGSQL:=odbc/versions/src/}

MAINTAINER=	adam@NetBSD.org
HOMEPAGE=	http://pgfoundry.org/projects/psqlodbc/
COMMENT=	ODBC interface to PostgreSQL
LICENSE=	gnu-gpl-v2

CONFLICTS+=	postgresql-[0-7]*
CONFLICTS+=	iodbc-postgresql-[0-9]*
CONFLICTS+=	unixodbc-postgresql-[0-9]*

USE_LANGUAGES=		c
USE_LIBTOOL=		yes
USE_TOOLS+=		gmake
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-iodbc
CONFIGURE_ARGS+=	--without-unixodbc

INSTALLATION_DIRS=	share/doc/postgresql/odbc
INSTALLATION_DIRS+=	share/postgresql

post-install:
	${INSTALL_DATA} ${WRKSRC}/odbc.sql \
		${DESTDIR}${PREFIX}/share/postgresql/odbc.sql
	${INSTALL_DATA} ${WRKSRC}/odbc-drop.sql \
		${DESTDIR}${PREFIX}/share/postgresql/odbc-drop.sql
	${INSTALL_DATA} ${WRKSRC}/docs/* ${DESTDIR}${PREFIX}/share/doc/postgresql/odbc/

.include "../../databases/iodbc/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"