From fae1929481a46cfffc86645c441cf49a61b129e7 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sun, 25 Feb 2024 15:28:57 +0100 Subject: [PATCH] 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