# New ports collection makefile for:	knoda
# Date created:				26.7.2002
# Whom:					arved
#
# $FreeBSD: ports/databases/knoda/Makefile,v 1.27 2006/07/23 13:28:50 sem Exp $

PORTNAME=		knoda
PORTVERSION=		0.8.1
CATEGORIES=		databases
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=		sem@FreeBSD.org
COMMENT=		Database frontend for KDE

BUILD_DEPENDS=		${LOCALBASE}/include/argp.h:${PORTSDIR}/devel/argp-standalone
LIB_DEPENDS=		hk_classes.13:${PORTSDIR}/databases/hk_classes

USE_BZIP2=		yes
USE_KDELIBS_VER=	3
USE_PYTHON=		yes
USE_GMAKE=		yes
USE_AUTOTOOLS=		libtool:15
INSTALLS_SHLIB=		yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=	--with-hk_classes-dir=${LOCALBASE}/lib/hk_classes \
		--with-hk_classes-incdir=${LOCALBASE}/include/hk_classes

post-patch:
	${REINPLACE_CMD} -e 's,-pedantic ,,' ${WRKSRC}/configure

.include <bsd.port.mk>
