mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
50 lines
1.0 KiB
Makefile
50 lines
1.0 KiB
Makefile
# New ports collection makefile for: subtitlecomposer
|
|
# Date created: 2008-01-08
|
|
# Whom: Max Brazhnikov <makc@issp.ac.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= subtitlecomposer
|
|
PORTVERSION= 0.4.3
|
|
PORTREVISION= 4
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= SF/subcomposer/subcomposer/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= makc@FreeBSD.org
|
|
COMMENT= Subtitle editor for KDE
|
|
|
|
USE_BZIP2= yes
|
|
USE_AUTOTOOLS= libtool
|
|
USE_KDELIBS_VER=3
|
|
USE_XORG= xext
|
|
GNU_CONFIGURE= yes
|
|
WANT_GSTREAMER= yes
|
|
INSTALLS_ICONS= yes
|
|
|
|
PORTSCOUT= limit:^0\.4\.
|
|
|
|
OPTIONS= MPLAYER "Enable MPlayer backend (recommended)" on \
|
|
XINE "Enable Xine backend" off \
|
|
GSTREAMER "Enable GStreamer backend" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_MPLAYER)
|
|
RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
|
|
.endif
|
|
|
|
.if defined(WITH_XINE)
|
|
LIB_DEPENDS+= xine.1:${PORTSDIR}/multimedia/libxine
|
|
.else
|
|
CONFIGURE_ARGS+=--without-xine --without-xcb
|
|
.endif
|
|
|
|
.if defined(WITH_GSTREAMER)
|
|
USE_GSTREAMER+= yes
|
|
.else
|
|
CONFIGURE_ARGS+=--without-gstreamer
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|