From owner-svn-ports-all@FreeBSD.ORG Thu Oct 4 07:32:10 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D4276106564A; Thu, 4 Oct 2012 07:32:10 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3C99E8FD16; Thu, 4 Oct 2012 07:25:13 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q947PDLb093925; Thu, 4 Oct 2012 07:25:13 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q947PDDd093923; Thu, 4 Oct 2012 07:25:13 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201210040725.q947PDDd093923@svn.freebsd.org> From: Baptiste Daroussin Date: Thu, 4 Oct 2012 07:25:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305241 - head/multimedia/subtitlecomposer X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2012 07:32:11 -0000 Author: bapt Date: Thu Oct 4 07:25:12 2012 New Revision: 305241 URL: http://svn.freebsd.org/changeset/ports/305241 Log: Convert to new options framework Modified: head/multimedia/subtitlecomposer/Makefile Modified: head/multimedia/subtitlecomposer/Makefile ============================================================================== --- head/multimedia/subtitlecomposer/Makefile Thu Oct 4 07:23:04 2012 (r305240) +++ head/multimedia/subtitlecomposer/Makefile Thu Oct 4 07:25:12 2012 (r305241) @@ -1,9 +1,5 @@ -# New ports collection makefile for: subtitlecomposer -# Date created: 2008-01-08 -# Whom: Max Brazhnikov -# +# Created by: Max Brazhnikov # $FreeBSD$ -# PORTNAME= subtitlecomposer PORTVERSION= 0.4.3 @@ -24,26 +20,25 @@ INSTALLS_ICONS= yes PORTSCOUT= limit:^0\.4\. -OPTIONS= MPLAYER "Enable MPlayer backend (recommended)" on \ - XINE "Enable Xine backend" off \ - GSTREAMER "Enable GStreamer backend" off +OPTIONS_DEFINE= MPLAYER XINE GSTREAMER +OPTIONS_DEFAULT= MPLAYER -.include +.include -.if defined(WITH_MPLAYER) +.if ${PORT_OPTIONS:MMPLAYER} RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer .endif -.if defined(WITH_XINE) +.if ${PORT_OPTIONS:MXINE} LIB_DEPENDS+= xine.2:${PORTSDIR}/multimedia/libxine .else CONFIGURE_ARGS+=--without-xine --without-xcb .endif -.if defined(WITH_GSTREAMER) +.if ${PORT_OPTIONS:MGSTREAMER} USE_GSTREAMER+= yes .else CONFIGURE_ARGS+=--without-gstreamer .endif -.include +.include