freebsd-ports/multimedia/linux_v4l2wrapper-kmod/Makefile
Rene Ladan bfc52e7104 Convert to USES=kmod, which removes duplicated code and ensures that all
required steps are followed.

There are no user-visible changes.  The exception is multimedia/ptx-kmod,
which now installs the kernel module into /boot/modules instead of
${PREFIX}/libexec/${PORTNAME}, this was something USES=kmod cannot handle.

PR:		ports/183625
Submitted by:	myself
Approved by:	portmgr (bdrewery)
Exp-run by:	bdrewery
2013-11-09 19:13:27 +00:00

36 lines
690 B
Makefile

# Created by: nox@FreeBSD.org
# $FreeBSD$
PORTNAME= linux_v4l2wrapper-kmod
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= LOCAL/nox \
http://people.freebsd.org/~ae/
DISTNAME= linux_v4l2_kld
EXTRACT_SUFX= .tgz
MAINTAINER= nox@FreeBSD.org
COMMENT= Linux compatibility layer - V4L2 ioctl handler
ONLY_FOR_ARCHS= i386 amd64
PATCH_STRIP= -p1
WRKSRC= ${WRKDIR}/linux_v4l2
NO_STAGE= yes
USES= kmod
.include <bsd.port.pre.mk>
PLIST_FILES+= "@cwd /"
PLIST_FILES+= ${KMODDIR:C,^/,,}/linux_v4l2wrapper.ko
CFLAGS+= ${DEBUG_FLAGS}
.include "${.CURDIR}/Makefile.sub"
.if ${LINUX_V4L2_AVAILABLE} == "1"
IGNORE= is already in kernel
.endif
.include <bsd.port.post.mk>