From owner-svn-ports-head@freebsd.org Fri Jan 8 14:18:03 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33AA1A67B4D; Fri, 8 Jan 2016 14:18:03 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EFB91184A; Fri, 8 Jan 2016 14:18:02 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u08EI2Xx059468; Fri, 8 Jan 2016 14:18:02 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u08EI2tF059467; Fri, 8 Jan 2016 14:18:02 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201601081418.u08EI2tF059467@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 8 Jan 2016 14:18:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405551 - head/multimedia/gnome-subtitles X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 14:18:03 -0000 Author: amdmi3 Date: Fri Jan 8 14:18:01 2016 New Revision: 405551 URL: https://svnweb.freebsd.org/changeset/ports/405551 Log: - Clarify LICENSE - Add LICENSE_FILE - Switch to USES=localbase - Switch to options helpers Modified: head/multimedia/gnome-subtitles/Makefile Modified: head/multimedia/gnome-subtitles/Makefile ============================================================================== --- head/multimedia/gnome-subtitles/Makefile Fri Jan 8 13:59:25 2016 (r405550) +++ head/multimedia/gnome-subtitles/Makefile Fri Jan 8 14:18:01 2016 (r405551) @@ -9,18 +9,17 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Subtitle editor with video preview -LICENSE= GPLv2 +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libenchant.so:${PORTSDIR}/textproc/enchant \ libgtkspell.so:${PORTSDIR}/textproc/gtkspell -USES= cpe gmake mono pkgconfig libtool desktop-file-utils +USES= cpe gmake mono pkgconfig libtool localbase desktop-file-utils CPE_VENDOR= pedro_castro USE_GNOME= gnomeprefix gtksharp20 gnomesharp20 gnomedocutils intltool USE_GSTREAMER1= yes GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib GCONF_SCHEMAS= gnome-subtitles.schemas INSTALLS_OMF= yes INSTALLS_ICONS= yes @@ -29,18 +28,12 @@ MAKE_JOBS_UNSAFE=yes USE_LDCONFIG= ${PREFIX}/lib/gnome-subtitles OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= NLS post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gnome-subtitles/libgstreamer_playbin.so + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gnome-subtitles/libgstreamer_playbin.so .include