Index: head/multimedia/subtitlecomposer/Makefile =================================================================== --- head/multimedia/subtitlecomposer/Makefile (revision 213315) +++ head/multimedia/subtitlecomposer/Makefile (revision 213316) @@ -1,36 +1,58 @@ # New ports collection makefile for: subtitlecomposer # Date created: 2008-01-08 # Whom: Max Brazhnikov # # $FreeBSD$ # PORTNAME= subtitlecomposer PORTVERSION= 0.4.1 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= SF MASTER_SITE_SUBDIR=subcomposer MAINTAINER= makc@issp.ac.ru COMMENT= Subtitle editor for KDE -RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer - USE_BZIP2= yes USE_AUTOTOOLS= libtool:15 USE_KDELIBS_VER=3 +USE_XORG= xext GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-gstreamer +WANT_GSTREAMER= yes INSTALLS_ICONS= yes -OPTIONS= XINE "Enable Xine backend" off +OPTIONS= MPLAYER "Enable MPlayer backend (recommended)" on \ + XINE "Enable Xine backend" off \ + GSTREAMER "Enable GStreamer backend" off .include +.if defined(WITH_MPLAYER) +RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer +.endif + .if defined(WITH_XINE) -LIB_DEPENDS+= xine.1:${PORTSDIR}/multimedia/libxine + +. 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 .else -CONFIGURE_ARGS+=--without-xine +CONFIGURE_ARGS+=--without-xine --without-xcb +.endif + +.if defined(WITH_GSTREAMER) +USE_GSTREAMER+= yes +.else +CONFIGURE_ARGS= --without-gstreamer .endif .include Property changes on: head/multimedia/subtitlecomposer/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/multimedia/subtitlecomposer-kde4/Makefile =================================================================== --- head/multimedia/subtitlecomposer-kde4/Makefile (revision 213315) +++ head/multimedia/subtitlecomposer-kde4/Makefile (revision 213316) @@ -1,36 +1,58 @@ # New ports collection makefile for: subtitlecomposer # Date created: 2008-01-08 # Whom: Max Brazhnikov # # $FreeBSD$ # PORTNAME= subtitlecomposer PORTVERSION= 0.4.1 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= SF MASTER_SITE_SUBDIR=subcomposer MAINTAINER= makc@issp.ac.ru COMMENT= Subtitle editor for KDE -RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer - USE_BZIP2= yes USE_AUTOTOOLS= libtool:15 USE_KDELIBS_VER=3 +USE_XORG= xext GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-gstreamer +WANT_GSTREAMER= yes INSTALLS_ICONS= yes -OPTIONS= XINE "Enable Xine backend" off +OPTIONS= MPLAYER "Enable MPlayer backend (recommended)" on \ + XINE "Enable Xine backend" off \ + GSTREAMER "Enable GStreamer backend" off .include +.if defined(WITH_MPLAYER) +RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer +.endif + .if defined(WITH_XINE) -LIB_DEPENDS+= xine.1:${PORTSDIR}/multimedia/libxine + +. 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 .else -CONFIGURE_ARGS+=--without-xine +CONFIGURE_ARGS+=--without-xine --without-xcb +.endif + +.if defined(WITH_GSTREAMER) +USE_GSTREAMER+= yes +.else +CONFIGURE_ARGS= --without-gstreamer .endif .include Property changes on: head/multimedia/subtitlecomposer-kde4/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property