Hi ports --

When ebc was first imported, there weren't any other packages of the software that I could find, and the project name is bc, which of course conflicts with the in-base bc name. Following the convention of gcc => egcc in ports, I chose to name it ebc.

In time, more package repos began to include this implementation of bc. There is still no consensus on the name for this package, as can be seen here: https://repology.org/project/bc-gh/versions -- we have plain ol' bc, howard-bc, bc-gh, and gh-bc (our package does not appear on this list due to limitations of the repology system).

Upstream does have something to say about suggestion package naming these days:
"Note: The suggested name (and package name) is bc-gh."

I think it makes sense to honor this, which will put in us in line with the majority of other repos packaging this implementation of bc.

Since there is a small update anyway (which doesn't actually affect our package) I think it makes sense to do a combined trivial update and package rename. I was able to successfully update from ebc-2.6.0 => bc-gh-2.6.1 with this patch.

OK?

~Brian

? bc-gh-261.diff
Index: Makefile
===================================================================
RCS file: /cvs/ports/math/ebc/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile	11 Mar 2020 15:17:12 -0000	1.17
+++ Makefile	12 Apr 2020 21:21:50 -0000
@@ -1,9 +1,9 @@
 # $OpenBSD: Makefile,v 1.17 2020/03/11 15:17:12 bcallah Exp $
 
-V =		2.6.0
+V =		2.6.1
 COMMENT =	implementation of POSIX bc with GNU and BSD extensions
 DISTNAME =	bc-${V}
-PKGNAME =	ebc-${V}
+PKGNAME =	bc-gh-${V}
 EXTRACT_SUFX =	.tar.xz
 CATEGORIES =	math
 
@@ -25,7 +25,7 @@ CONFIGURE_SCRIPT =	configure.sh
 CONFIGURE_ARGS =	-G
 CONFIGURE_ENV =		CC="${CC}" \
 			CFLAGS="${CFLAGS}" \
-			EXECPREFIX="e" \
+			EXECSUFFIX="-gh" \
 			MANDIR="${PREFIX}/man" \
 			NLSPATH="${PREFIX}/share/locale/%L/%N"
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/math/ebc/distinfo,v
retrieving revision 1.17
diff -u -p -r1.17 distinfo
--- distinfo	11 Mar 2020 15:17:12 -0000	1.17
+++ distinfo	12 Apr 2020 21:21:50 -0000
@@ -1,2 +1,2 @@
-SHA256 (bc-2.6.0.tar.xz) = K58I7p25yosdPBWaWvX+2YH82YiZYwrdctMnCDZz64A=
-SIZE (bc-2.6.0.tar.xz) = 163300
+SHA256 (bc-2.6.1.tar.xz) = oVPISd/d0XdQvmCZc6j2oTTgQAsdxwStt5LWf64JDMw=
+SIZE (bc-2.6.1.tar.xz) = 165812
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/math/ebc/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST	15 Jan 2020 20:15:02 -0000	1.3
+++ pkg/PLIST	12 Apr 2020 21:21:50 -0000
@@ -1,38 +1,40 @@
 @comment $OpenBSD: PLIST,v 1.3 2020/01/15 20:15:02 bcallah Exp $
-@bin bin/ebc
-bin/edc
-@man man/man1/ebc.1
-@man man/man1/edc.1
+@conflict ebc-*
+@pkgpath math/ebc
+@bin bin/bc-gh
+bin/dc-gh
+@man man/man1/bc-gh.1
+@man man/man1/dc-gh.1
 share/locale/
 share/locale/de_AT.UTF-8/
-share/locale/de_AT.UTF-8/ebc
+share/locale/de_AT.UTF-8/bc-gh
 share/locale/de_CH.UTF-8/
-share/locale/de_CH.UTF-8/ebc
+share/locale/de_CH.UTF-8/bc-gh
 share/locale/de_DE.UTF-8/
-share/locale/de_DE.UTF-8/ebc
+share/locale/de_DE.UTF-8/bc-gh
 share/locale/en_AU.UTF-8/
-share/locale/en_AU.UTF-8/ebc
+share/locale/en_AU.UTF-8/bc-gh
 share/locale/en_CA.UTF-8/
-share/locale/en_CA.UTF-8/ebc
+share/locale/en_CA.UTF-8/bc-gh
 share/locale/en_GB.UTF-8/
-share/locale/en_GB.UTF-8/ebc
+share/locale/en_GB.UTF-8/bc-gh
 share/locale/en_IE.UTF-8/
-share/locale/en_IE.UTF-8/ebc
+share/locale/en_IE.UTF-8/bc-gh
 share/locale/en_NZ.UTF-8/
-share/locale/en_NZ.UTF-8/ebc
+share/locale/en_NZ.UTF-8/bc-gh
 share/locale/en_US/
 share/locale/en_US.UTF-8/
-share/locale/en_US.UTF-8/ebc
-share/locale/en_US/ebc
+share/locale/en_US.UTF-8/bc-gh
+share/locale/en_US/bc-gh
 share/locale/fr_BE.UTF-8/
-share/locale/fr_BE.UTF-8/ebc
+share/locale/fr_BE.UTF-8/bc-gh
 share/locale/fr_CA.UTF-8/
-share/locale/fr_CA.UTF-8/ebc
+share/locale/fr_CA.UTF-8/bc-gh
 share/locale/fr_CH.UTF-8/
-share/locale/fr_CH.UTF-8/ebc
+share/locale/fr_CH.UTF-8/bc-gh
 share/locale/fr_FR.UTF-8/
-share/locale/fr_FR.UTF-8/ebc
+share/locale/fr_FR.UTF-8/bc-gh
 share/locale/pt_BR.UTF-8/
-share/locale/pt_BR.UTF-8/ebc
+share/locale/pt_BR.UTF-8/bc-gh
 share/locale/pt_PT.UTF-8/
-share/locale/pt_PT.UTF-8/ebc
+share/locale/pt_PT.UTF-8/bc-gh

Reply via email to