# New ports collection makefile for:	agenda-headers
# Date created:		14 June 2001
# Whom:			Lev Serebryakov <lev@serebryakov.spb.ru>
#
# $FreeBSD: ports/devel/agenda-headers/Makefile,v 1.3 2003/02/21 11:22:24 knu Exp $
#

PORTNAME=	agenda-headers
PORTVERSION=	1.2.0
CATEGORIES=	devel
MASTER_SITES=	http://lev.serebryakov.spb.ru/download/agenda/

MAINTAINER=	lev@serebryakov.spb.ru
COMMENT=	All headers which are needed to develop for Agenda VR3 PDA

RUN_DEPENDS=	${LOCALBASE}/${TARGET_PLATFORM}/include/linux/errno.h:${PORTSDIR}/devel/${TARGET_PLATFORM}-kernel-headers

TARGET_PLATFORM=mipsel-linux
USE_BZIP2=	yes
NO_BUILD=	yes

do-install:
	(cd ${WRKSRC} && tar --exclude '*.orig' -cf - *) \
		| (cd ${PREFIX}/${TARGET_PLATFORM} && tar xf -)

.include <bsd.port.mk>
