aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2008-01-05 12:40:28 +0800
committerkuriyama <kuriyama@FreeBSD.org>2008-01-05 12:40:28 +0800
commite975768e38d44c718c34b99efe6adac058343716 (patch)
treed6c592bb16417944b3a1ca062d724a2aa7bed4b8
parentcfd9752426c747c505e5befffd7e56d1ed0c6d65 (diff)
downloadfreebsd-ports-gnome-e975768e38d44c718c34b99efe6adac058343716.tar.gz
freebsd-ports-gnome-e975768e38d44c718c34b99efe6adac058343716.tar.zst
freebsd-ports-gnome-e975768e38d44c718c34b99efe6adac058343716.zip
PostgreSQL extension for full-text search indexing.
WWW: http://sourceforge.jp/projects/ludia (Japanese)
-rw-r--r--databases/Makefile1
-rw-r--r--databases/ludia/Makefile49
-rw-r--r--databases/ludia/distinfo3
-rw-r--r--databases/ludia/pkg-descr3
-rw-r--r--databases/ludia/pkg-plist6
5 files changed, 62 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index a59d6280ee8c..39f506f059ae 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -120,6 +120,7 @@
SUBDIR += linux-oracle-instantclient-sdk
SUBDIR += linux-oracle-instantclient-sqlplus
SUBDIR += lsdb
+ SUBDIR += ludia
SUBDIR += mantis
SUBDIR += mdbtools
SUBDIR += memcached
diff --git a/databases/ludia/Makefile b/databases/ludia/Makefile
new file mode 100644
index 000000000000..47d46e421e14
--- /dev/null
+++ b/databases/ludia/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: Ludia
+# Date created: January 5, 2008
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ludia
+PORTVERSION= 1.4.0
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
+MASTER_SITE_SUBDIR= ludia/28482
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= PostgreSQL extension for full-text search indexing
+
+PGSQL_PORT= ${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
+RUN_DEPENDS= ${LOCALBASE}/bin/postmaster:${PGSQL_PORT} \
+ senna-cfg:${PORTSDIR}/textproc/senna
+BUILD_DEPENDS= ${LOCALBASE}/bin/postmaster:${PGSQL_PORT} \
+ senna-cfg:${PORTSDIR}/textproc/senna
+
+GNU_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+# let configure find postgres stuff in non-standard places
+CONFIGURE_ARGS+=--with-pgconfigdir=${LOCALBASE}/bin \
+ --with-pgbindir=${LOCALBASE}/bin \
+ --with-pgincludedir=${LOCALBASE}/include \
+ --with-pgincludeserverdir=${LOCALBASE}/include/postgresql/server \
+ --with-pglibdir=${LOCALBASE}/lib \
+ --with-pgpkglibdir=${LOCALBASE}/lib/postgresql \
+ --with-pgsharedir=${LOCALBASE}/share/postgresql
+
+DEFAULT_PGSQL_VER?=82
+
+# Setting/finding PostgreSQL version we want.
+.if exists(${LOCALBASE}/bin/postmaster)
+PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | \
+ ${SED} -En 's/.*PostgreSQL[^0-9]*([0-9]+)\.([0-9]+)\..*/\1\2/p'
+.elif exists(${LOCALBASE}/bin/pg_config)
+PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | \
+ ${SED} -En 's/PostgreSQL[^0-9]*([0-9]*)\.([0-9]+)\..*/\1\2/p'
+.else
+PGSQL_VER= ${DEFAULT_PGSQL_VER}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/ludia/distinfo b/databases/ludia/distinfo
new file mode 100644
index 000000000000..c27b118f1503
--- /dev/null
+++ b/databases/ludia/distinfo
@@ -0,0 +1,3 @@
+MD5 (ludia-1.4.0.tar.gz) = 36ad22f0c9296de4d66332de30c88640
+SHA256 (ludia-1.4.0.tar.gz) = cbeadd6ed68930b0a48bdb7c8267ac0f0e2f169b5ed49cc1f6a4ac69c3566c24
+SIZE (ludia-1.4.0.tar.gz) = 415234
diff --git a/databases/ludia/pkg-descr b/databases/ludia/pkg-descr
new file mode 100644
index 000000000000..e3c4f8263333
--- /dev/null
+++ b/databases/ludia/pkg-descr
@@ -0,0 +1,3 @@
+PostgreSQL extension for full-text search indexing.
+
+WWW: http://sourceforge.jp/projects/ludia (Japanese)
diff --git a/databases/ludia/pkg-plist b/databases/ludia/pkg-plist
new file mode 100644
index 000000000000..55b64c32c4c6
--- /dev/null
+++ b/databases/ludia/pkg-plist
@@ -0,0 +1,6 @@
+lib/postgresql/pgsenna2.a
+lib/postgresql/pgsenna2.la
+lib/postgresql/pgsenna2.so
+lib/postgresql/pgsenna2.so.0
+share/postgresql/pgsenna2.sql
+share/postgresql/uninstall_pgsenna2.sql