aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/schroedinger/Makefile
blob: 283c88af5c3848adf10686f13050012051a46cf8 (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
# New ports collection makefile for:    schroedinger
# Date created:     2008-06-14
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   schroedinger
PORTVERSION=    1.0.5
PORTREVISION=   1
CATEGORIES= multimedia
MASTER_SITES=   http://www.diracvideo.org/download/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    High-speed Dirac codec

LIB_DEPENDS=    oil:${PORTSDIR}/devel/liboil

GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
WANT_GSTREAMER= yes

OPTIONS=    GSTREAMER "Enable gstreamer plugin" on

.include <bsd.port.pre.mk>

.if defined(WITHOUT_GSTREAMER)
CONFIGURE_ARGS+=    --disable-gstreamer
PLIST_SUB+=     GSTREAMER="@comment "
.else
USE_GSTREAMER=      yes
PLIST_SUB+=     GSTREAMER=""
.endif

post-patch:
    ${REINPLACE_CMD} -e 's|^pkgconfigdir=.*|pkgconfigdir="\\$$(prefix)/libdata/pkgconfig"|' ${WRKSRC}/configure

.include <bsd.port.post.mk>