summaryrefslogtreecommitdiffstats
path: root/multimedia/cheese/Makefile
blob: e335d8d94ac2886b1d518b8ae67dc9ae9a71c6dc (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
45
46
47
48
49
50
51
# New ports collection makefile for:    cheese
# Date created:             13 January 2008
# Whom:                 FreeBSD GNOME Team <gnome@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/multimedia/cheese/Makefile,v 1.5 2008/02/06 18:49:29 mezz Exp $
#

PORTNAME=   cheese
PORTVERSION=    2.21.90.1
PORTREVISION=   1
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

USE_XORG=   xxf86vm
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack gnomeprefix gnometarget intlhack evolutiondataserver \
        librsvg2 gnomedocutils
USE_GETTEXT=    yes
USE_GSTREAMER=  good
INSTALLS_OMF=   yes
INSTALLS_ICONS= yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

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

post-patch:
    @${REINPLACE_CMD} -e 's|[$$]GMSGFMT[$$]|$$MSGFMT$$|g' \
        ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|[(]libdir[)]/cheese|(libexecdir)/cheese|g' \
        ${WRKSRC}/data/Makefile.in
    @${REINPLACE_CMD} -e 's|@FULL_LIBDIR@|${PREFIX}/libexec|g' \
        ${WRKSRC}/data/cheese.desktop.in*

.ifndef (NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
    @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>