# Ports collection makefile for: LibChipCard-KDE
# Date created:                  19 January 2003
# Whom:                          Martin Preuss<martin@libchipcard.de>
#
# $FreeBSD: ports/devel/libchipcard-kde/Makefile,v 1.1 2003/02/19 02:09:47 arved Exp $
#

PORTNAME=		libchipcard-kde
PORTVERSION=		0.8
CATEGORIES=		devel kde
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	libchipcard

MAINTAINER=		martin@libchipcard.de
COMMENT=		"KDE tools for LibChipCard"

LIB_DEPENDS=		chipcard.17:${PORTSDIR}/devel/libchipcard:install

USE_GMAKE=		yes
GNU_CONFIGURE=		yes
CONFIGURE_TARGET=
CONFIGURE_ARGS+=	--with-distri=freebsd --with-kde3-prefix=${LOCALBASE}\
			--with-applnk-dir=${PREFIX}/share/applnk/Utilities \
			--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_KDELIBS_VER=	3
USE_REINPLACE=		yes

post-patch:
	${REINPLACE_CMD} -e 's,libkdeui.so.4,libkdeui.so,' ${WRKSRC}/configure

.include <bsd.port.mk>
