svn commit: r397345 - head/multimedia/bino

Jan Beich jbeich at FreeBSD.org
Sun Sep 20 01:12:23 UTC 2015


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 at 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:


More information about the svn-ports-all mailing list