aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-09-20 09:12:22 +0800
committerjbeich <jbeich@FreeBSD.org>2015-09-20 09:12:22 +0800
commit64610ac283c16274724f6d9d5bde225c3c261282 (patch)
tree5f2d374ea5bce82de8599b7612903644b63292e3
parent208dd6b4d17b23954ea4f4edcb4a699a49e4974c (diff)
downloadfreebsd-ports-gnome-64610ac283c16274724f6d9d5bde225c3c261282.tar.gz
freebsd-ports-gnome-64610ac283c16274724f6d9d5bde225c3c261282.tar.zst
freebsd-ports-gnome-64610ac283c16274724f6d9d5bde225c3c261282.zip
multimedia/bino: minor cleanup
- Convert to USE_GL - Convert to option helpers - Register MimeType via desktop-file-utils Approved by: portmgr blanket
-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: