svn commit: r523909 - head/math/gh-bc
Stefan Esser
se at FreeBSD.org
Thu Jan 23 08:41:13 UTC 2020
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
More information about the svn-ports-all
mailing list