git: d8206fb7ac0f - main - editors/tweak: Moved man to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Feb 2024 16:54:54 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d8206fb7ac0fb4ee840e2a62a6888877c300ddaa
commit d8206fb7ac0fb4ee840e2a62a6888877c300ddaa
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 16:53:07 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 16:54:24 +0000
editors/tweak: Moved man to share/man
Approved by: portmgr (blanket)
---
editors/tweak/Makefile | 3 ++-
editors/tweak/files/patch-Makefile | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/editors/tweak/Makefile b/editors/tweak/Makefile
index 86583b999bae..d14ce1436b36 100644
--- a/editors/tweak/Makefile
+++ b/editors/tweak/Makefile
@@ -1,5 +1,6 @@
PORTNAME= tweak
PORTVERSION= 3.02
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= https://www.chiark.greenend.org.uk/~sgtatham/${PORTNAME}/
@@ -13,6 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENCE
USES= gmake ncurses
PLIST_FILES= bin/tweak \
- man/man1/tweak.1.gz
+ share/man/man1/tweak.1.gz
.include <bsd.port.mk>
diff --git a/editors/tweak/files/patch-Makefile b/editors/tweak/files/patch-Makefile
index 6174b9a7d1cd..380d7a3b38f4 100644
--- a/editors/tweak/files/patch-Makefile
+++ b/editors/tweak/files/patch-Makefile
@@ -21,7 +21,7 @@
-MANDIR=$(PREFIX)/man/man1
+PREFIX?=/usr/local
+BINDIR?=$(PREFIX)/bin
-+MANDIR?=$(PREFIX)/man/man1
++MANDIR?=$(PREFIX)/share/man/man1
TWEAK := main.o keytab.o actions.o search.o rcfile.o buffer.o btree.o