aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2024-01-11 17:27:52 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2024-01-11 17:27:52 +0000
commit5a142601f023a33980bcfa6fc1522cb68a616393 (patch)
tree10f1fd5d1dec2b7bb3a96a344e0280deec19ab08
parent9ec19612828b0bad326e175fe31a3060cb83e95a (diff)
downloadports-5a142601f023a33980bcfa6fc1522cb68a616393.tar.gz
ports-5a142601f023a33980bcfa6fc1522cb68a616393.zip
misc/magicpoint: use ${PREFIX}/share/man
-rw-r--r--misc/magicpoint/Makefile5
-rw-r--r--misc/magicpoint/pkg-plist12
2 files changed, 9 insertions, 8 deletions
diff --git a/misc/magicpoint/Makefile b/misc/magicpoint/Makefile
index fd447b48478d..164fc757ba9e 100644
--- a/misc/magicpoint/Makefile
+++ b/misc/magicpoint/Makefile
@@ -1,6 +1,6 @@
PORTNAME= magicpoint
PORTVERSION= 1.13a
-PORTREVISION= 19
+PORTREVISION= 20
CATEGORIES?= misc
MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/
@@ -22,6 +22,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-vflib --enable-locale --disable-freetype
CONFIGURE_ENV= mgp_cv_path_perl=${PERL}
CPPFLAGS+= -I..
+MAKE_ARGS+= MANPATH="${PREFIX}/share/man"
LATE_INSTALL_ARGS= install.man
PORTDOCS= ${DOCS} sample emacs-lisp scripts
@@ -68,7 +69,7 @@ post-build:
post-install:
${INSTALL_MAN} ${WRKSRC}/contrib/xmindpath/xmindpath.1 \
- ${STAGEDIR}${PREFIX}/man/man1/
+ ${STAGEDIR}${PREFIX}/share/man/man1/
${INSTALL} ${WRKSRC}/contrib/xmindpath/xmindpath \
${STAGEDIR}${PREFIX}/bin/
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xmindpath
diff --git a/misc/magicpoint/pkg-plist b/misc/magicpoint/pkg-plist
index 9d184d2dee8b..106a2ecc7916 100644
--- a/misc/magicpoint/pkg-plist
+++ b/misc/magicpoint/pkg-plist
@@ -8,9 +8,9 @@ lib/X11/mgp/default.mgp
lib/X11/mgp/mgp1.jpg
lib/X11/mgp/mgp2.jpg
lib/X11/mgp/mgp3.jpg
-man/man1/mgp.1.gz
-man/man1/mgp2ps.1.gz
-man/man1/mgpembed.1.gz
-man/man1/mgpnet.1.gz
-man/man1/xwintoppm.1.gz
-man/man1/xmindpath.1.gz
+share/man/man1/mgp.1.gz
+share/man/man1/mgp2ps.1.gz
+share/man/man1/mgpembed.1.gz
+share/man/man1/mgpnet.1.gz
+share/man/man1/xwintoppm.1.gz
+share/man/man1/xmindpath.1.gz