Torsten Zuehlsdorff db9e715a0b databases/postgresql-zhparser: Upgrade from 2.2 to 2.3
Changelog:

    * add CI for linux and freebsd
    * do not create custom txt file when new install
    * add dockerfile for debian and alpine
    * fix linux CI, bump PG version to 16 for linux
    * fix client notice "NOTICE: zhparser add dict..."

  Taken from:

    * https://github.com/amutu/zhparser/releases/tag/v2.3

Sponsored by:	OTTRIA GmbH
2025-11-12 23:36:28 +01:00

28 lines
543 B
Makefile

PORTNAME= zhparser
PORTVERSION= 2.3
DISTVERSIONPREFIX= v
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
MAINTAINER= ports@FreeBSD.org
COMMENT= PostgreSQL extension for full-text search of Chinese
WWW= https://github.com/amutu/zhparser
LICENSE= PostgreSQL
LIB_DEPENDS= libscws.so:textproc/scws
USES= gmake pgsql:11+
LLD_UNSAFE= yes
USE_GITHUB= yes
GH_ACCOUNT= amutu
WANT_PGSQL= server
MAKE_ENV= SCWS_HOME=${PREFIX}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/zhparser.so
.include <bsd.port.mk>