aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql-pllua/Makefile5
-rw-r--r--databases/postgresql-pllua/files/pkg-message.in2
-rw-r--r--databases/postgresql-pllua/pkg-plist3
3 files changed, 7 insertions, 3 deletions
diff --git a/databases/postgresql-pllua/Makefile b/databases/postgresql-pllua/Makefile
index 1dd024239a0..bc43980f225 100644
--- a/databases/postgresql-pllua/Makefile
+++ b/databases/postgresql-pllua/Makefile
@@ -3,6 +3,7 @@
PORTNAME= pllua
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/3481/
PKGNAMEPREFIX= postgresql-
@@ -10,7 +11,9 @@ PKGNAMEPREFIX= postgresql-
MAINTAINER= sunghyuk@gmail.com
COMMENT= PL/Lua procedural language for PostgreSQL database
-USES+= gmake lua pgsql:9.1-
+LICENSE= MIT
+
+USES= gmake lua pgsql:9.1-
INSTALL_TARGET= install-strip
SUB_FILES= pkg-message
diff --git a/databases/postgresql-pllua/files/pkg-message.in b/databases/postgresql-pllua/files/pkg-message.in
index b94e61ae912..d611db0feca 100644
--- a/databases/postgresql-pllua/files/pkg-message.in
+++ b/databases/postgresql-pllua/files/pkg-message.in
@@ -1,3 +1,3 @@
Use the following sql script to create PL/Lua
- ex) psql -f %%PREFIX%%/share/postgresql/contrib/pllua.sql <database>
+ ex) psql -c "CREATE EXTENSION pllua" <database>
diff --git a/databases/postgresql-pllua/pkg-plist b/databases/postgresql-pllua/pkg-plist
index 9086d43565d..aa50810224d 100644
--- a/databases/postgresql-pllua/pkg-plist
+++ b/databases/postgresql-pllua/pkg-plist
@@ -1,2 +1,3 @@
lib/postgresql/pllua.so
-share/postgresql/contrib/pllua--1.0.sql
+share/postgresql/extension/pllua--1.0.sql
+share/postgresql/extension/pllua.control