svn commit: r317475 - head/net-mgmt/virt-viewer
Jason Helfman
jgh at FreeBSD.org
Mon May 6 07:02:26 UTC 2013
Author: jgh
Date: Mon May 6 07:02:25 2013
New Revision: 317475
URL: http://svnweb.freebsd.org/changeset/ports/317475
Log:
- update to 0.5.6
- properly support NLS
Modified:
head/net-mgmt/virt-viewer/Makefile
head/net-mgmt/virt-viewer/distinfo
head/net-mgmt/virt-viewer/pkg-plist
Modified: head/net-mgmt/virt-viewer/Makefile
==============================================================================
--- head/net-mgmt/virt-viewer/Makefile Mon May 6 07:01:48 2013 (r317474)
+++ head/net-mgmt/virt-viewer/Makefile Mon May 6 07:02:25 2013 (r317475)
@@ -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}/t
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>
Modified: head/net-mgmt/virt-viewer/distinfo
==============================================================================
--- head/net-mgmt/virt-viewer/distinfo Mon May 6 07:01:48 2013 (r317474)
+++ head/net-mgmt/virt-viewer/distinfo Mon May 6 07:02:25 2013 (r317475)
@@ -1,2 +1,2 @@
-SHA256 (virt-viewer-0.5.5.tar.gz) = ce51e46813b312e360b57514da517e74b3d29f45b2f36e772a62e397df17eb70
-SIZE (virt-viewer-0.5.5.tar.gz) = 654055
+SHA256 (virt-viewer-0.5.6.tar.gz) = b397e9da15c454e8b53765cef65cdbf1b9939d4f9976965b7942ae9a9aa45857
+SIZE (virt-viewer-0.5.6.tar.gz) = 664421
Modified: head/net-mgmt/virt-viewer/pkg-plist
==============================================================================
--- head/net-mgmt/virt-viewer/pkg-plist Mon May 6 07:01:48 2013 (r317474)
+++ head/net-mgmt/virt-viewer/pkg-plist Mon May 6 07:02:25 2013 (r317475)
@@ -17,19 +17,24 @@ share/mime/packages/virt-viewer-mime.xml
%%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
+%%NLS%%share/locale/da/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/de/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/el/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/es/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/et/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/eu/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/fa/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/fi/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/fr/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/ga/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/gl/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/gu/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/he/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/hi/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/hu/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/ia/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/id/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/is/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/it/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/ja/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/ka/LC_MESSAGES/virt-viewer.mo
@@ -38,10 +43,12 @@ share/mime/packages/virt-viewer-mime.xml
%%NLS%%share/locale/ko/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/ks/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/lv/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/mai/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/ml/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/mr/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/nb/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/nl/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/nn/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/or/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/pa/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/pl/LC_MESSAGES/virt-viewer.mo
@@ -51,6 +58,7 @@ share/mime/packages/virt-viewer-mime.xml
%%NLS%%share/locale/ru/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/si/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/sk/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/sq/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/sr/LC_MESSAGES/virt-viewer.mo
%%NLS%%share/locale/sv/LC_MESSAGES/virt-viewer.mo
@@ -65,11 +73,11 @@ share/mime/packages/virt-viewer-mime.xml
%%DATADIR%%/ui/virt-viewer-about.xml
%%DATADIR%%/ui/virt-viewer-auth.xml
%%DATADIR%%/ui/virt-viewer.xml
- at dirrm %%NLS%%share/locale/ks/LC_MESSAGES
- at dirrm %%NLS%%share/locale/ks
@dirrm %%DATADIR%%/ui
@dirrm %%DATADIR%%
@dirrm share/applications
+%%NLS%%@dirrm share/locale/ks/LC_MESSAGES
+%%NLS%%@dirrm share/locale/ks
@dirrmtry share/mime/packages
@dirrmtry share/mime
@dirrmtry share
More information about the svn-ports-head
mailing list