git: fae1929481a4 - main - sysutils/clone: Moved man to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 Feb 2024 14:31:10 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fae1929481a46cfffc86645c441cf49a61b129e7
commit fae1929481a46cfffc86645c441cf49a61b129e7
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 14:28:57 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 14:30:33 +0000
sysutils/clone: Moved man to share/man
Approved by: portmgr (blanket)
---
sysutils/clone/Makefile | 3 ++-
sysutils/clone/files/patch-Makefile | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/sysutils/clone/Makefile b/sysutils/clone/Makefile
index 5dc811bf85d9..6df27b8cc3a5 100644
--- a/sysutils/clone/Makefile
+++ b/sysutils/clone/Makefile
@@ -1,6 +1,7 @@
PORTNAME= clone
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.8
+PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= cyclaero@gmail.com
@@ -14,7 +15,7 @@ USE_GITHUB= yes
GH_ACCOUNT= cyclaero
PLIST_FILES= bin/clone \
- man/man1/clone.1.gz
+ share/man/man1/clone.1.gz
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/clone
diff --git a/sysutils/clone/files/patch-Makefile b/sysutils/clone/files/patch-Makefile
index 260a0ea5db9c..d76d8b9fdcc4 100644
--- a/sysutils/clone/files/patch-Makefile
+++ b/sysutils/clone/files/patch-Makefile
@@ -7,4 +7,4 @@
- strip -x -o /usr/local/bin/$(TOOL) $(TOOL)
- cp $(TOOL).1 /usr/local/man/man1/$(TOOL).1
+ strip -x -o $(DESTDIR)$(PREFIX)/bin/$(TOOL) $(TOOL)
-+ cp $(TOOL).1 $(DESTDIR)$(PREFIX)/man/man1/$(TOOL).1
++ cp $(TOOL).1 $(DESTDIR)$(PREFIX)/share/man/man1/$(TOOL).1