aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2024-02-27 00:27:16 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2024-02-27 02:43:33 +0000
commit1169e2018977879703d107ac09da4febc96af312 (patch)
treedc18dcab2870ca6edc6f572ec795f3a06697a2cb /editors
parentebaf6e4a40966d04e6be64ff503650aee7864d56 (diff)
downloadports-1169e2018977879703d107ac09da4febc96af312.tar.gz
ports-1169e2018977879703d107ac09da4febc96af312.zip
editors/mg: Install man pages under share/man
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'editors')
-rw-r--r--editors/mg/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/mg/Makefile b/editors/mg/Makefile
index c7320e0d4345..eb6a19211330 100644
--- a/editors/mg/Makefile
+++ b/editors/mg/Makefile
@@ -1,5 +1,6 @@
PORTNAME= mg
DISTVERSION= 20231016
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= editors
MASTER_SITES= https://hydrus.org.uk/downloads/
@@ -11,7 +12,7 @@ WWW= https://man.openbsd.org/mg
LICENSE= PD
USES= ncurses uidfix
-MAKE_ARGS+= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man \
+MAKE_ARGS+= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/share/man/man \
NCURSESLIB=${NCURSESLIB} NCURSESINC=${NCURSESINC}
FLAVORS= dynamic static
FLAVOR?= ${FLAVORS:[1]}
@@ -22,7 +23,7 @@ MAKE_ARGS+= NO_SHARED=yes
PLIST_FILES= /rescue/mg
.else
PLIST_FILES= bin/mg \
- man/man1/mg.1.gz
+ share/man/man1/mg.1.gz
PORTDOCS= README tutorial
OPTIONS_DEFINE= DOCS
.endif