# Created by: Andreas Kohn <andreas@syndrom23.de>
# $FreeBSD: tags/RELEASE_10_3_0/x11-toolkits/libsexy/Makefile 366485 2014-08-29 09:48:42Z amdmi3 $

PORTNAME=	libsexy
PORTVERSION=	0.1.11
PORTREVISION=	9
CATEGORIES=	x11-toolkits devel
MASTER_SITES=	http://releases.chipx86.com/libsexy/libsexy/

MAINTAINER=	horia@racoviceanu.com
COMMENT=	Extension widgets for GTK+

LICENSE=	LGPL21

LIB_DEPENDS=	libenchant.so:${PORTSDIR}/textproc/enchant
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
RUN_DEPENDS:=	${BUILD_DEPENDS}

GNU_CONFIGURE=	yes
USES=		gettext libtool pathfix pkgconfig
USE_GNOME=	gtk20 libxml2
USE_LDCONFIG=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|g_strncasecmp|g_ascii_strncasecmp|' \
		${WRKSRC}/libsexy/sexy-spell-entry.c

.include <bsd.port.mk>
