aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/schroedinger/Makefile
blob: 7dac0f9439008818509b625eca8e0b0a6e76e70b (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
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=   schroedinger
PORTVERSION=    1.0.11
PORTREVISION=   4
CATEGORIES= multimedia
MASTER_SITES=   http://diracvideo.org/download/schroedinger/

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

LICENSE=    GPLv2 LGPL20 MIT MPL
LICENSE_COMB=   dual
LICENSE_FILE_MIT=   ${WRKSRC}/COPYING.MIT
LICENSE_FILE_MPL=   ${WRKSRC}/COPYING.MPL

LIB_DEPENDS=    liborc-0.4.so:${PORTSDIR}/devel/orc

USES=       libtool pkgconfig
GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
USE_LDCONFIG=   yes

post-patch:
    @${REINPLACE_CMD} -e 's|^pkgconfigdir=.*|pkgconfigdir="\\$${prefix}/libdata/pkgconfig"|' \
        ${WRKSRC}/configure
# Derived from upstream git commit ee011f33f80c9691a6cfd5116101fdcf8c3cd6f7
    @${REINPLACE_CMD} '/^wavelet_max_gain_OBJECTS =/s/=/= tmp-orc.$$(OBJEXT)/' \
        ${WRKSRC}/testsuite/Makefile.in

.include <bsd.port.mk>