netpbm: Update to 11.09.02

This commit is contained in:
Ryan Carsten Schmidt
2025-01-14 14:46:18 -06:00
parent 1a75f8cabd
commit 0fc2a48584
3 changed files with 46 additions and 15 deletions
Regular → Executable
+15 -14
View File
@@ -5,28 +5,28 @@ PortGroup github 1.0
# Download distfiles from GitHub mirror because fetching from svn keeps being
# problematic.
github.setup leahneukirchen netpbm-mirror 7dbdd52e7ad0af521f8c2673f982012ffcb04a71
github.setup leahneukirchen netpbm-mirror f748fdde1063904786306dbca23baa10ea64500d
name netpbm
version 11.08.02
svn.revision 4971
version 11.09.02
svn.revision 4998
set source_branch advanced
distname ${source_branch}-r${svn.revision}
set source_distfile ${distfiles}
set userguide_commit e49fad7e1ad968b90d4cb03a1a30097b9e600a82
set userguide_revision 4967
set userguide_commit 7f177a0ef1ac42b840dd5410c38c5522da555848
set userguide_revision 4993
set userguide_branch userguide
set userguide_distname ${userguide_branch}-r${userguide_revision}
set userguide_distfile ${userguide_distname}${extract.suffix}
checksums ${source_distfile} \
rmd160 55060d5c1b1f77fbee8be44a92e7ba87fbeb490d \
sha256 2dbf7b73e798c0693ff66eae444507a5fa1afaf83092db547828958fc617c8fb \
size 3014515 \
rmd160 7fce98f40ecb9cb8bdcea5c9e0f275ad42d3d332 \
sha256 fab8af09b3a88dd132c2d56e555f863673997e4f1dbe3d1f82d458b51545bd08 \
size 3016136 \
${userguide_distfile} \
rmd160 baa2e9b93e86f1c01702a08ed6fa9cfb96eebbc5 \
sha256 6a7324e9466a8cc27f6a724e2c6cb031ca959ff370d710ba2f55118c03929884 \
size 1820754
rmd160 addb7456a9a987d053f5f2637ec450da733e00ad \
sha256 9db715e294fdc72a3a63e9bc0f88122d74671a994e1b12ecdf4faf1b8a898159 \
size 1820958
categories graphics
platforms darwin freebsd linux
@@ -81,6 +81,7 @@ post-extract {
}
patchfiles patch-lib-Makefile.diff \
manpage.mk.patch \
patch-other-pamx-Makefile.diff
variant universal {}
@@ -164,14 +165,14 @@ destroot.target
post-build {
# Build manpages from html files.
system -W ${workpath}/${userguide_distname} "${build.cmd} MAKEMAN=[shellescape "${worksrcpath}/buildtools/makeman -v"] USERGUIDE=. -f [shellescape ${worksrcpath}/buildtools/manpage.mk] manpages"
system -W ${worksrcpath} "${build.cmd} MAKEMAN=\"buildtools/makeman -v\" USERGUIDE=[shellescape ${workpath}/${userguide_distname}] -f buildtools/manpage.mk manpages"
}
destroot.destdir pkgdir=${destroot}${prefix}
post-destroot {
# Install manpages.
system -W ${workpath}/${userguide_distname} "${build.cmd} MANDIR=[shellescape ${destroot}${prefix}/share/man] USERGUIDE=. -f [shellescape ${worksrcpath}/buildtools/manpage.mk] installman"
system -W ${worksrcpath} "${build.cmd} MANDIR=[shellescape ${destroot}${prefix}/share/man] USERGUIDE=[shellescape ${workpath}/${userguide_distname}] -f buildtools/manpage.mk installman"
move ${destroot}${prefix}/misc ${destroot}${prefix}/share/${name}
}
@@ -309,7 +310,7 @@ platform darwin 8 {
patchfiles-append patch-python.diff
set python_branch 3.12
set python_branch 3.13
set python_version [string map {. {}} ${python_branch}]
configure.python ${prefix}/bin/python${python_branch}
+30
View File
@@ -0,0 +1,30 @@
Install manpages uncompressed. It's a waste of time to compress them here
because MacPorts will just uncompress them and recompress them (to ensure
they're compressed with maximum compression).
--- buildtools/manpage.mk.orig 2024-12-22 00:38:06.000000000 -0600
+++ buildtools/manpage.mk 2024-12-22 23:13:41.000000000 -0600
@@ -1,3 +1,11 @@
+# srcdir.mk defines SRCDIR .
+include srcdir.mk
+BUILDDIR = $(CURDIR)
+SUBDIR =
+VPATH=.:$(SRCDIR)
+
+include $(BUILDDIR)/config.mk
+
# Make Unix man pages from Netpbm HTML user manual
# GNU make version 3.81 or newer recommended.
# Tested with GNU make version 3.80.
@@ -171,9 +178,9 @@
.PHONY : installman
installman: report
set -x
- for f in $(wildcard $(MAN1)); do if [ -f $$f ]; then gzip <$$f >$(MANDIR)/man1/$$f.gz; fi; done
- for f in $(wildcard $(MAN3)); do if [ -f $$f ]; then gzip <$$f >$(MANDIR)/man3/$$f.gz; fi; done
- for f in $(wildcard $(MAN5)); do if [ -f $$f ]; then gzip <$$f >$(MANDIR)/man5/$$f.gz; fi; done
+ for f in $(wildcard $(MAN1)); do [ -f $$f ] && $(INSTALL) -c -m $(INSTALL_PERM_MAN) $$f $(MANDIR)/man1; done
+ for f in $(wildcard $(MAN3)); do [ -f $$f ] && $(INSTALL) -c -m $(INSTALL_PERM_MAN) $$f $(MANDIR)/man3; done
+ for f in $(wildcard $(MAN5)); do [ -f $$f ] && $(INSTALL) -c -m $(INSTALL_PERM_MAN) $$f $(MANDIR)/man5; done
# This will uninstall the man pages.
+1 -1
View File
@@ -8,7 +8,7 @@
#
--- buildtools/manpage.mk.orig 2018-01-17 20:10:28.000000000 -0600
+++ buildtools/manpage.mk 2018-01-17 20:10:45.000000000 -0600
@@ -126,11 +126,11 @@
@@ -134,11 +134,11 @@
# to standard error.
%.1 %.3 %.5: $(USERGUIDE)/%.html
@echo Converting $< to $@