aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/dirac/Makefile
blob: 30818710f582a8bc8ca85e048e272593e5b17372 (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
# Created by: Bruce M Simpson <bms@FreeBSD.org>
# $FreeBSD$

PORTNAME=   dirac
PORTVERSION=    1.0.2
PORTREVISION=   5
CATEGORIES= multimedia
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}-codec/Dirac-${PORTVERSION}

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

GNU_CONFIGURE=  yes
USES=       gmake libtool pathfix shebangfix
SHEBANG_FILES=  ${WRKSRC}/tests/create_dirac_testfile.pl
USE_LDCONFIG=   yes

CONFIGURE_ARGS= --disable-mmx
CONFIGURE_ENV=  HAVE_LATEX=${FALSE} HAVE_DVIPDFM=${FALSE} \
        HAVE_DOXYGEN=${FALSE} HAVE_DOT=${FALSE}
CPPFLAGS+=  -I${LOCALBASE}/include
CXXFLAGS+=  -std=c++98

.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--enable-debug
.endif

.include <bsd.port.mk>