aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/totem/Makefile
blob: b35d8de0d5aa0dae6efa077578431ed14d835c34 (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
# New ports collection makefile for:    totem
# Date created:         17 Oct 2002
# Whom:                 Hendrik Scholz <hendrik@scholz.net>
#
# $FreeBSD$
#

PORTNAME=   totem
PORTVERSION=    0.99.0
CATEGORIES= multimedia gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/..$//}
DIST_SUBDIR=    gnome2

MAINTAINER= hendrik@scholz.net
COMMENT=    A Xine-based video player for the Gnome 2 Desktop

LIB_DEPENDS=    xine.6:${PORTSDIR}/multimedia/libxine

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GNOME=  gnomeprefix gnomehack gnomedesktop
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
            LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"

.include <bsd.port.pre.mk>

.if exists(${LOCALBASE}/lib/libdvdnav.so)
WITH_DVDNAV=    yes
.endif

.if defined(WITH_DVDNAV)
LIB_DEPENDS+=   dvdnav.1:${PORTSDIR}/multimedia/libdvdnav
.endif

.if !defined(WITH_DVDNAV)
pre-everything::
    @${ECHO_MSG} ""
    @${ECHO_MSG} "You can enable DVD support by defining WITH_DVDNAV"
.endif

.include <bsd.port.post.mk>