# $NetBSD: Makefile,v 1.9 2004/03/19 08:34:01 bouyer Exp $

DISTNAME=	ical-2.2.1
CATEGORIES=	time
MASTER_SITES=	http://members.nbci.com/majahj/ical/

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://members.nbci.com/majahj/ical/
COMMENT=	Calendar application

USE_BUILDLINK2=	yes
USE_LANGUAGES=	c c++
USE_X11=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} \
		--with-tclconfig=${PREFIX}/lib \
		--with-tclsh=${PREFIX}/bin/tclsh \
		--with-tkconfig=${PREFIX}/lib

post-configure:
	${TOUCH} ${WRKDIR}/${DISTNAME}/Makefile \
	         ${WRKDIR}/${DISTNAME}/calendar/Makefile \
	         ${WRKDIR}/${DISTNAME}/startup.tcl \
	         ${WRKDIR}/${DISTNAME}/time/Makefile

.include "../../x11/tk83/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
