2008-01-12 17:30:57 +01:00
|
|
|
# New ports collection makefile for: subtitlecomposer
|
|
|
|
# Date created: 2008-01-08
|
|
|
|
# Whom: Max Brazhnikov <makc@issp.ac.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= subtitlecomposer
|
2008-07-19 00:02:20 +02:00
|
|
|
PORTVERSION= 0.4.2
|
2008-01-12 17:30:57 +01:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= SF
|
|
|
|
MASTER_SITE_SUBDIR=subcomposer
|
|
|
|
|
|
|
|
MAINTAINER= makc@issp.ac.ru
|
|
|
|
COMMENT= Subtitle editor for KDE
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2008-04-24 18:24:55 +02:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2008-01-12 17:30:57 +01:00
|
|
|
USE_KDELIBS_VER=3
|
2008-05-19 08:03:13 +02:00
|
|
|
USE_XORG= xext
|
2008-01-12 17:30:57 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2008-05-19 08:03:13 +02:00
|
|
|
WANT_GSTREAMER= yes
|
2008-04-13 14:48:49 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2008-01-12 17:30:57 +01:00
|
|
|
|
2008-05-19 08:03:13 +02:00
|
|
|
OPTIONS= MPLAYER "Enable MPlayer backend (recommended)" on \
|
|
|
|
XINE "Enable Xine backend" off \
|
|
|
|
GSTREAMER "Enable GStreamer backend" off
|
2008-01-12 17:30:57 +01:00
|
|
|
|
2008-04-13 14:48:49 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-05-19 08:03:13 +02:00
|
|
|
.if defined(WITH_MPLAYER)
|
|
|
|
RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
|
|
|
|
.endif
|
|
|
|
|
2008-04-13 14:48:49 +02:00
|
|
|
.if defined(WITH_XINE)
|
2008-05-19 08:03:13 +02:00
|
|
|
|
|
|
|
. if exists(${LOCALBASE}/bin/xine-config)
|
|
|
|
XINE_PLUGINDIR!= ${LOCALBASE}/bin/xine-config --plugindir
|
|
|
|
. endif
|
|
|
|
|
|
|
|
. if defined(XINE_PLUGINDIR) && !exists(${XINE_PLUGINDIR}/xineplug_vo_out_xcbxv.so)
|
|
|
|
IGNORE= needs XCB support in libxine
|
|
|
|
. endif
|
|
|
|
|
|
|
|
LIB_DEPENDS+= xine.1:${PORTSDIR}/multimedia/libxine \
|
|
|
|
xcb.1:${PORTSDIR}/x11/libxcb
|
2008-04-13 14:48:49 +02:00
|
|
|
.else
|
2008-05-19 08:03:13 +02:00
|
|
|
CONFIGURE_ARGS+=--without-xine --without-xcb
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GSTREAMER)
|
|
|
|
USE_GSTREAMER+= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --without-gstreamer
|
2008-04-13 14:48:49 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|