svn commit: r523902 - head/math/gh-bc

Stefan Esser se at FreeBSD.org
Thu Jan 23 08:08:28 UTC 2020


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


More information about the svn-ports-all mailing list