aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql-orafce
diff options
context:
space:
mode:
authorTorsten Zuehlsdorff <tz@FreeBSD.org>2017-07-17 11:15:51 +0000
committerTorsten Zuehlsdorff <tz@FreeBSD.org>2017-07-17 11:15:51 +0000
commit4783531927607fa97a627108900429fd90b59f34 (patch)
tree30ace4c332d3d1a2b972c9a84d04445b6e46fdb2 /databases/postgresql-orafce
parent7184f1831f4ab88354cdc15e5b17d62bcf13d663 (diff)
Notes
Diffstat (limited to 'databases/postgresql-orafce')
-rw-r--r--databases/postgresql-orafce/Makefile39
-rw-r--r--databases/postgresql-orafce/distinfo3
-rw-r--r--databases/postgresql-orafce/pkg-descr7
3 files changed, 49 insertions, 0 deletions
diff --git a/databases/postgresql-orafce/Makefile b/databases/postgresql-orafce/Makefile
new file mode 100644
index 000000000000..2d6bed537bba
--- /dev/null
+++ b/databases/postgresql-orafce/Makefile
@@ -0,0 +1,39 @@
+# 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 \
+ %%PORTDOCS%%%%DOCSDIR%%/README.asciidoc \
+ 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
+
+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>
diff --git a/databases/postgresql-orafce/distinfo b/databases/postgresql-orafce/distinfo
new file mode 100644
index 000000000000..c0d846baeb55
--- /dev/null
+++ b/databases/postgresql-orafce/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1495981965
+SHA256 (orafce-orafce-3.4.0-ffea9cc_GH0.tar.gz) = 0dcb9edc6963e8069ee872fa5842a0980557cb8dee2a9d24e23fbc6207bbe738
+SIZE (orafce-orafce-3.4.0-ffea9cc_GH0.tar.gz) = 134333
diff --git a/databases/postgresql-orafce/pkg-descr b/databases/postgresql-orafce/pkg-descr
new file mode 100644
index 000000000000..587008572ea1
--- /dev/null
+++ b/databases/postgresql-orafce/pkg-descr
@@ -0,0 +1,7 @@
+The "orafce" is a module of PostgreSQL. It implements of some functions from
+the Oracle database. The functionality was verified on Oracle 10g, and the
+module is useful for production work. This module contains some useful function
+which can help with porting Oracle application to PostgreSQL or can be useful
+generally.
+
+WWW: https://github.com/orafce/orafce