freebsd-ports/multimedia/linux_dvbwrapper-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

29 lines
536 B
Makefile

# Created by: nox@FreeBSD.org
# $FreeBSD$
PORTNAME= linux_dvbwrapper-kmod
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= multimedia
DISTFILES= # none
MAINTAINER= nox@FreeBSD.org
COMMENT= Linux compatibility layer - DVB ioctl handler
ONLY_FOR_ARCHS= i386 amd64
NO_STAGE= yes
USES= kmod
.include <bsd.port.pre.mk>
PLIST_FILES+= "@cwd /"
PLIST_FILES+= ${KMODDIR:C,^/,,}/linux_dvbwrapper.ko
CFLAGS+= ${DEBUG_FLAGS}
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${FILESDIR}/Makefile ${FILESDIR}/*.[ch] ${WRKSRC}
.include <bsd.port.post.mk>