mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
11f82ec66b
- Take MAINTAINERSHIP Approved by: bapt marino (implicit)
43 lines
941 B
Makefile
43 lines
941 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= postgresql
|
|
PORTVERSION= 09.03.0400
|
|
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:${PORTSDIR}/databases/unixODBC
|
|
|
|
USES= libtool pgsql
|
|
USE_OPENSSL= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-unixodbc=${LOCALBASE}
|
|
INSTALL_TARGET= install-strip
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/postgresql/odbc
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/postgresql/odbc
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
PLIST_FILES= lib/psqlodbcw.so
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.sql ${STAGEDIR}${EXAMPLESDIR}/
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|