aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/virt-viewer/Makefile
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-08-05 03:48:16 +0800
committerjgh <jgh@FreeBSD.org>2013-08-05 03:48:16 +0800
commitf25db14708bfc5224a23c13fa214581ec4a062e0 (patch)
tree16ae75cc37db35d22640687abdaf7bee156347ef /net-mgmt/virt-viewer/Makefile
parent086ab0eb5e03092cd597b2f342a64e35b67a082c (diff)
downloadfreebsd-ports-gnome-f25db14708bfc5224a23c13fa214581ec4a062e0.tar.gz
freebsd-ports-gnome-f25db14708bfc5224a23c13fa214581ec4a062e0.tar.zst
freebsd-ports-gnome-f25db14708bfc5224a23c13fa214581ec4a062e0.zip
- update to 0.5.7
- adoption of option helpers for NLS
Diffstat (limited to 'net-mgmt/virt-viewer/Makefile')
-rw-r--r--net-mgmt/virt-viewer/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/net-mgmt/virt-viewer/Makefile b/net-mgmt/virt-viewer/Makefile
index 1391003219a3..4d206b977885 100644
--- a/net-mgmt/virt-viewer/Makefile
+++ b/net-mgmt/virt-viewer/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= virt-viewer
-PORTVERSION= 0.5.6
-PORTREVISION= 1
+PORTVERSION= 0.5.7
CATEGORIES= net-mgmt
MASTER_SITES= http://virt-manager.org/download/sources/${PORTNAME}/
@@ -16,6 +15,7 @@ LIB_DEPENDS= virt.1001:${PORTSDIR}/devel/libvirt \
gtk-vnc-1.0.0:${PORTSDIR}/net/gtk-vnc
OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
FETCH_ARGS= -Fpr
@@ -25,15 +25,7 @@ USES= gmake
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
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>