# $FreeBSD: textproc/liblingoteach/Makefile 330919 2013-10-19 17:24:21Z mva $

PORTNAME=	liblingoteach
PORTVERSION=	0.2.1
PORTREVISION=	4
CATEGORIES=	textproc
MASTER_SITES=	SF/lingoteach/OldFiles

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Library for parsing lesson files based on the LingoTeach DTD

USE_AUTOTOOLS=	libtool
USES=		gmake pathfix pkgconfig
USE_GNOME=	libxml2
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
NO_STAGE=	yes

OPTIONS_DEFINE=	DOCS ZLIB DEBUG
OPTIONS_DEFAULT=	ZLIB

DEBUG_DESC=	Additional debugging information and output

ZLIB_CONFIGURE_WITH=	compression
DEBUG_CONFIGURE_ENABLE=	debug

.include <bsd.port.options.mk>

.if !${PORT_OPTIONS:MDOCS}
post-patch:
	@${REINPLACE_CMD} 's|SUBDIRS = src test doc|SUBDIRS = src test|' \
		${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>
