mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
f4f46a920e
Always rely on unixODBC each time a port is looking for libodbc.so Remove odbc compat from libiodbc This allows to install both kde and gnome at the same time While here: - Convert libiodbc to USES=libtool - Convert a bunch of libiodbc dependencies to USES=libtool - Chase libiodbc.so shlib change - Stagify some ports - Convert some ports to USES=pgsql Discussed with: rakuco (kde) With hat: portmgr
43 lines
959 B
Makefile
43 lines
959 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= postgresql
|
|
PORTVERSION= 09.01.0200
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_PGSQL}
|
|
MASTER_SITE_SUBDIR= odbc/versions/src
|
|
PKGNAMESUFFIX= -odbc
|
|
DISTNAME= psqlodbc-${PORTVERSION}
|
|
DIST_SUBDIR= postgresql
|
|
|
|
MAINTAINER= pclin@FreeBSD.org
|
|
COMMENT= PostgreSQL ODBC driver
|
|
|
|
LICENSE= LGPL20
|
|
|
|
USES= libtool pgsql
|
|
USE_OPENSSL= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
PORTDOCS= odbc/
|
|
PORTEXAMPELS= odbc/
|
|
PLIST_FILES= lib/psqlodbcw.so
|
|
|
|
LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC
|
|
BUILD_DEPENDS+= unixODBC>=2.2.14_1:${PORTSDIR}/databases/unixODBC
|
|
CONFIGURE_ARGS+= --with-unixodbc=${LOCALBASE}
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
DATADIR_1= ${EXAMPLESDIR}/odbc
|
|
DOCSDIR_1= ${DOCSDIR}/odbc
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR_1}
|
|
${INSTALL_DATA} ${WRKSRC}/*.sql ${STAGEDIR}${DATADIR_1}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR_1}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR_1}
|
|
|
|
.include <bsd.port.mk>
|