pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/pg_top



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Aug 11 09:14:17 UTC 2023

Modified Files:
        pkgsrc/databases/pg_top: Makefile PLIST distinfo
Added Files:
        pkgsrc/databases/pg_top/patches: patch-CMakeLists.txt

Log Message:
pg_top: Honour pkgsrc's preferred man page directory. Delint.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/pg_top/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/pg_top/PLIST \
    pkgsrc/databases/pg_top/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/pg_top/patches/patch-CMakeLists.txt

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

Modified files:

Index: pkgsrc/databases/pg_top/Makefile
diff -u pkgsrc/databases/pg_top/Makefile:1.3 pkgsrc/databases/pg_top/Makefile:1.4
--- pkgsrc/databases/pg_top/Makefile:1.3        Fri Aug 11 09:09:09 2023
+++ pkgsrc/databases/pg_top/Makefile    Fri Aug 11 09:14:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/08/11 09:09:09 nia Exp $
+# $NetBSD: Makefile,v 1.4 2023/08/11 09:14:17 nia Exp $
 
 DISTNAME=      pg_top-4.0.0
 CATEGORIES=    databases
@@ -6,8 +6,8 @@ MASTER_SITES=   https://pg_top.gitlab.io/s
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://pg_top.gitlab.io
-COMMENT=       top-like monitoring program for PostgreSQL
+HOMEPAGE=      https://pg_top.gitlab.io/
+COMMENT=       Monitoring program similar to top for PostgreSQL
 
 NOT_FOR_PLATFORM=      NetBSD-*-*
 

Index: pkgsrc/databases/pg_top/PLIST
diff -u pkgsrc/databases/pg_top/PLIST:1.1 pkgsrc/databases/pg_top/PLIST:1.2
--- pkgsrc/databases/pg_top/PLIST:1.1   Wed Apr 19 13:31:58 2023
+++ pkgsrc/databases/pg_top/PLIST       Fri Aug 11 09:14:17 2023
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2023/04/19 13:31:58 joerg Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/08/11 09:14:17 nia Exp $
 bin/pg_top
-share/man/man1/pg_top.1
+man/man1/pg_top.1
Index: pkgsrc/databases/pg_top/distinfo
diff -u pkgsrc/databases/pg_top/distinfo:1.1 pkgsrc/databases/pg_top/distinfo:1.2
--- pkgsrc/databases/pg_top/distinfo:1.1        Wed Apr 19 13:31:58 2023
+++ pkgsrc/databases/pg_top/distinfo    Fri Aug 11 09:14:17 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2023/04/19 13:31:58 joerg Exp $
+$NetBSD: distinfo,v 1.2 2023/08/11 09:14:17 nia Exp $
 
 BLAKE2s (pg_top-4.0.0.tar.xz) = 34b5c59e5c8eefdc1da100b879781cc481b754e35c740591360872c880814494
 SHA512 (pg_top-4.0.0.tar.xz) = b7a016137495ceecdcf0ac0e95c73b7eca20b57264f7b63b0a38c3f31db742c704ed0094e07f6df051bce9bc26214f5a8f66ced1e923bb66e0c86fff1e2ffc19
 Size (pg_top-4.0.0.tar.xz) = 117920 bytes
+SHA1 (patch-CMakeLists.txt) = 39ae5826e2d312de1af99941124cb99ed7672961

Added files:

Index: pkgsrc/databases/pg_top/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/databases/pg_top/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Fri Aug 11 09:14:17 2023
+++ pkgsrc/databases/pg_top/patches/patch-CMakeLists.txt        Fri Aug 11 09:14:17 2023
@@ -0,0 +1,27 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2023/08/11 09:14:17 nia Exp $
+
+Honour the platform's preferred man page directory.
+
+--- CMakeLists.txt.orig        2020-10-08 19:05:41.000000000 +0000
++++ CMakeLists.txt
+@@ -165,6 +165,7 @@ if(EXISTS "${CMAKE_SOURCE_DIR}/machine/m
+     file(APPEND ${CMAKE_BINARY_DIR}/pg_top.1.rst "${MANUAL_SUPPLIMENT}")
+ endif(EXISTS "${CMAKE_SOURCE_DIR}/machine/m_${MACHINE}.man.rst")
+ file(APPEND ${CMAKE_BINARY_DIR}/pg_top.1 "${MANUAL_SUPPLIMENT}")
++
+ execute_process(
+     COMMAND rst2man.py ${CMAKE_BINARY_DIR}/pg_top.1.rst
+     OUTPUT_FILE ${CMAKE_BINARY_DIR}/pg_top.1
+@@ -288,10 +289,11 @@ install(
+     ${CMAKE_BINARY_DIR}/${PROJECT_NAME}
+     DESTINATION "bin"
+ )
++include(GNUInstallDirs)
+ install(
+     FILES
+     ${CMAKE_BINARY_DIR}/pg_top.1
+-    DESTINATION "share/man/man1"
++    DESTINATION "${CMAKE_INSTALL_MANDIR}/man1"
+ )
+ 
+ # CPack rules for creating distribution files.



Home | Main Index | Thread Index | Old Index