mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
2dcaa8bee5
Stemming algorithms library for the C language provided by the snowball project. WWW: https://snowballstem.org/ Port structure inspired by NetBSD and OpenBSD ones. This is a new requirement of future deskutils/calibre versions.
37 lines
894 B
Makefile
37 lines
894 B
Makefile
PORTNAME= snowballstemmer
|
|
PORTVERSION= 2.1.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= madpilot@FreeBSD.org
|
|
COMMENT= Snowball stemmer library for C
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USES= gmake perl5
|
|
USE_PERL5= build
|
|
USE_LDCONFIG= yes
|
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= snowballstem
|
|
GH_PROJECT= snowball
|
|
|
|
PLIST_FILES= bin/stemwords \
|
|
include/libstemmer.h \
|
|
lib/libstemmer.so \
|
|
lib/libstemmer.so.0 \
|
|
lib/libstemmer.so.0.0.0
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/stemwords ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/include/libstemmer.h ${STAGEDIR}${PREFIX}/include
|
|
${INSTALL_LIB} ${WRKSRC}/libstemmer.so.0.0.0 ${STAGEDIR}${PREFIX}/lib
|
|
${RLN} ${STAGEDIR}${PREFIX}/lib/libstemmer.so.0.0.0 \
|
|
${STAGEDIR}${PREFIX}/lib/libstemmer.so.0
|
|
${RLN} ${STAGEDIR}${PREFIX}/lib/libstemmer.so.0.0.0 \
|
|
${STAGEDIR}${PREFIX}/lib/libstemmer.so
|
|
|
|
.include <bsd.port.mk>
|