svn commit: r326569 - in head/databases: . postgresql-plv8js postgresql-plv8js/files
Vanilla I. Shu
vanilla at FreeBSD.org
Sat Sep 7 04:19:14 UTC 2013
Author: vanilla
Date: Sat Sep 7 04:19:12 2013
New Revision: 326569
URL: http://svnweb.freebsd.org/changeset/ports/326569
Log:
add postgresql-plv8js, it's procedural language base on v8js.
Added:
head/databases/postgresql-plv8js/
head/databases/postgresql-plv8js/Makefile (contents, props changed)
head/databases/postgresql-plv8js/distinfo (contents, props changed)
head/databases/postgresql-plv8js/files/
head/databases/postgresql-plv8js/files/patch-Makefile (contents, props changed)
head/databases/postgresql-plv8js/files/pkg-message.in (contents, props changed)
head/databases/postgresql-plv8js/pkg-descr (contents, props changed)
head/databases/postgresql-plv8js/pkg-plist (contents, props changed)
Modified:
head/databases/Makefile
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Sat Sep 7 02:45:29 2013 (r326568)
+++ head/databases/Makefile Sat Sep 7 04:19:12 2013 (r326569)
@@ -669,6 +669,7 @@
SUBDIR += postgresql-pllua
SUBDIR += postgresql-plproxy
SUBDIR += postgresql-plruby
+ SUBDIR += postgresql-plv8js
SUBDIR += postgresql-relay
SUBDIR += postgresql-repmgr
SUBDIR += postgresql84-client
Added: head/databases/postgresql-plv8js/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql-plv8js/Makefile Sat Sep 7 04:19:12 2013 (r326569)
@@ -0,0 +1,29 @@
+# Created by: vanilla@
+# $FreeBSD$
+
+PORTNAME= plv8js
+PORTVERSION= 1.4.1
+CATEGORIES= databases
+MASTER_SITES= GOOGLE_CODE
+PKGNAMEPREFIX= postgresql-
+DISTNAME= plv8-${PORTVERSION}
+
+MAINTAINER= vanilla at FreeBSD.org
+COMMENT= PL/v8js procedural language for PostgreSQL database
+
+LIB_DEPENDS+= libv8.so:${PORTSDIR}/lang/v8
+
+USES= gmake
+USE_ZIP= yes
+USE_PGSQL= yes
+WANT_PGSQL_VER= 91+
+
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKSRC}/pkg-message
+
+post-install:
+ @${ECHO_MSG} ''
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG} ''
+
+.include <bsd.port.mk>
Added: head/databases/postgresql-plv8js/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql-plv8js/distinfo Sat Sep 7 04:19:12 2013 (r326569)
@@ -0,0 +1,2 @@
+SHA256 (plv8-1.4.1.zip) = 60442c8f7432760381931e7e7772c0fd19023b714c1d324474b0b428dd61eed7
+SIZE (plv8-1.4.1.zip) = 162213
Added: head/databases/postgresql-plv8js/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql-plv8js/files/patch-Makefile Sat Sep 7 04:19:12 2013 (r326569)
@@ -0,0 +1,11 @@
+--- Makefile.orig 2013-09-07 11:00:59.000000000 +0800
++++ Makefile 2013-09-07 11:01:29.000000000 +0800
+@@ -21,7 +21,7 @@ PG_VERSION_NUM := $(shell cat `$(PG_CONF
+ | perl -ne 'print $$1 and exit if /PG_VERSION_NUM\s+(\d+)/')
+
+ # set your custom C++ compler
+-CUSTOM_CC = g++
++CUSTOM_CC := $(CXX)
+ JSS = coffee-script.js livescript.js
+ # .cc created from .js
+ JSCS = $(JSS:.js=.cc)
Added: head/databases/postgresql-plv8js/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql-plv8js/files/pkg-message.in Sat Sep 7 04:19:12 2013 (r326569)
@@ -0,0 +1,5 @@
+Use the following sql script to create PL/v8js
+
+ psql -c 'CREATE EXTENSION plv8'
+ psql -c 'CREATE EXTENSION plls'
+ psql -c 'CREATE EXTENSION plcoffee'
Added: head/databases/postgresql-plv8js/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql-plv8js/pkg-descr Sat Sep 7 04:19:12 2013 (r326569)
@@ -0,0 +1,5 @@
+plv8js is a procedural language add-on for PostgreSQL,
+which means you can define JavaScript functions
+that run inside a PostgreSQL server using google V8 Engine.
+
+WWW: https://code.google.com/p/plv8js/
Added: head/databases/postgresql-plv8js/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql-plv8js/pkg-plist Sat Sep 7 04:19:12 2013 (r326569)
@@ -0,0 +1,10 @@
+lib/postgresql/plv8.so
+share/postgresql/extension/plv8.control
+share/postgresql/extension/plv8--%%PORTVERSION%%.sql
+share/postgresql/extension/plcoffee.control
+share/postgresql/extension/plcoffee--%%PORTVERSION%%.sql
+share/postgresql/extension/plls.control
+share/postgresql/extension/plls--%%PORTVERSION%%.sql
+ at dirrmtry share/postgresql/extension
+ at dirrmtry share/postgresql
+ at dirrmtry lib/postgresql
More information about the svn-ports-head
mailing list