# ex:ts=8
# Ports collection makefile for:	chmlib
# Date created:			Apr 5, 2003
# Whom:				ijliao
#
# $FreeBSD: ports/misc/chmlib/Makefile,v 1.18 2006/08/15 00:56:13 clsung Exp $
#

PORTNAME=	chmlib
PORTVERSION=	0.38
CATEGORIES=	misc
MASTER_SITES=	http://morte.jedrea.com/~jedwin/projects/chmlib/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A library for dealing with Microsoft ITSS/CHM format files

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-io64 --disable-pread --exec-prefix=${PREFIX}
USE_GMAKE=	yes
USE_LDCONFIG=	yes

post-patch:
	@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS}," ${WRKSRC}/configure

.include <bsd.port.mk>
