aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/bino/Makefile
blob: 1dac904f6e6a3a02aefea8ca90663cbe59b04b37 (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
45
46
47
48
49
# Created by: Mykola Dzham <i@levsha.me>
# $FreeBSD$

PORTNAME=   bino
PORTVERSION=    1.2.1
PORTREVISION=   1
CATEGORIES= multimedia
MASTER_SITES=   http://download.savannah.nongnu.org/releases/bino/ http://levsha.me/ports/distfiles/

MAINTAINER= i@levsha.me
COMMENT=    3D video player with multi-display support

LICENSE=    GPLv3

FETCH_ARGS= -Fpr
USES=       pkgconfig
USE_XZ=     yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
INSTALLS_ICONS= yes
USE_QT4=    moc_build opengl rcc_build

# no port fow equalizer now, lirc detecting not working
CONFIGURE_ARGS+=    --without-equalizer --without-liblircclient --docdir=${DOCSDIR}

LIB_DEPENDS+=   ass.5:${PORTSDIR}/multimedia/libass \
        avformat.1:${PORTSDIR}/multimedia/ffmpeg \
        GLEW.1:${PORTSDIR}/graphics/glew \
        openal.1:${PORTSDIR}/audio/openal-soft

MAN1=   bino.1
INFO=   bino

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=      gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.endif

# fixes build on non UTF-8 enviroments
post-patch:
    @${REINPLACE_CMD} -e 's|echo $<|LANG=C; LC_ALL=C; &|' \
        ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>