aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2024-03-06 12:47:38 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2024-03-06 13:03:25 +0000
commit4e482589439a0f2b6a038110dd9365ca2378ab8f (patch)
treef0154d0624e89d2674c09456ae490de42821c944
parente23e46cd745aa592d4a57c8da121b1b67e2cef2c (diff)
downloadports-4e482589439a0f2b6a038110dd9365ca2378ab8f.tar.gz
ports-4e482589439a0f2b6a038110dd9365ca2378ab8f.zip
devel/stlink: Move man pages to share/man
Approved by: portmgr (blanket)
-rw-r--r--devel/stlink/Makefile2
-rw-r--r--devel/stlink/files/patch-doc_man_CMakeLists.txt11
-rw-r--r--devel/stlink/pkg-plist6
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