databases/postgresql-zhparser 2.3 MidnightBSD
PostgreSQL extension for full-text search of Chinese
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
43c28f8bd0- License
- pgsql
- Categories
- databases
Description
Zhparser is a PostgreSQL extension for full-text search of Chinese. It uses Simple Chinese Word Segmentation (SCWS) as driver and is highly configurable and easy to use. The default dictionary of Zhparser is for Simplified Chinese. If you use Traditional Chinese, you can download the dictionary from the SCWS official site.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | databases/postgresql-zhparser | 2.3 |
| FreeBSD | databases/postgresql-zhparser | 2.3 |
| DragonFly | databases/postgresql-zhparser | 2.2 |
| HardenedBSD | databases/postgresql-zhparser | 2.3 |
| GhostBSD | databases/postgresql-zhparser | 2.3 |
Install
Binary package:
mport install postgresql${PGSQL_VER:S/.//}-zhparser
From mports:
cd /usr/mports/databases/postgresql-zhparser && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= postgresql${PGSQL_VER:S/.//}-zhparser>0:databases/postgresql-zhparser
Dependencies
As this port's Makefile names them.
Library 1
libscws.so: textproc/scws
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- gmake pgsql:11+
- Service scripts
- none
Files
pkg-plist 13
- lib/postgresql/zhparser.so
- share/postgresql/extension/zhparser--1.0--2.0.sql
- share/postgresql/extension/zhparser--1.0.sql
- share/postgresql/extension/zhparser--2.0--2.1.sql
- share/postgresql/extension/zhparser--2.0.sql
- share/postgresql/extension/zhparser--2.1--2.2.sql
- share/postgresql/extension/zhparser--2.1.sql
- share/postgresql/extension/zhparser--2.2.sql
- share/postgresql/extension/zhparser--2.3.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
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| amutu-zhparser-v2.3_GH0.tar.gz | 6.106433e+06 | 96fe19f1b72c922eab19ecfc305384381562ff840da4d3b77452e21fefe8f0d2 |
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
43c28f8bd0 |
Lucas Holt | Add PostgreSQL 15-18 ports and update database ports Import the missing PostgreSQL version families and extensions, extend pgsql version selection, and update PostgreSQL 14, JDBC, and libpqxx.
AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |