aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--net-mgmt/virt-viewer/Makefile16
-rw-r--r--net-mgmt/virt-viewer/distinfo4
-rw-r--r--net-mgmt/virt-viewer/pkg-plist2
3 files changed, 8 insertions, 14 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>
diff --git a/net-mgmt/virt-viewer/distinfo b/net-mgmt/virt-viewer/distinfo
index dcce425fb4a4..b1b802f224e5 100644
--- a/net-mgmt/virt-viewer/distinfo
+++ b/net-mgmt/virt-viewer/distinfo
@@ -1,2 +1,2 @@
-SHA256 (virt-viewer-0.5.6.tar.gz) = b397e9da15c454e8b53765cef65cdbf1b9939d4f9976965b7942ae9a9aa45857
-SIZE (virt-viewer-0.5.6.tar.gz) = 664421
+SHA256 (virt-viewer-0.5.7.tar.gz) = 4af5e660b3d15bcd3727851af1ddc2f08805c50ad4fc30714e21b20113fe9a83
+SIZE (virt-viewer-0.5.7.tar.gz) = 676213
diff --git a/net-mgmt/virt-viewer/pkg-plist b/net-mgmt/virt-viewer/pkg-plist
index 2b14738b1a8c..e76c2391d4d5 100644
--- a/net-mgmt/virt-viewer/pkg-plist
+++ b/net-mgmt/virt-viewer/pkg-plist
@@ -14,6 +14,7 @@ share/mime/packages/virt-viewer-mime.xml
%%NLS%%share/locale/bg/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/bn/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/bn_IN/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/bo/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/br/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/ca/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/cs/LC_MESSAGES/virt-viewer.mo
@@ -76,6 +77,7 @@ share/mime/packages/virt-viewer-mime.xml
@dirrm %%DATADIR%%/ui
@dirrm %%DATADIR%%
@dirrm share/applications
+%%NLS%%@dirrm share/locale/bo/LC_MESSAGES
%%NLS%%@dirrm share/locale/ks/LC_MESSAGES
%%NLS%%@dirrm share/locale/ks
@dirrmtry share/mime/packages