aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/cx88/Makefile
blob: 8121bcd4996c78ca2a9bd2d97cded958bdedd76b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:   cx88
# Date created:        7 September 2008
# Whom:                jah
#
# $FreeBSD$
#

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

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

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

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

.include <bsd.port.pre.mk>

.if (${OSVERSION} < 704000) || ((${OSVERSION} >= 800000) && (${OSVERSION} < 801000))
IGNORE= requires kernel support for kmem_alloc_attr() (FreeBSD 7.4+, FreeBSD 8.1+)
.endif

.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE=     requires kernel source files
.endif

.include <bsd.port.post.mk>