5c392de08e
so that Linux apps can talk to DVB/ATSC tuners via /dev/dvb/adapterX. Note this port does not contain actual DVB drivers, those are provided by e.g. the multimedia/webcamd port. WWW: http://people.freebsd.org/~nox/dvb/
43 lines
937 B
Makefile
43 lines
937 B
Makefile
# New ports collection makefile for: linux_dvbwrapper-kmod
|
|
# Date created: Thu Apr 21 17:34:08 CEST 2011
|
|
# Whom: nox@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= linux_dvbwrapper-kmod
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= multimedia kld
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= nox@FreeBSD.org
|
|
COMMENT= Linux compatibility layer - DVB ioctl handler
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
PLIST_FILES+= "@cwd /"
|
|
PLIST_FILES+= ${KMODDIR:C,^/,,}/linux_dvbwrapper.ko
|
|
PLIST_FILES+= "@exec kldxref ${KMODDIR}"
|
|
PLIST_FILES+= "@unexec kldxref ${KMODDIR}"
|
|
|
|
# install where x11/nvidia-driver does also:
|
|
KMODDIR= /boot/modules
|
|
|
|
MAKE_ENV+= KMODDIR="${KMODDIR}"
|
|
|
|
SYSDIR?= ${SRC_BASE}/sys
|
|
MAKE_ENV+= SYSDIR="${SYSDIR}"
|
|
|
|
CFLAGS+= ${DEBUG_FLAGS}
|
|
|
|
.if !exists(${SYSDIR}/Makefile)
|
|
IGNORE= requires kernel source to be installed
|
|
.endif
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKSRC}
|
|
${CP} ${FILESDIR}/Makefile ${FILESDIR}/*.[ch] ${WRKSRC}
|
|
|
|
.include <bsd.port.post.mk>
|