blob: 64294cbba3d2d6e171905aed8c24c5cdba4c8099 (
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
|
PORTNAME= orafce
DISTVERSIONPREFIX= VERSION_
DISTVERSION= 3_13_4
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
MAINTAINER= ports@FreeBSD.org
COMMENT= Oracle's compatibility functions and packages for PostgreSQL
LICENSE= 0BSD
LICENSE_NAME= Zero-Clause BSD / Free Public License 1.0.0
LICENSE_FILE= ${WRKSRC}/COPYRIGHT.orafce
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= gmake pgsql:9.5+
USE_GITHUB= yes
LLD_UNSAFE= yes
WANT_PGSQL= server
PORTDOCS= COPYRIGHT.orafce NEWS 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}
@(for f in ${PORTDOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$${f} ${STAGEDIR}${DOCSDIR}; done)
.include <bsd.port.mk>
|