git: 65c3d3099dc1 - main - ports-mgmt/mkreadmes: Move man pages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Mar 2024 16:30:09 UTC
The branch main has been updated by naddy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=65c3d3099dc1134a2971a07ec8e846c231879e36
commit 65c3d3099dc1134a2971a07ec8e846c231879e36
Author: Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-16 16:29:30 +0000
Commit: Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-16 16:29:30 +0000
ports-mgmt/mkreadmes: Move man pages to share/man
Approved by: portmgr (blanket)
---
ports-mgmt/mkreadmes/Makefile | 3 ++-
ports-mgmt/mkreadmes/files/patch-Makefile | 8 ++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/ports-mgmt/mkreadmes/Makefile b/ports-mgmt/mkreadmes/Makefile
index a74f4b3eca8d..c8b37423e636 100644
--- a/ports-mgmt/mkreadmes/Makefile
+++ b/ports-mgmt/mkreadmes/Makefile
@@ -1,5 +1,6 @@
PORTNAME= mkreadmes
DISTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= SF/${PORTNAME}
@@ -9,7 +10,7 @@ WWW= https://sourceforge.net/projects/mkreadmes/
USES= tar:bzip2
-PLIST_FILES= man/man1/mkreadmes.1.gz sbin/${PORTNAME}
+PLIST_FILES= sbin/${PORTNAME} share/man/man1/mkreadmes.1.gz
PORTDATA= *
post-patch:
diff --git a/ports-mgmt/mkreadmes/files/patch-Makefile b/ports-mgmt/mkreadmes/files/patch-Makefile
index 39a53be16c32..77ae7648ca56 100644
--- a/ports-mgmt/mkreadmes/files/patch-Makefile
+++ b/ports-mgmt/mkreadmes/files/patch-Makefile
@@ -1,6 +1,6 @@
---- ./Makefile.orig 2014-06-23 23:32:51.000000000 -0400
-+++ ./Makefile 2014-06-23 23:34:59.000000000 -0400
-@@ -8,9 +8,9 @@
+--- Makefile.orig 2012-05-04 20:54:09 UTC
++++ Makefile
+@@ -8,9 +8,9 @@ PREFIX?= /usr/local # allow user to override insta
PROGRAM= mkreadmes
VERSION= 1.3
PREFIX?= /usr/local # allow user to override install prefix
@@ -9,7 +9,7 @@
-MANDIR= ${PREFIX}/man/man1
+BINDIR= ${DESTDIR}${PREFIX}/sbin
+DATADIR= ${DESTDIR}${PREFIX}/share/${PROGRAM}
-+MANDIR= ${DESTDIR}${PREFIX}/man/man1
++MANDIR= ${DESTDIR}${PREFIX}/share/man/man1
TEMPLATESDIR= ${DATADIR}/Templates
SRCS= index.c init.c main.c ${PROGRAM}.c util.c ${PROGRAM}.h
INCLUDES= /usr/include