aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ticcutils/Makefile
blob: 8461c1e2cb674b26114364a220598f2e3120082a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $FreeBSD$

PORTNAME=   ticcutils
DISTVERSIONPREFIX=  v
DISTVERSION=    0.20
PORTREVISION=   1
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_GITHUB= yes
GH_ACCOUNT= LanguageMachines
USE_GNOME=  libxml2
USE_LDCONFIG=   yes

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>