freebsd-ports/multimedia/subtitlecomposer-kde4/Makefile

48 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: subtitlecomposer
# Date created: 2008-01-08
# Whom: Max Brazhnikov <makc@issp.ac.ru>
#
# $FreeBSD$
#
PORTNAME= subtitlecomposer
2009-08-11 16:30:14 +02:00
PORTVERSION= 0.5.3
2009-03-17 21:09:16 +01:00
CATEGORIES= multimedia kde
MASTER_SITES= SF/subcomposer/subcomposer/${PORTNAME}-${PORTVERSION}
MAINTAINER= makc@FreeBSD.org
COMMENT= Subtitle editor for KDE
USE_BZIP2= yes
2009-03-17 21:09:16 +01:00
USE_CMAKE= yes
USE_KDE4= kdeprefix kdelibs automoc4
USE_QT_VER= 4
QT_COMPONENTS= gui qmake_build moc_build rcc_build uic_build
WANT_GSTREAMER= yes
2009-03-17 21:09:16 +01:00
LATEST_LINK= ${PORTNAME}-kde4
OPTIONS= MPLAYER "Enable MPlayer backend (recommended)" on \
XINE "Enable Xine backend" off \
2009-03-17 21:09:16 +01:00
GSTREAMER "Enable GStreamer backend (broken)" off
.include <bsd.port.pre.mk>
.if defined(WITH_MPLAYER)
RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
.endif
.if defined(WITH_XINE)
2009-03-15 21:24:31 +01:00
LIB_DEPENDS+= xine.1:${PORTSDIR}/multimedia/libxine
.else
2009-03-17 21:09:16 +01:00
CMAKE_ARGS+= -DWITH_Xine:Bool=Off
.endif
.if defined(WITH_GSTREAMER)
USE_GSTREAMER+= yes
.else
2009-03-17 21:09:16 +01:00
CMAKE_ARGS+= -DWITH_GStreamer:Bool=Off
.endif
.include <bsd.port.post.mk>