summaryrefslogtreecommitdiff
path: root/devel/ticcutils/Makefile
blob: ccfc2bbf954fa6660d8b03d6f4fd08abfdaee111 (plain)
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
PORTNAME=	ticcutils
DISTVERSION=	0.32
PORTREVISION=	7
CATEGORIES=	devel textproc
MASTER_SITES=	https://github.com/LanguageMachines/${PORTNAME}/releases/download/v${DISTVERSION}/

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Generic utility library shared by the Tilburg University software
WWW=		https://github.com/LanguageMachines/ticcutils

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libicui18n.so:devel/icu

USES=		compiler:c++11-lib gmake gnome libtool localbase:ldflags \
		pathfix pkgconfig
USE_GNOME=	libxml2
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-static

INSTALL_TARGET=	install-strip
TEST_TARGET=	check # 1 test fails, see https://github.com/LanguageMachines/ticcutils/issues/26
TEST_ENV=	LD_LIBRARY_PATH=${STAGEDIR}${PREFIX}/lib

post-patch:
	@${REINPLACE_CMD} -e 's|-O3||g' \
		${PATCH_WRKSRC}/src/Makefile.in

.include <bsd.port.mk>