Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2020 08:08:28 +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: r523902 - head/math/gh-bc
Message-ID:  <202001230808.00N88S7r073857@repo.freebsd.org>

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

Log:
  Due to the way the Portuguese ISO-8859-* files were named, they were not
  installed on FreeBSD. Therefore provide message catalogues according to
  out naming scheme to include these files in the build.
  
  Approved by:	antoine (implicit)

Modified:
  head/math/gh-bc/Makefile
  head/math/gh-bc/pkg-plist

Modified: head/math/gh-bc/Makefile
==============================================================================
--- head/math/gh-bc/Makefile	Thu Jan 23 07:41:29 2020	(r523901)
+++ head/math/gh-bc/Makefile	Thu Jan 23 08:08:27 2020	(r523902)
@@ -27,6 +27,10 @@ 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
 pre-build:
 		${INSTALL_SCRIPT} ${WRKSRC}/gen/strgen.sh ${WRKSRC}/gen/strgen
 

Modified: head/math/gh-bc/pkg-plist
==============================================================================
--- head/math/gh-bc/pkg-plist	Thu Jan 23 07:41:29 2020	(r523901)
+++ head/math/gh-bc/pkg-plist	Thu Jan 23 08:08:27 2020	(r523902)
@@ -47,5 +47,8 @@ share/nls/fr_CH.UTF-8/bc.cat
 share/nls/fr_FR.ISO8859-1/bc.cat
 share/nls/fr_FR.ISO8859-15/bc.cat
 share/nls/fr_FR.UTF-8/bc.cat
+share/nls/pt_BR.ISO8859-1/bc.cat
 share/nls/pt_BR.UTF-8/bc.cat
+share/nls/pt_PT.ISO8859-1/bc.cat
+share/nls/pt_PT.ISO8859-15/bc.cat
 share/nls/pt_PT.UTF-8/bc.cat



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