aboutsummaryrefslogtreecommitdiff
path: root/multimedia/bino
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-09-20 01:12:22 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-09-20 01:12:22 +0000
commit343dc0a4b951c6b31e937cc0402b99c2ebaf29f1 (patch)
tree5f2d374ea5bce82de8599b7612903644b63292e3 /multimedia/bino
parenta0c6ba507d9a8236373a30162c6a2970d84d23b1 (diff)
downloadports-343dc0a4b951c6b31e937cc0402b99c2ebaf29f1.tar.gz
ports-343dc0a4b951c6b31e937cc0402b99c2ebaf29f1.zip
multimedia/bino: minor cleanup
- Convert to USE_GL - Convert to option helpers - Register MimeType via desktop-file-utils Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=397345
Diffstat (limited to 'multimedia/bino')
-rw-r--r--multimedia/bino/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/multimedia/bino/Makefile b/multimedia/bino/Makefile
index 7852debf98d2..0644d0d33cfa 100644
--- a/multimedia/bino/Makefile
+++ b/multimedia/bino/Makefile
@@ -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 --without-liblircclient --docdir=${DOCSDIR}
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: