freebsd-ports/databases/postgresql-zhparser/Makefile
2023-06-26 06:58:27 +08:00

27 lines
543 B
Makefile

PORTNAME= zhparser
PORTVERSION= 2.2
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>