# New ports collection makefile for:   klibido
# Date created:        2 December 2004
# Whom:                conrads@cox.net
#
# $FreeBSD: ports/news/klibido/Makefile,v 1.20 2010/02/05 11:42:54 dinoex Exp $
#

PORTNAME=		klibido
PORTVERSION=		0.2.5
PORTREVISION=	6
CATEGORIES=		news
MASTER_SITES=		SF

MAINTAINER=		ports@FreeBSD.org
COMMENT=		A very fast and efficient KDE/QT-based downloader for Usenet binaries

LIB_DEPENDS=		uu.3:${PORTSDIR}/converters/uulib \
			db-4.4:${PORTSDIR}/databases/db44

USE_KDELIBS_VER=	3
USE_GMAKE=		yes
USE_AUTOTOOLS=		libtool:22
INSTALLS_ICONS=		yes
USE_GETTEXT=		yes

CONFIGURE_ENV=		CFLAGS="${CFLAGS} -I${LOCALBASE}/include/db44 ${PTHREAD_CFLAGS}" \
			CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include/db44" \
			LDFLAGS="-L${LOCALBASE}/lib/db44 ${PTHREAD_LIBS}"

post-install:
.if defined(NOPORTDOCS)
	${RM} -rf ${PREFIX}/share/doc/HTML/en/klibido
.endif

.include <bsd.port.mk>
