git: 4e482589439a - main - devel/stlink: Move man pages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Mar 2024 13:04:00 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4e482589439a0f2b6a038110dd9365ca2378ab8f
commit 4e482589439a0f2b6a038110dd9365ca2378ab8f
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-06 12:47:38 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-06 13:03:25 +0000
devel/stlink: Move man pages to share/man
Approved by: portmgr (blanket)
---
devel/stlink/Makefile | 2 +-
devel/stlink/files/patch-doc_man_CMakeLists.txt | 11 -----------
devel/stlink/pkg-plist | 6 +++---
3 files changed, 4 insertions(+), 15 deletions(-)
diff --git a/devel/stlink/Makefile b/devel/stlink/Makefile
index 7979c17123ef..0006a6ed7d52 100644
--- a/devel/stlink/Makefile
+++ b/devel/stlink/Makefile
@@ -1,7 +1,7 @@
PORTNAME= stlink
DISTVERSION= 1.7.0
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MAINTAINER= lev@FreeBSD.org
diff --git a/devel/stlink/files/patch-doc_man_CMakeLists.txt b/devel/stlink/files/patch-doc_man_CMakeLists.txt
deleted file mode 100644
index 5d758bec75dd..000000000000
--- a/devel/stlink/files/patch-doc_man_CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- doc/man/CMakeLists.txt.orig 2021-04-24 22:24:02 UTC
-+++ doc/man/CMakeLists.txt
-@@ -30,7 +30,7 @@ foreach (manpage ${MANPAGES})
- endif ()
-
- if (f AND NOT WIN32)
-- install(FILES ${f} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man1)
-+ install(FILES ${f} DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1)
- unset(f)
- endif ()
- endforeach ()
diff --git a/devel/stlink/pkg-plist b/devel/stlink/pkg-plist
index 5517705fd5b6..7538410d56f1 100644
--- a/devel/stlink/pkg-plist
+++ b/devel/stlink/pkg-plist
@@ -21,9 +21,9 @@ lib/libstlink.so.1
lib/libstlink.so.1.7.0
lib/libstlink.a
libdata/pkgconfig/stlink.pc
-man/man1/st-flash.1.gz
-man/man1/st-info.1.gz
-man/man1/st-util.1.gz
+share/man/man1/st-flash.1.gz
+share/man/man1/st-info.1.gz
+share/man/man1/st-util.1.gz
%%DATADIR%%/Makefile
%%DATADIR%%/cleanroom.md
%%DATADIR%%/linker.ld