bowser5555 pointed out (thanks!) that I forgot to update MASTER_SITES
when working around the version confusion (10.00.0 and 10.0.0 are used
inconsistently). Fix attached.
On 10/4/22 16:16, Volker Schlecht wrote:
Here's the update to ghostscript 10.0 with the version bump to the
shared lib.
Index: Makefile
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/Makefile,v
retrieving revision 1.124
diff -u -p -r1.124 Makefile
--- Makefile 3 Jul 2022 22:45:21 -0000 1.124
+++ Makefile 6 Oct 2022 13:02:08 -0000
@@ -1,12 +1,13 @@
COMMENT = PostScript and PDF interpreter
-VERSION = 9.56.1
-DISTNAME = ghostscript-${VERSION}
+VERSION = 10.00.0
+DISTVSN = 10.0.0
+DISTNAME = ghostscript-${DISTVSN}
EXTRACT_SUFX = .tar.xz
CATEGORIES = lang print
-SHARED_LIBS = gs 17.0
+SHARED_LIBS = gs 18.0
-MASTER_SITES = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${VERSION:S/.//g}/
+MASTER_SITES = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${DISTVSN:S/.//g}/
PORTROACH = site:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/
Index: distinfo
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/distinfo,v
retrieving revision 1.19
diff -u -p -r1.19 distinfo
--- distinfo 13 Apr 2022 14:23:19 -0000 1.19
+++ distinfo 6 Oct 2022 13:02:08 -0000
@@ -1,2 +1,2 @@
-SHA256 (ghostscript-9.56.1.tar.xz) = 1DQGgFZQAJtCw9X23FNSM0VFM8HifBOnfdHUYqBWuOQ=
-SIZE (ghostscript-9.56.1.tar.xz) = 62589232
+SHA256 (ghostscript-10.0.0.tar.xz) = 8fpYX3x9Mq36gas4k4gQCsnfg0ROtk2x+5JzcUHvn2E=
+SIZE (ghostscript-10.0.0.tar.xz) = 62749144
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/patches/patch-configure,v
retrieving revision 1.4
diff -u -p -r1.4 patch-configure
--- patches/patch-configure 13 Apr 2022 14:23:19 -0000 1.4
+++ patches/patch-configure 6 Oct 2022 13:02:08 -0000
@@ -1,7 +1,7 @@
Index: configure
--- configure.orig
+++ configure
-@@ -11408,8 +11408,8 @@ DLL_EXT=""
+@@ -11470,8 +11470,8 @@ DLL_EXT=""
SO_LIB_VERSION_SEPARATOR="."
libname1="_SO_BASE)\$(GS_SOEXT)\$(DLL_EXT)"
@@ -12,7 +12,7 @@ Index: configure
GS_SONAME="lib\$(GS${libname1}"
GS_SONAME_MAJOR="lib\$(GS${libname2}"
GS_SONAME_MAJOR_MINOR="lib\$(GS${libname3}"
-@@ -11520,11 +11520,11 @@ case $host in
+@@ -11582,11 +11582,11 @@ case $host in
;;
*bsd*)
DYNAMIC_CFLAGS="-fPIC $DYNAMIC_CFLAGS"
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/pkg/PLIST,v
retrieving revision 1.33
diff -u -p -r1.33 PLIST
--- pkg/PLIST 13 Apr 2022 14:23:20 -0000 1.33
+++ pkg/PLIST 6 Oct 2022 13:02:08 -0000
@@ -68,45 +68,10 @@ man/de/man1/
@man man/man1/ps2ps.1
share/doc/ghostscript/
share/doc/ghostscript/${VERSION}/
-share/doc/ghostscript/${VERSION}/API.htm
-share/doc/ghostscript/${VERSION}/C-style.htm
share/doc/ghostscript/${VERSION}/COPYING
-share/doc/ghostscript/${VERSION}/DLL.htm
-share/doc/ghostscript/${VERSION}/Deprecated.htm
-share/doc/ghostscript/${VERSION}/Develop.htm
-share/doc/ghostscript/${VERSION}/Devices.htm
-share/doc/ghostscript/${VERSION}/Drivers.htm
-share/doc/ghostscript/${VERSION}/Fonts.htm
share/doc/ghostscript/${VERSION}/GS9_Color_Management.pdf
-share/doc/ghostscript/${VERSION}/History9.htm
-share/doc/ghostscript/${VERSION}/Install.htm
-share/doc/ghostscript/${VERSION}/Language.htm
-share/doc/ghostscript/${VERSION}/Lib.htm
-share/doc/ghostscript/${VERSION}/Make.htm
share/doc/ghostscript/${VERSION}/News.htm
-share/doc/ghostscript/${VERSION}/Ps-style.htm
-share/doc/ghostscript/${VERSION}/Ps2epsi.htm
-share/doc/ghostscript/${VERSION}/Psfiles.htm
-share/doc/ghostscript/${VERSION}/Readme.htm
-share/doc/ghostscript/${VERSION}/Release.htm
-share/doc/ghostscript/${VERSION}/SavedPages.htm
-share/doc/ghostscript/${VERSION}/Source.htm
-share/doc/ghostscript/${VERSION}/Unix-lpr.htm
-share/doc/ghostscript/${VERSION}/Use.htm
-share/doc/ghostscript/${VERSION}/VectorDevices.htm
-share/doc/ghostscript/${VERSION}/WhatIsGS.htm
-share/doc/ghostscript/${VERSION}/gdevds32.c
share/doc/ghostscript/${VERSION}/images/
-share/doc/ghostscript/${VERSION}/images/Artifex_logo.png
-share/doc/ghostscript/${VERSION}/images/favicon.png
-share/doc/ghostscript/${VERSION}/images/ghostscript_logo.png
-share/doc/ghostscript/${VERSION}/images/hamburger-light.png
-share/doc/ghostscript/${VERSION}/images/x-light.png
-share/doc/ghostscript/${VERSION}/index.html
-share/doc/ghostscript/${VERSION}/pscet_status.txt
-share/doc/ghostscript/${VERSION}/sample_downscale_device.htm
-share/doc/ghostscript/${VERSION}/subclass.htm
-share/doc/ghostscript/${VERSION}/thirdparty.htm
share/ghostscript/
share/ghostscript/${VERSION}/
share/ghostscript/${VERSION}/lib/