1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/multimedia/pwcview/Makefile
Marcus von Appen fbd0197639 - Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions

Tested by:	exp-run by pav
2012-02-18 10:18:33 +00:00

43 lines
1.0 KiB
Makefile

# New ports collection makefile for: pwcview
# Date created: 13 January 2010
# Whom: Andrew Thompson <thompsa@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pwcview
PORTVERSION= 1.4.1
PORTREVISION= 4
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= jpeg.11:${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>