diff options
author | se <se@FreeBSD.org> | 2020-01-23 16:41:12 +0800 |
---|---|---|
committer | se <se@FreeBSD.org> | 2020-01-23 16:41:12 +0800 |
commit | b1cbe0efa09408f5b5458ec60a48ef67708d9241 (patch) | |
tree | 4d8d3793cba45a204955f2a26b7b78719b67a594 /math | |
parent | 2ffce46dd3d4ba5e7169719f8405affd63ffd144 (diff) | |
download | freebsd-ports-gnome-b1cbe0efa09408f5b5458ec60a48ef67708d9241.tar.gz freebsd-ports-gnome-b1cbe0efa09408f5b5458ec60a48ef67708d9241.tar.zst freebsd-ports-gnome-b1cbe0efa09408f5b5458ec60a48ef67708d9241.zip |
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)
Diffstat (limited to 'math')
-rw-r--r-- | math/gh-bc/Makefile | 10 |
1 files 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 |