editors/mg: Install man pages under share/man

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Joseph Mingrone 2024-02-26 20:27:16 -04:00
parent ebaf6e4a40
commit 1169e20189
No known key found for this signature in database
GPG Key ID: 36A40C83B0D6EF9E
1 changed files with 3 additions and 2 deletions

View File

@ -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