# New ports collection makefile for:   cx88
# Date created:        7 September 2008
# Whom:                jah
#
# $FreeBSD: ports/multimedia/cx88/Makefile,v 1.3 2008/12/21 16:15:04 amdmi3 Exp $
#

PORTNAME=	cx88
PORTVERSION=	1.1.0
CATEGORIES=	multimedia kld
MASTER_SITES=	ftp://corona.homeunix.net/ports/cx88/

MAINTAINER=	jason.harmening@gmail.com
COMMENT=	Drivers for Conexant CX23880/1/2/3-based TV/radio capture cards

LIB_DEPENDS=	tuner:${PORTSDIR}/multimedia/libtuner
BUILD_DEPENDS=	${LOCALBASE}/lib/libezxml.a:${PORTSDIR}/textproc/ezxml

KMODDIR=	/boot/modules
PLIST_SUB+=	KMODDIR=${KMODDIR}
MAKE_ARGS+=	LIBTUNER_LIB=${LOCALBASE}/lib/libtuner LIBTUNER_HEADER=${LOCALBASE}/include/libtuner KMODDIR=${KMODDIR}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700055
IGNORE=		requires FreeBSD 7.0-RELEASE or later
.endif

.if !exists(/usr/src/sys/Makefile)
IGNORE=		requires kernel source files
.endif

.include <bsd.port.post.mk>
