# $MidnightBSD$

PORTNAME=	libdatrie
PORTVERSION=	0.2.8
CATEGORIES=	devel
MASTER_SITES=	http://linux.thai.net/pub/thailinux/software/libthai/

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Double-array trie implementation library

LICENSE=	lgpl2.1

OPTIONS_DEFINE=	DOCS

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USES=		iconv libtool pathfix tar:xz

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}

PORTDOCS=	README.migration

post-install:
	${STRIP_CMD} ${PREFIX}/lib/libdatrie.so

.include <bsd.port.mk>
