mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
31ec501540
Approved by: miwi (mentor)
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# New ports collection makefile for: mythplugin-mythmusic
|
|
# Date created: 2010-03-07
|
|
# Whom: Bernhard Froehlich <decke@bluelife.at>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mythmusic
|
|
PORTVERSION= 0.23.1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://ftp.osuosl.org/pub/mythtv/ \
|
|
http://ftp.oregonstate.edu/pub/mythtv/
|
|
PKGNAMEPREFIX= mythplugin-
|
|
DISTNAME= mythplugins-${PORTVERSION}
|
|
|
|
MAINTAINER= decke@FreeBSD.org
|
|
COMMENT= Music playing plugin for MythTV
|
|
|
|
LIB_DEPENDS= cdaudio.1:${PORTSDIR}/audio/libcdaudio \
|
|
FLAC.10:${PORTSDIR}/audio/flac \
|
|
vorbis.4:${PORTSDIR}/audio/libvorbis \
|
|
cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia \
|
|
tag.1:${PORTSDIR}/audio/taglib \
|
|
visual-0.4.0:${PORTSDIR}/graphics/libvisual04 \
|
|
fftw3f:${PORTSDIR}/math/fftw3-float
|
|
BUILD_DEPENDS= mythfrontend:${PORTSDIR}/multimedia/mythtv
|
|
|
|
USE_BZIP2= yes
|
|
USE_QT_VER= 4
|
|
QT_COMPONENTS= linguist_build moc_build qmake_build rcc_build uic_build
|
|
USE_SDL= sdl
|
|
HAS_CONFIGURE= yes
|
|
USE_LDCONFIG= ${PREFIX}/lib/mythtv/plugins
|
|
|
|
PLIST_SUB+= MYTHSHARE="share/mythtv"
|
|
|
|
QMAKESPEC?= ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++
|
|
|
|
CONFIGURE_ARGS= --prefix="${PREFIX}" --disable-all \
|
|
--enable-mythmusic --enable-libvisual \
|
|
--enable-fftw --enable-sdl --enable-opengl
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
|
|
${WRKSRC}/configure \
|
|
${WRKSRC}/mythmusic/mythmusic/mythmusic.pro
|
|
@${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|g' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|