mirror of
https://git.freebsd.org/ports.git
synced 2025-05-04 07:27:38 -04:00
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE with the OSVERSION 1302507. - Utilize USE_CXXSTD=c++14 or similar solution where applicable - Update conditionals to addtionally check for OSVERSION greater than 1302507 and less than 1400000 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
34 lines
845 B
Makefile
34 lines
845 B
Makefile
PORTNAME= lttoolbox
|
|
DISTVERSION= 3.7.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= https://github.com/apertium/${PORTNAME}/releases/download/v${DISTVERSION}/
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Tool for lexical, morphological analysis and generation of words
|
|
WWW= https://wiki.apertium.org/wiki/Lttoolbox
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= utf8cpp>0:devel/utf8cpp
|
|
LIB_DEPENDS= libicuio.so:devel/icu \
|
|
libxml2.so:textproc/libxml2
|
|
|
|
USES= autoreconf compiler:c++14-lang libtool pathfix pkgconfig tar:bz2
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include/utf8cpp
|
|
LDFLAGS+= -lpthread
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
|
|
EXTRA_PATCHES= ${FILESDIR}/extra-patch-llvm16
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|