mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
40 lines
938 B
Makefile
40 lines
938 B
Makefile
# Created by: Jov <amutu@amutu.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= orafce
|
|
PORTVERSION= 3.4.0
|
|
CATEGORIES= databases
|
|
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
|
|
|
|
MAINTAINER= amutu@amutu.com
|
|
COMMENT= Oracle's compatibility functions and packages for PostgreSQL
|
|
|
|
LICENSE= PostgreSQL
|
|
|
|
USES= gmake bison pgsql:9.2+
|
|
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>
|