Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2020 08:41:12 +0000 (UTC)
From:      Stefan Esser <se@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r523909 - head/math/gh-bc
Message-ID:  <202001230841.00N8fCJa095363@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: se
Date: Thu Jan 23 08:41:12 2020
New Revision: 523909
URL: https://svnweb.freebsd.org/changeset/ports/523909

Log:
  Final attempt to make the Poruguese locales actually work.
  
  Just roll out the loop to create usable catalogue files instead of
  trying to have a loop do the right thing ...
  
  Approved by:	antoine (implicit)

Modified:
  head/math/gh-bc/Makefile

Modified: head/math/gh-bc/Makefile
==============================================================================
--- head/math/gh-bc/Makefile	Thu Jan 23 08:40:39 2020	(r523908)
+++ head/math/gh-bc/Makefile	Thu Jan 23 08:41:12 2020	(r523909)
@@ -2,6 +2,7 @@
 
 PORTNAME=	bc
 PORTVERSION=	2.5.1
+PORTREVISION=	1
 CATEGORIES=	math
 PKGNAMEPREFIX=	gh-
 
@@ -28,9 +29,12 @@ CFLAGS+=	--std=c99
 CONFLICTS_INSTALL=	gnubc-[0-9]*
 
 post-extract:
-		for f in ${WRKSRC}/locales/*.ISO-8859-*; do \
-			${LN} $${f} $$(echo $${f} | ${SED} -e 's/ISO-8859/ISO8859/'); \
-		done
+		${LN} ${WRKSRC}/locales/pt_PT.ISO-8859-1.msg ${WRKSRC}/locales/pt_PT.ISO8859-1.msg
+		${LN} ${WRKSRC}/locales/pt_PT.ISO-8859-1.msg ${WRKSRC}/locales/pt_PT.ISO8859-15.msg
+		${LN} ${WRKSRC}/locales/pt_PT.ISO-8859-1.msg ${WRKSRC}/locales/pt_BR.ISO8859-1.msg
+		${RM} ${WRKSRC}/locales/pt_BR.UTF-8.msg
+		${LN} ${WRKSRC}/locales/pt_PT.UTF-8.msg ${WRKSRC}/locales/pt_BR.UTF-8.msg
+
 pre-build:
 		${INSTALL_SCRIPT} ${WRKSRC}/gen/strgen.sh ${WRKSRC}/gen/strgen
 



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