Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 01:12:23 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397345 - head/multimedia/bino
Message-ID:  <201509200112.t8K1CNwd000686@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Sep 20 01:12:22 2015
New Revision: 397345
URL: https://svnweb.freebsd.org/changeset/ports/397345

Log:
  multimedia/bino: minor cleanup
  
  - Convert to USE_GL
  - Convert to option helpers
  - Register MimeType via desktop-file-utils
  
  Approved by:	portmgr blanket

Modified:
  head/multimedia/bino/Makefile   (contents, props changed)

Modified: head/multimedia/bino/Makefile
==============================================================================
--- head/multimedia/bino/Makefile	Sun Sep 20 01:12:09 2015	(r397344)
+++ head/multimedia/bino/Makefile	Sun Sep 20 01:12:22 2015	(r397345)
@@ -3,16 +3,17 @@
 
 PORTNAME=	bino
 PORTVERSION=	1.4.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	multimedia
 MASTER_SITES=	http://download.savannah.nongnu.org/releases/bino/ http://levsha.me/ports/distfiles/
 
 MAINTAINER=	i@levsha.me
 COMMENT=	3D video player with multi-display support
 
-LICENSE=	GPLv3
+LICENSE=	GPLv3 # or any later version
 
-USES=		gmake pkgconfig tar:xz
+USES=		desktop-file-utils gmake pkgconfig tar:xz
+USE_GL=		glew
 GNU_CONFIGURE=	yes
 INSTALLS_ICONS=	yes
 USE_QT4=	moc_build opengl rcc_build
@@ -22,22 +23,15 @@ CONFIGURE_ARGS+=	--without-equalizer --w
 
 LIB_DEPENDS+=	libass.so:${PORTSDIR}/multimedia/libass \
 		libavformat.so:${PORTSDIR}/multimedia/ffmpeg \
-		libGLEW.so:${PORTSDIR}/graphics/glew \
 		libopenal.so:${PORTSDIR}/audio/openal-soft
 
 INFO=	bino
 
 OPTIONS_DEFINE=	NLS DOCS
+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
 
 # fixes build on non UTF-8 enviroments
 post-patch:



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