Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2016 14:18:02 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405551 - head/multimedia/gnome-subtitles
Message-ID:  <201601081418.u08EI2tF059467@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
-
-.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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601081418.u08EI2tF059467>