Prune audio/clementine-player
[dports.git] / audio / mythplugin-mythmusic / Makefile
1 # Created by: Bernhard Froehlich <decke@bluelife.at>
2 # $FreeBSD$
3
4 PORTNAME=       mythmusic
5 PORTVERSION=    0.27.5
6 PORTREVISION=   1
7 DISTVERSIONPREFIX=      v
8 CATEGORIES=     audio
9 PKGNAMEPREFIX=  mythplugin-
10
11 MAINTAINER=     decke@FreeBSD.org
12 COMMENT=        Music playing plugin for MythTV
13
14 LIB_DEPENDS=    libcdio.so:sysutils/libcdio \
15                 libFLAC.so:audio/flac \
16                 libvorbis.so:audio/libvorbis \
17                 libtag.so:audio/taglib \
18                 libfftw3f.so:math/fftw3-float
19 BUILD_DEPENDS=  mythfrontend:multimedia/mythtv
20
21 USE_GITHUB=     yes
22 GH_ACCOUNT=     MythTV
23 GH_PROJECT=     mythtv
24
25 WRKSRC_SUBDIR=  mythplugins
26
27 USE_QT4=        linguist_build moc_build qmake_build rcc_build uic_build
28 HAS_CONFIGURE=  yes
29 USE_LDCONFIG=   ${PREFIX}/lib/mythtv/plugins
30 DESTDIRNAME=    INSTALL_ROOT
31
32 PLIST_SUB+=     MYTHSHARE="share/mythtv"
33
34 QMAKESPEC?=     ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++
35
36 CONFIGURE_ARGS= --prefix="${PREFIX}" --disable-all \
37                 --enable-mythmusic --enable-fftw --enable-opengl
38
39 post-patch:
40         @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
41                 ${WRKSRC}/configure \
42                 ${WRKSRC}/mythmusic/mythmusic/mythmusic.pro
43         @${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|g' \
44                 ${WRKSRC}/configure
45
46 .include <bsd.port.mk>