aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-23 16:53:07 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-23 16:54:24 +0000
commitd8206fb7ac0fb4ee840e2a62a6888877c300ddaa (patch)
tree85fbc8d07de3979ac4693319e39fa327b706b14c
parent37491cde9b21de68b39c214d880bf47d620b8822 (diff)
downloadports-d8206fb7ac0fb4ee840e2a62a6888877c300ddaa.tar.gz
ports-d8206fb7ac0fb4ee840e2a62a6888877c300ddaa.zip
editors/tweak: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--editors/tweak/Makefile3
-rw-r--r--editors/tweak/files/patch-Makefile2
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