blob: 100fb55cbb8ac4c6905126a3e61f398f11162b64 (
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
|
# Created by: Jov <amutu@amutu.com>
# $FreeBSD$
PORTNAME= orafce
PORTVERSION= 3.4.0
PORTREVISION= 2
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
MAINTAINER= ports@FreeBSD.org
COMMENT= Oracle's compatibility functions and packages for PostgreSQL
LICENSE= PostgreSQL
USES= gmake bison pgsql:9.2+
LLD_UNSAFE= yes
USE_GITHUB= yes
GH_TAGNAME= ffea9cc
WANT_PGSQL= server
PLIST_FILES= lib/postgresql/orafce.so \
share/postgresql/extension/orafce--3.2--3.3.sql \
share/postgresql/extension/orafce--3.3--3.4.sql \
share/postgresql/extension/orafce--3.4.sql \
share/postgresql/extension/orafce.control
PORTDOCS= README.asciidoc
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's/DOCS = README/#&/' ${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/orafce.so
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.asciidoc ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|