Approved by:	hselasky (maintainer)
This commit is contained in:
Juergen Lock 2014-05-30 16:08:35 +00:00
parent d8faffd8c4
commit 5197034ceb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355870
2 changed files with 6 additions and 7 deletions

View File

@ -14,17 +14,15 @@ MAINTAINER= hselasky@FreeBSD.org
COMMENT= The Video4Linux PWC webcam viewer
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
v4l1.0:${PORTSDIR}/multimedia/libv4l
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libv4l1.so:${PORTSDIR}/multimedia/libv4l
CONFLICTS= pwcbsd-[0-9]*
USE_SDL= sdl
MAN1= pwcview.1
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-patch:
@ -32,8 +30,8 @@ post-patch:
-e 's|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pwcview ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/pwcsnap ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
${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>

View File

@ -1,2 +1,3 @@
bin/pwcview
bin/pwcsnap
man/man1/pwcview.1.gz