mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
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)
This commit is contained in:
parent
f4063c339f
commit
436b7d1ec7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=523909
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user