1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Add postgresql-pllua 0.2.2, PL/Lua procedural language for PostgreSQL

database.

PR:		ports/121139
Submitted by:	sunghyuk
This commit is contained in:
Vanilla I. Shu 2008-03-21 07:42:59 +00:00
parent 4d7e0d666a
commit 9fa9aaa223
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209512
7 changed files with 63 additions and 0 deletions

View File

@ -411,6 +411,7 @@
SUBDIR += postgresql-libpq++
SUBDIR += postgresql-libpqxx
SUBDIR += postgresql-odbc
SUBDIR += postgresql-pllua
SUBDIR += postgresql-plproxy
SUBDIR += postgresql-plpython
SUBDIR += postgresql-plruby

View File

@ -0,0 +1,33 @@
# New Ports collection makefile for: postgresql-pllua
# Date created: 27 Feb 2008
# Whom: sunghyuk
#
# $FreeBSD$
#
PORTNAME= pllua
PORTVERSION= 0.2.2
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/1602/
PKGNAMEPREFIX= postgresql-
MAINTAINER= sunghyuk@gmail.com
COMMENT= PL/Lua procedural language for PostgreSQL database
USE_PGSQL= yes
USE_GMAKE= yes
USE_LUA= 5.1+
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKSRC}/pkg-message
post-patch:
@${REINPLACE_CMD} -e 's|%LUA_INC%|${LUA_INCDIR}|g' \
-e 's|%LUA_LIB%|${LUA_LIBDIR}|g' \
${WRKSRC}/Makefile
post-install:
@${ECHO_MSG} ''
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG} ''
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (pllua-0.2.2.tar.gz) = 5d68a539fec0ea49bd08fa91698b9c8a
SHA256 (pllua-0.2.2.tar.gz) = 2e7a5b970d2ea3b50ff1814460a0703ffb4cdd3a8e19a79a2e30fa82cbdf03ed
SIZE (pllua-0.2.2.tar.gz) = 22345

View File

@ -0,0 +1,13 @@
--- Makefile.orig 2008-02-27 11:29:32.000000000 +0900
+++ Makefile 2008-02-27 11:30:16.000000000 +0900
@@ -4,8 +4,8 @@
# Lua specific
# General
-LUAINC =
-LUALIB = -llua
+LUAINC = -I%LUA_INC%
+LUALIB = -L%LUA_LIB% -llua
# Debian/Ubuntu
#LUAINC = -I/usr/include/lua5.1

View File

@ -0,0 +1,3 @@
Use the following sql script to create PL/Lua
ex) psql -f %%PREFIX%%/share/postgresql/contrib/pllua.sql <database>

View File

@ -0,0 +1,5 @@
PL/Lua is an implementation of Lua as a loadable procedural language
for PostgreSQL: with PL/Lua you can use PostgreSQL functions and
triggers written in the Lua programming language.
WWW: http://pllua.projects.postgresql.org/

View File

@ -0,0 +1,5 @@
lib/postgresql/pllua.so
share/postgresql/contrib/pllua.sql
@dirrmtry lib/postgresql
@dirrmtry share/postgresql/contrib
@dirrmtry share/postgresql