freebsd-ports/databases/postgresql-odbc/Makefile
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00

45 lines
1,012 B
Makefile

# $FreeBSD$
PORTNAME= postgresql
PORTVERSION= 10.03.0000
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= PGSQL/odbc/versions/src
PKGNAMESUFFIX= -odbc
DISTNAME= psqlodbc-${PORTVERSION}
DIST_SUBDIR= postgresql
MAINTAINER= bofh@FreeBSD.org
COMMENT= PostgreSQL ODBC driver
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/license.txt
LIB_DEPENDS= libodbc.so:databases/unixODBC
USES= compiler:c11 libtool pgsql
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-unixodbc=${LOCALBASE}
INSTALL_TARGET= install-strip
CFLAGS+= -std=c11
DOCSDIR= ${PREFIX}/share/doc/postgresql/odbc
EXAMPLESDIR= ${PREFIX}/share/examples/postgresql/odbc
PORTDOCS= *
PORTEXAMPLES= *
PLIST_FILES= lib/psqlodbcw.so lib/psqlodbca.so
OPTIONS_DEFINE= DOCS EXAMPLES
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}/
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/*.sql ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>