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

PORTNAME=	kernel-headers
PORTVERSION=	2.4.0.t9
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://lev.serebryakov.spb.ru/download/agenda/
PKGNAMEPREFIX=	mipsel-linux-
DISTNAME=	kernel-headers-2.4.0-test9_1

MAINTAINER=	lev@serebryakov.spb.ru
COMMENT=	Kernel headers for linux 2.4.0-pre9 for development for mipsel-linux

USE_BZIP2=	yes
NO_BUILD=	yes

do-install:
	-${MKDIR} ${PREFIX}/${PKGNAMEPREFIX:S/-$//}
	(cd ${WRKSRC} && tar -cf - *) \
		| (cd ${PREFIX}/${PKGNAMEPREFIX:S/-$//} && tar xf -)
	${LN} -sf ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/include/asm-mips \
		${PREFIX}/${PKGNAMEPREFIX:S/-$//}/include/asm

.include <bsd.port.mk>
