summaryrefslogtreecommitdiffstats
path: root/multimedia/swfdec-gnome/Makefile
blob: fb4833c3ba3ec37ecb8a4fd8a512a8fa2cd8de1d (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
# Ports collection makefile for:    swfdec-gnome
# Date created:             2008 01 10
# Whom:                 Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/multimedia/swfdec-gnome/Makefile,v 1.20 2009/05/12 08:07:25 kwm Exp $
#

PORTNAME=   swfdec-gnome
PORTVERSION=    2.26.0
PORTREVISION=   2
CATEGORIES= multimedia
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= kwm@FreeBSD.org
COMMENT=    Gtk flash player and thumbnailer

LIB_DEPENDS=    swfdec-0.9:${PORTSDIR}/graphics/swfdec

USE_GNOME=  gnomehack gnomeprefix gtk20 intlhack gconf2
USE_BZIP2=  yes
INSTALLS_ICONS= yes
USE_GMAKE=  yes
USE_GETTEXT=    yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=  swfdec-thumbnailer.schemas

MAN1=       swfdec-player.1 swfdec-thumbnailer.1

post-patch:
    @${REINPLACE_CMD} -e 's|SWFDEC_MAJORMINOR=0.8|SWFDEC_MAJORMINOR=0.9|g' \
        ${WRKSRC}/configure

post-install:
    @-update-desktop-database

.include <bsd.port.mk>