pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/geography/proj-doc



Module Name:    pkgsrc
Committed By:   gdt
Date:           Mon Sep  8 22:37:59 UTC 2025

Modified Files:
        pkgsrc/geography/proj-doc: Makefile PLIST distinfo

Log Message:
geography/proj-doc: Update to 9.6 and rototill

Upstream changed how they distribute doc bits (but the docs are
similar to how they were).  Adapt, fetching a pdf with a bizarre URL,
and make multiple accomodations for pkgsrc not being happy about not
extracting a tarball.  In the end this is simple; just fetch a pdf
from an odd URL and put it in share/doc, but there are a lot of
don't-do-that lines.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/geography/proj-doc/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/geography/proj-doc/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/geography/proj-doc/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/proj-doc/Makefile
diff -u pkgsrc/geography/proj-doc/Makefile:1.9 pkgsrc/geography/proj-doc/Makefile:1.10
--- pkgsrc/geography/proj-doc/Makefile:1.9      Sat Sep 21 23:29:58 2024
+++ pkgsrc/geography/proj-doc/Makefile  Mon Sep  8 22:37:59 2025
@@ -1,18 +1,12 @@
-# $NetBSD: Makefile,v 1.9 2024/09/21 23:29:58 gdt Exp $
+# $NetBSD: Makefile,v 1.10 2025/09/08 22:37:59 gdt Exp $
 
-# \todo Complete rototill because what is packaged here is no longer available.
-# https://github.com/OSGeo/PROJ/archive/refs/tags/9.5.0.tar.gz
-# docs subdir
-# make latexpdf
-# See doc/environment.yml for build requirements.
-
-DISTNAME=              proj-gh-pages
-PKGNAME=               proj-doc-9.1.0
+# https://proj.org/_/downloads/en/9.6/pdf/
+VERSION=               9.6
+DISTNAME=              proj-doc-${VERSION}
 CATEGORIES=            geography
-MASTER_SITES=          ${MASTER_SITE_GITHUB:=OSGeo/}
-GITHUB_PROJECT=                proj
-# Perhaps associated with 9.1.1, really.
-GITHUB_TAG=            c8132e949948c532e9aef6722ae6eb3e74cbc519
+MASTER_SITES=          -https://proj.org/_/downloads/en/${VERSION}/pdf/
+# Hack around assumption that it is an archive. 
+EXTRACT_SUFX=          .pdf
 
 MAINTAINER=            gdt%NetBSD.org@localhost
 HOMEPAGE=              https://proj.org/
@@ -20,11 +14,12 @@ COMMENT=            PDF documentation for the PROJ
 LICENSE=               mit
 
 NO_BUILD=              yes
-WRKSRC=                        ${WRKDIR}/PROJ-${GITHUB_TAG}
 INSTALLATION_DIRS+=    share/doc/proj
-PREV_PKGPATH=          misc/proj-doc
+
+# Hack around extract thinking it must be an archive.
+EXTRACT_CMD=           ${CP} ${DOWNLOADED_DISTFILE} .
 
 do-install:
-       ${INSTALL_DATA} ${WRKSRC}/proj.pdf ${DESTDIR}${PREFIX}/share/doc/proj/
+       ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}${EXTRACT_SUFX} ${DESTDIR}${PREFIX}/share/doc/proj/
 
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/geography/proj-doc/PLIST
diff -u pkgsrc/geography/proj-doc/PLIST:1.2 pkgsrc/geography/proj-doc/PLIST:1.3
--- pkgsrc/geography/proj-doc/PLIST:1.2 Wed Apr 21 19:38:07 2021
+++ pkgsrc/geography/proj-doc/PLIST     Mon Sep  8 22:37:59 2025
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.2 2021/04/21 19:38:07 gdt Exp $
-share/doc/proj/proj.pdf
+@comment $NetBSD: PLIST,v 1.3 2025/09/08 22:37:59 gdt Exp $
+share/doc/proj/${PKGNAME}.pdf

Index: pkgsrc/geography/proj-doc/distinfo
diff -u pkgsrc/geography/proj-doc/distinfo:1.6 pkgsrc/geography/proj-doc/distinfo:1.7
--- pkgsrc/geography/proj-doc/distinfo:1.6      Sat Nov 26 14:00:46 2022
+++ pkgsrc/geography/proj-doc/distinfo  Mon Sep  8 22:37:59 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2022/11/26 14:00:46 gdt Exp $
+$NetBSD: distinfo,v 1.7 2025/09/08 22:37:59 gdt Exp $
 
-BLAKE2s (proj-gh-pages-c8132e949948c532e9aef6722ae6eb3e74cbc519.tar.gz) = 880be6570dd01cd8c3296b9c384acc58a69fc1b23265945b9a507b6b587b76f6
-SHA512 (proj-gh-pages-c8132e949948c532e9aef6722ae6eb3e74cbc519.tar.gz) = 
41d5e6af14b63c1b09f1c640f59d90ad45c0dae438fd30dd42f533b25c889ce3d4f6db6acd01f79c14247aa129e176e505fa3e0c7154e1e783d0ebc8931173a9
-Size (proj-gh-pages-c8132e949948c532e9aef6722ae6eb3e74cbc519.tar.gz) = 62780044 bytes
+BLAKE2s (proj-doc-9.6.pdf) = 5e2efa33b4ec2f89dbc8a12ce322b4fa25b6fed8dff2acc5319016e07334cbb4
+SHA512 (proj-doc-9.6.pdf) = a61c6545bd37f61bb61a8dc184236a7f8a3e0f086732ab8c799aa0705602761b3417cfaaaf9d490ee49de322b0f4f2c1189520343cbe84fea045ddff50eba1aa
+Size (proj-doc-9.6.pdf) = 47043406 bytes



Home | Main Index | Thread Index | Old Index