ef16d2e450
and multimedia/linux_dvbwrapper : CA_GET_SLOT_INFO and CA_GET_MSG need to be _IOWR not _IOR. - Bump PORTREVISION for multimedia/vdr too since it uses one of the ioctls. (This fixes the CI slot of at last the TT CT-3650 DVB-C/T tuner.) Approved by: hselasky (maintainer of multimedia/webcamd)
44 lines
953 B
Makefile
44 lines
953 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
|
|
PORTREVISION= 1
|
|
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>
|