aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/linux-ov511-kmod/Makefile
blob: 72dfdc0d09e9cf85fbd03ae90c1f101a87925d9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    linux-ov511-kmod
# Date created:             2 February 2007
# Whom:                 luigi
#
# $FreeBSD$
#
# XXX MASTER_SITES should be replaced with some good locations
# for individual files from linux distributions.

PORTNAME=   linux-ov511-kmod
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= multimedia kld
MASTER_SITES=   http://info.iet.unipi.it/~luigi/FreeBSD/linux/drivers/media/video/
DISTFILES=  ov511.c ov511.h
DIST_SUBDIR=    ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A port of the linux ov511 webcam driver

# Requires the linux emulation layer to be built
BUILD_DEPENDS=  /usr/share/mk/bsd.linux_kmod.mk:${PORTSDIR}/devel/linux-kmod-compat

NO_PACKAGE= depends on kernel sources

# This is our Makefile to be used for build/install.
MAKEFILE=   Makefile.kld
ALL_TARGET= depend all

# we simply copy the sources from the original site
do-extract:
    @${MKDIR} ${WRKSRC}
    ( cd ${_DISTDIR} && ${CP} ${DISTFILES} ${WRKSRC} )

post-extract:
    @${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}

.include <bsd.port.mk>