freebsd-ports/devel/ticcutils/Makefile
2022-05-22 23:17:16 +03:00

35 lines
966 B
Makefile

PORTNAME= ticcutils
DISTVERSIONPREFIX= v
DISTVERSION= 0.28
PORTREVISION= 4
CATEGORIES= devel textproc
MAINTAINER= yuri@FreeBSD.org
COMMENT= Generic utility library shared by the Tilburg University software
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive
LIB_DEPENDS= libboost_regex.so:devel/boost-libs \
libicui18n.so:devel/icu \
libtar.so:devel/libtar
USES= autoreconf compiler:c++11-lib gmake gnome libtool localbase:ldflags pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
USE_GNOME= libxml2
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= LanguageMachines
INSTALL_TARGET= install-strip
TEST_TARGET= check
CFLAGS+= -D_THREAD_SAFE # configure on GCC-based architectures fails w/out this
# Workaround for https://github.com/LanguageMachines/ticcutils/issues/18 (also see the patch files/patch-configure.ac)
CXXFLAGS+= -DHAVE_BOOST_REGEX
LDFLAGS+= -lboost_regex
.include <bsd.port.mk>