freebsd-ports/multimedia/linux_dvbwrapper-kmod/Makefile
Juergen Lock 5c392de08e This kld adds DVB ioctl handling to the Linux compatibility layer
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/
2011-04-24 15:51:13 +00:00

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>