# New ports collection makefile for:	SkyStar3
# Date created:		07 June 2008
# Whom:			Alex Keda <admin@lissyara.su>
#
# $FreeBSD: ports/net/ttbudget/Makefile,v 1.2 2008/12/10 07:35:17 linimon Exp $
#

PORTNAME=	ttbudget
PORTVERSION=	4
CATEGORIES=	net
MASTER_SITES=	http://paradox.org.ua/ \
		http://lissyara.su/patch/skystar3/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	admin@lissyara.su
COMMENT=	Driver for 'TechnoTrend budget DVB S-1401' (SkyStar3)

USE_BZIP2=	yes
BUILD_WRKSRC=	${WRKDIR}/${DISTNAME}
SYSDIR?=	${SRC_BASE}/sys
KMODDIR=	/boot/modules
PLIST_SUB+=	KMODDIR=${KMODDIR}
SETENV+=	FROMPORT=1
pre-fetch:
.if !exists(${SYSDIR}/Makefile)
	@${ECHO} "*************************************************"; \
	${ECHO}  "This port requires the kernel source be available"; \
	${ECHO}  "*************************************************"; \
	exit 1
.endif

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=		Does not compile on sparc64
.endif

.include <bsd.port.post.mk>
