aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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