blob: 74cb0f1a273e6f2c9946075aa71034b50b4094bc (
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
|
# Created by: Andrew Thompson <thompsa@FreeBSD.org>
# $FreeBSD$
PORTNAME= pwcview
PORTVERSION= 1.4.1
PORTREVISION= 6
CATEGORIES= multimedia
MASTER_SITES= http://raaf.atspace.org/ \
http://www.selasky.org/hans_petter/video4bsd/releases/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= kwm
MAINTAINER= hselasky@FreeBSD.org
COMMENT= The Video4Linux PWC webcam viewer
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libv4l1.so:${PORTSDIR}/multimedia/libv4l
CONFLICTS= pwcbsd-[0-9]*
USE_SDL= sdl
WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-ljpeg|-ljpeg -lv4l1|g' \
-e 's|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pwcview ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/pwcsnap ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.post.mk>
|