aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2024-01-18 18:04:25 +0000
committerRenato Botelho <garga@FreeBSD.org>2024-01-18 18:05:06 +0000
commit80319de069cfdada3a8c8abfecedde62333627d7 (patch)
tree576ba96720bbe464650a32b70adee23fab1c74c1
parent1d0a1b57191ce9f1e86d4f98f0b295aacb929e30 (diff)
downloadports-80319de069cfdada3a8c8abfecedde62333627d7.tar.gz
ports-80319de069cfdada3a8c8abfecedde62333627d7.zip
devel/yaggo: Move manpages to share/man
Approved by: portmgr (blanket)
-rw-r--r--devel/yaggo/Makefile3
-rw-r--r--devel/yaggo/files/patch-Makefile7
2 files changed, 5 insertions, 5 deletions
diff --git a/devel/yaggo/Makefile b/devel/yaggo/Makefile
index ac83edf90ff6..1a7f97d6be86 100644
--- a/devel/yaggo/Makefile
+++ b/devel/yaggo/Makefile
@@ -1,5 +1,6 @@
PORTNAME= yaggo
PORTVERSION= 1.5.11
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= devel
@@ -16,7 +17,7 @@ GH_ACCOUNT= gmarcais
NO_ARCH= yes
-PLIST_FILES= bin/yaggo man/man1/yaggo.1.gz share/doc/yaggo/README.md
+PLIST_FILES= bin/yaggo share/man/man1/yaggo.1.gz share/doc/yaggo/README.md
pre-configure:
@${REINPLACE_CMD} -e 's|/usr/bin/env ruby|${PREFIX}/bin/ruby|g' \
diff --git a/devel/yaggo/files/patch-Makefile b/devel/yaggo/files/patch-Makefile
index 15527d3726c2..09acacd2ddb2 100644
--- a/devel/yaggo/files/patch-Makefile
+++ b/devel/yaggo/files/patch-Makefile
@@ -1,9 +1,8 @@
--- Makefile.orig 2023-07-27 18:44:09 UTC
+++ Makefile
-@@ -1,12 +1,13 @@
+@@ -1,12 +1,12 @@
-prefix ?= /usr/local
+PREFIX ?= /usr/local
-+MANPREFIX ?= ${PREFIX}
all: bin/create_yaggo_one_file
ruby bin/create_yaggo_one_file ./yaggo
@@ -17,7 +16,7 @@
- ./yaggo -m $(DESTDIR)$(prefix)/share/man/man1/yaggo.1
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ mkdir -p $(DESTDIR)$(PREFIX)/share/doc/yaggo
-+ mkdir -p $(DESTDIR)$(PREFIX)/man/man1
++ mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
+ cp ./yaggo $(DESTDIR)$(PREFIX)/bin
+ cp ./README.md $(DESTDIR)$(PREFIX)/share/doc/yaggo
-+ ./yaggo -m $(DESTDIR)$(PREFIX)/man/man1/yaggo.1
++ ./yaggo -m $(DESTDIR)$(PREFIX)/share/man/man1/yaggo.1