Manual tweak multimedia/haruna
[dports.git] / multimedia / v4l_compat / Makefile
1 PORTNAME=       v4l_compat
2
3 COMMENT=        Video4Linux IOCTL header files
4 WWW=            https://linuxtv.org
5
6 NO_BUILD=       yes
7 NO_ARCH=        yes
8
9 MASTERDIR=      ${.CURDIR}/../libv4l
10 DESCR=          ${.CURDIR}/pkg-descr
11 PLIST=          ${.CURDIR}/pkg-plist
12
13 BASE_HEADERS= \
14         linux/cec.h \
15         linux/cec-funcs.h \
16         linux/const.h \
17         linux/dvb/audio.h \
18         linux/dvb/ca.h \
19         linux/dvb/dmx.h \
20         linux/dvb/frontend.h \
21         linux/dvb/net.h \
22         linux/dvb/osd.h \
23         linux/dvb/version.h \
24         linux/dvb/video.h \
25         linux/ivtv.h \
26         linux/lirc.h \
27         linux/media.h \
28         linux/media-bus-format.h \
29         linux/v4l2-common.h \
30         linux/v4l2-controls.h \
31         linux/v4l2-mediabus.h \
32         linux/v4l2-subdev.h \
33         linux/videodev2.h
34
35 do-install:
36         @${MKDIR} ${STAGEDIR}${PREFIX}/include/linux/dvb
37
38 .for F in ${BASE_HEADERS}
39         ${INSTALL_DATA} \
40                 ${LINUXDIR}/include/uapi/${F} \
41                 ${STAGEDIR}${PREFIX}/include/${F}
42 .endfor
43
44 # V4L1 is dead in upstream Linux, however libv4l still supports it.
45         ${INSTALL_DATA} \
46                 ${FILESDIR}/videodev.h \
47                 ${STAGEDIR}${PREFIX}/include/linux/
48
49 # Install types header file
50         ${INSTALL_DATA} \
51                 ${FILESDIR}/types.h \
52                 ${STAGEDIR}${PREFIX}/include/linux/
53
54 .include "${MASTERDIR}/Makefile"