aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/virt-viewer/Makefile
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-05-06 07:02:25 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-05-06 07:02:25 +0000
commit493e76a58d916522aa0d475fe3e6389c9716d722 (patch)
tree4bed66d3069615ca243ef8b38ce392386490e54d /net-mgmt/virt-viewer/Makefile
parent9882047ad2debf17d1d69d7de5c31ceb017d2c81 (diff)
downloadports-493e76a58d916522aa0d475fe3e6389c9716d722.tar.gz
ports-493e76a58d916522aa0d475fe3e6389c9716d722.zip
Notes
Diffstat (limited to 'net-mgmt/virt-viewer/Makefile')
-rw-r--r--net-mgmt/virt-viewer/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/net-mgmt/virt-viewer/Makefile b/net-mgmt/virt-viewer/Makefile
index 81ad5551fdec..fe0d69c982a0 100644
--- a/net-mgmt/virt-viewer/Makefile
+++ b/net-mgmt/virt-viewer/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= virt-viewer
-PORTVERSION= 0.5.5
+PORTVERSION= 0.5.6
CATEGORIES= net-mgmt
MASTER_SITES= http://virt-manager.org/download/sources/${PORTNAME}/
@@ -14,13 +14,25 @@ BUILD_DEPENDS= xml2-config:${PORTSDIR}/textproc/libxml2 \
LIB_DEPENDS= virt.1000:${PORTSDIR}/devel/libvirt \
gtk-vnc-1.0.0:${PORTSDIR}/net/gtk-vnc
+OPTIONS_DEFINE= NLS
+
FETCH_ARGS= -Fpr
GNU_CONFIGURE= yes
CONFIGURE_ENV+= DATADIRNAME=share
USE_GMAKE= yes
-PLIST_SUB= NLS=""
MAN1= remote-viewer.1 virt-viewer.1
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
+PLIST_SUB+= NLS=""
+CONFIGURE_ARGS+= --enable-nls
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
.include <bsd.port.mk>