aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/dirac/Makefile
blob: cf57526f98b8430d2be2306394e137cac3cf3b05 (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
# New ports collection makefile for:    dirac
# Date created:     11 May 2004
# Whom:         Bruce M Simpson <bms@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   dirac
PORTVERSION=    0.6.0
PORTREVISION=   1
CATEGORIES= multimedia
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= multimedia@FreeBSD.org
COMMENT=    Open source video codec from the BBC

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  pkgconfig gnomehack gnometarget
USE_GCC=    3.4
USE_LDCONFIG=   yes

CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include
CONFIGURE_ENV+= HAVE_LATEX=false HAVE_DVIPDFM=false

.if defined(NOPORTDOCS)
CONFIGURE_ENV+= HAVE_DOXYGEN=false HAVE_DOT=false
.else
BUILD_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen

post-install:
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>