From 436b7d1ec7ef4755f7a9003eeaea6e417bb1e0c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Thu, 23 Jan 2020 08:41:12 +0000 Subject: [PATCH] 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) --- math/gh-bc/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/math/gh-bc/Makefile b/math/gh-bc/Makefile index 5e406ecb0cde..2ba71775f2b5 100644 --- a/math/gh-bc/Makefile +++ b/math/gh-bc/Makefile @@ -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