Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2013 15:25:01 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332128 - in head/devel/py-country: . files
Message-ID:  <201310301525.r9UFP1ER029535@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: demon
Date: Wed Oct 30 15:25:01 2013
New Revision: 332128
URL: http://svnweb.freebsd.org/changeset/ports/332128

Log:
  Add one more translation;
  Re-build .mo file, build system does not do this.

Modified:
  head/devel/py-country/Makefile
  head/devel/py-country/files/patch-src-pycountry-locales-tr-LC_MESSAGES-iso639.po

Modified: head/devel/py-country/Makefile
==============================================================================
--- head/devel/py-country/Makefile	Wed Oct 30 15:19:23 2013	(r332127)
+++ head/devel/py-country/Makefile	Wed Oct 30 15:25:01 2013	(r332128)
@@ -14,6 +14,7 @@ COMMENT=	Python API for ISO country, sub
 
 USE_ZIP=	yes
 USE_PYTHON=	yes
+USES=		gettext:build
 USE_PYDISTUTILS=	easy_install
 PYDISTUTILS_PKGNAME=	pycountry
 PYTHON_PY3K_PLIST_HACK=	yes
@@ -23,4 +24,7 @@ NO_STAGE=	yes
 post-patch:
 	${RM} ${WRKSRC}/src/pycountry/locales/tr/LC_MESSAGES/iso639.po.orig
 
+pre-build:
+	${LOCALBASE}/bin/msgfmt ${WRKSRC}/src/pycountry/locales/tr/LC_MESSAGES/iso639.po -o ${WRKSRC}/src/pycountry/locales/tr/LC_MESSAGES/iso639.mo
+
 .include <bsd.port.mk>

Modified: head/devel/py-country/files/patch-src-pycountry-locales-tr-LC_MESSAGES-iso639.po
==============================================================================
--- head/devel/py-country/files/patch-src-pycountry-locales-tr-LC_MESSAGES-iso639.po	Wed Oct 30 15:19:23 2013	(r332127)
+++ head/devel/py-country/files/patch-src-pycountry-locales-tr-LC_MESSAGES-iso639.po	Wed Oct 30 15:25:01 2013	(r332128)
@@ -1,5 +1,5 @@
 --- src/pycountry/locales/tr/LC_MESSAGES/iso639.po.orig	2013-10-04 21:55:28.000000000 +0400
-+++ src/pycountry/locales/tr/LC_MESSAGES/iso639.po	2013-10-30 16:29:29.000000000 +0400
++++ src/pycountry/locales/tr/LC_MESSAGES/iso639.po	2013-10-30 19:19:54.000000000 +0400
 @@ -324,7 +324,7 @@
  
  #. name for cat, ca
@@ -27,3 +27,11 @@
  
  #. name for srd, sc
  #, fuzzy
+@@ -1993,7 +1993,6 @@
+ msgstr "Uygurca"
+ 
+ #. name for ukr, uk
+-#, fuzzy
+ msgid "Ukrainian"
+ msgstr "Ukraynaca"
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310301525.r9UFP1ER029535>