aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-07-19 01:05:45 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-07-19 01:05:45 +0800
commiteb05e9aa3ccec18c28346c5f13f7646c19d16e48 (patch)
tree1cf9030753f833c79ca4d27a07294620b092c02b
parent94048745086553f1b41c31252c07622cf1ebc5fe (diff)
downloadfreebsd-ports-graphics-eb05e9aa3ccec18c28346c5f13f7646c19d16e48.tar.gz
freebsd-ports-graphics-eb05e9aa3ccec18c28346c5f13f7646c19d16e48.tar.zst
freebsd-ports-graphics-eb05e9aa3ccec18c28346c5f13f7646c19d16e48.zip
- Fix build
- While here, add LICENSE PR: 211026 Submitted by: sunghyuk@gmail.com (maintainer)
-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