diff options
author | Koop Mast <kwm@FreeBSD.org> | 2010-01-16 20:49:04 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2010-01-16 20:49:04 +0000 |
commit | e64511508d2549769f9b9e0fbe31cbf4e64cf877 (patch) | |
tree | d51fe6ebf0ed0b2d0883ba2104bc7de418854d09 /multimedia/pwcview/Makefile | |
parent | a878479bcc8dd4cbbc46ee76a751a26f39d0f9ae (diff) | |
download | ports-e64511508d2549769f9b9e0fbe31cbf4e64cf877.tar.gz ports-e64511508d2549769f9b9e0fbe31cbf4e64cf877.zip |
Notes
Diffstat (limited to 'multimedia/pwcview/Makefile')
-rw-r--r-- | multimedia/pwcview/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/multimedia/pwcview/Makefile b/multimedia/pwcview/Makefile new file mode 100644 index 000000000000..870158b2a344 --- /dev/null +++ b/multimedia/pwcview/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: pwcview +# Date created: 13 January 2010 +# Whom: Andrew Thompson <thompsa@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= pwcview +PORTVERSION= 1.4.1 +CATEGORIES= multimedia +MASTER_SITES= http://raaf.atspace.org/ \ + http://www.bsd-geek.de/FreeBSD/distfiles/ \ + ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= miwi + +MAINTAINER= hselasky@FreeBSD.org +COMMENT= The Video4Linux PWC webcam viewer + +BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat +LIB_DEPENDS= jpeg.10:${PORTSDIR}/graphics/jpeg \ + v4l1.0:${PORTSDIR}/multimedia/libv4l + +CONFLICTS= pwcbsd-[0-9]* + +USE_SDL= sdl +MAN1= pwcview.1 + +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 ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/pwcsnap ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1 + +.include <bsd.port.post.mk> |