freebsd-ports/textproc/nuspell/Makefile
Jan Beich dfe25d73e7 devel/icu: update to 72.1
Changes:	https://github.com/unicode-org/icu/releases/tag/release-72-1
Reported by:	GitHub (watch releases)
PR:		266582
Exp-run by:	antoine
2022-10-19 08:10:29 +00:00

35 lines
864 B
Makefile

PORTNAME= nuspell
DISTVERSIONPREFIX= v
DISTVERSION= 5.1.2
PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Fast and safe spellchecking C++ library
WWW= https://nuspell.github.io/
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
LIB_DEPENDS= libicuuc.so:devel/icu
TEST_DEPENDS= catch>0:devel/catch
USES= cmake:testing compiler:c++17-lang
USE_GITHUB= yes
USE_LDCONFIG= yes
CMAKE_OFF+= ${CMAKE_TESTING_ON}
post-patch:
# Skip README as it only contains install instructions
@${REINPLACE_CMD} -i .doc '/README/d' ${WRKSRC}/CMakeLists.txt
# Respect PREFIX != /usr/local
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \
${WRKSRC}/src/nuspell/finder.cxx
makepatch-clean:
@${RM} ${WRKSRC}/tests/suggestiontest/Makefile.orig
.include <bsd.port.mk>
# XXX Don't override definition in Mk/bsd.port.mk
makepatch: makepatch-clean