svn commit: r446061 - in head/databases: . postgresql-zhparser
Torsten Zuehlsdorff
tz at FreeBSD.org
Mon Jul 17 10:20:44 UTC 2017
Author: tz
Date: Mon Jul 17 10:20:42 2017
New Revision: 446061
URL: https://svnweb.freebsd.org/changeset/ports/446061
Log:
New port: databases/postgresql-zhparser
Zhparser is a PostgreSQL extension for full-text search of Chinese. It use
Simple Chinese Word Segmentation (SCWS) as driver and highly configurable and
easy to use. The default dictionary of Zhparser is for Simplified Chinese. If
you use Tranditional Chinese,you can download the dicionary from SCWS offical
site.
WWW: https://github.com/amutu/zhparser
PR: 219649
Submitted by: Jov <amutu at amutu.com>
Added:
head/databases/postgresql-zhparser/
head/databases/postgresql-zhparser/Makefile (contents, props changed)
head/databases/postgresql-zhparser/distinfo (contents, props changed)
head/databases/postgresql-zhparser/pkg-descr (contents, props changed)
Modified:
head/databases/Makefile
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Mon Jul 17 10:20:24 2017 (r446060)
+++ head/databases/Makefile Mon Jul 17 10:20:42 2017 (r446061)
@@ -672,6 +672,7 @@
SUBDIR += postgresql-repmgr
SUBDIR += postgresql-repmgr2
SUBDIR += postgresql-tds_fdw
+ SUBDIR += postgresql-zhparser
SUBDIR += postgresql92-client
SUBDIR += postgresql92-contrib
SUBDIR += postgresql92-docs
Added: head/databases/postgresql-zhparser/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql-zhparser/Makefile Mon Jul 17 10:20:42 2017 (r446061)
@@ -0,0 +1,35 @@
+# Created by: Jov <amutu at amutu.com>
+# $FreeBSD$
+
+PORTNAME= zhparser
+PORTVERSION= 0.2.0
+DISTVERSIONPREFIX= v
+CATEGORIES= databases
+PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
+
+MAINTAINER= amutu at amutu.com
+COMMENT= PostgreSQL extension for full-text search of Chinese
+
+LICENSE= PostgreSQL
+
+LIB_DEPENDS= libscws.so:textproc/scws
+
+USES= gmake pgsql:9.2+
+USE_GITHUB= yes
+GH_ACCOUNT= amutu
+
+WANT_PGSQL= server
+
+MAKE_ENV= SCWS_HOME=${PREFIX}
+
+PLIST_FILES= lib/postgresql/zhparser.so \
+ share/postgresql/extension/zhparser--1.0.sql \
+ share/postgresql/extension/zhparser--unpackaged--1.0.sql \
+ share/postgresql/extension/zhparser.control \
+ share/postgresql/tsearch_data/dict.utf8.xdb \
+ share/postgresql/tsearch_data/rules.utf8.ini
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/zhparser.so
+
+.include <bsd.port.mk>
Added: head/databases/postgresql-zhparser/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql-zhparser/distinfo Mon Jul 17 10:20:42 2017 (r446061)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1496108378
+SHA256 (amutu-zhparser-v0.2.0_GH0.tar.gz) = 993e4d6cc919f62d597c244f86a28fdbebbfd8c7b9cfaae12768a1e92688bc45
+SIZE (amutu-zhparser-v0.2.0_GH0.tar.gz) = 6101901
Added: head/databases/postgresql-zhparser/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql-zhparser/pkg-descr Mon Jul 17 10:20:42 2017 (r446061)
@@ -0,0 +1,7 @@
+Zhparser is a PostgreSQL extension for full-text search of Chinese. It use
+Simple Chinese Word Segmentation (SCWS) as driver and highly configurable and
+easy to use. The default dictionary of Zhparser is for Simplified Chinese. If
+you use Tranditional Chinese,you can download the dicionary from SCWS offical
+site.
+
+WWW: https://github.com/amutu/zhparser
More information about the svn-ports-head
mailing list