summaryrefslogtreecommitdiffstats
path: root/multimedia/cheese/Makefile
blob: 896f45133f9b1c29f29411b99437b66352c60cee (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
38
39
40
41
42
43
44
# Created by: FreeBSD GNOME Team <gnome@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/multimedia/cheese/Makefile 17268 2013-04-01 05:13:11Z marcus $

PORTNAME=   cheese
PORTVERSION=    2.32.0
PORTREVISION=   4
CATEGORIES= multimedia gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A Photobooth-inspired app for taking pictures and videos from webcam

BUILD_DEPENDS=  ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat
LIB_DEPENDS=    canberra-gtk:${PORTSDIR}/audio/libcanberra \
        hal:${PORTSDIR}/sysutils/hal

CONFLICTS=  cheese-3.[0-9]*

USE_XORG=   xxf86vm
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix intlhack evolutiondataserver librsvg2 \
        gnomedocutils gnomedesktop
USES=       gettext pathfix pkgconfig
USE_GSTREAMER=  gconf good ogg theora v4l2 vorbis
INSTALLS_OMF=   yes
INSTALLS_ICONS= yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

DOCS=       AUTHORS COPYING ChangeLog NEWS README
GCONF_SCHEMAS=  cheese.schemas

post-install:
    @${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
    @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor

.include <bsd.port.mk>