blob: 2b3c16fdf4c96414670a0a9643e6c13aed48a3bd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $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>
|