git: 762eb78557f9 - main - sysutils/crate: Move man page to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Mar 2024 08:22:02 UTC
The branch main has been updated by yasu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=762eb78557f9f18e4e2788a8548a9415899737d1
commit 762eb78557f9f18e4e2788a8548a9415899737d1
Author: Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-29 08:16:50 +0000
Commit: Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-29 08:16:51 +0000
sysutils/crate: Move man page to share/man
Approved by: portmgr (blanket)
---
sysutils/crate/Makefile | 4 ++--
sysutils/crate/files/patch-Makefile | 11 +++++++++++
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/sysutils/crate/Makefile b/sysutils/crate/Makefile
index 3af7d904fcb4..945c97ec6cc2 100644
--- a/sysutils/crate/Makefile
+++ b/sysutils/crate/Makefile
@@ -1,6 +1,6 @@
PORTNAME= crate
DISTVERSION= 0.1.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils emulators
MAINTAINER= yuri@FreeBSD.org
@@ -22,7 +22,7 @@ USE_GITHUB= yes
GH_ACCOUNT= yurivict
PLIST_FILES= bin/${PORTNAME} \
- man/man5/${PORTNAME}.5.gz
+ share/man/man5/${PORTNAME}.5.gz
OPTIONS_DEFINE= EXAMPLES
diff --git a/sysutils/crate/files/patch-Makefile b/sysutils/crate/files/patch-Makefile
new file mode 100644
index 000000000000..4e3b558693cd
--- /dev/null
+++ b/sysutils/crate/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2019-08-11 07:07:44 UTC
++++ Makefile
+@@ -16,7 +16,7 @@ install: crate
+
+ install: crate
+ install -s -m 04755 crate $(DESTDIR)$(PREFIX)/bin
+- gzip -9 < crate.5 > $(DESTDIR)$(PREFIX)/man/man5/crate.5.gz
++ gzip -9 < crate.5 > $(DESTDIR)$(PREFIX)/share/man/man5/crate.5.gz
+
+ install-local: crate.x
+