summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2018-11-10 18:12:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2018-11-10 18:12:57 +0000
commit7990f810661ef0c3f4870afc67b1eb08684b8dc8 (patch)
treef40cba2ed30c79b84c1d56a779b7139f24d6c36f /Mk
parentfa0d2e76ea8e387f084dbd4135979433ed303274 (diff)
downloadfreebsd-ports-7990f810661ef0c3f4870afc67b1eb08684b8dc8.zip
Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to ${PREFIX}/share/man for consistency with base where it is installed in usr/share/man, it appeared the same should happen to GNU info files which were installed under share in base and not in ports. Now texinfo is not in base on any of the supported version of FreeBSD it is possible to proceed to this move and it is easier to do than the manpage change. Other benefit than consistency are less patching: all build tools but cmake are expecting info files to be under share/info and cmake (patched here) was having an exception for BSD so the patch makes FreeBSD case less specific for them Bump revision of all impacted ports PR: 232907 exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D17816
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 26e9459235e4..7f948c334793 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -543,8 +543,6 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# the path relative to ${INFO_PATH}.
# INFO_PATH - Path, where all .info files will be installed by your
# port, relative to ${PREFIX}
-# Default: "share/info" if ${PREFIX} is equal to /usr
-# and "info" otherwise.
#
# Set the following to specify all documentation your port installs into
# ${DOCSDIR}
@@ -2672,12 +2670,7 @@ MAN${sect}PREFIX?= ${MANPREFIX}
.endfor
MANLPREFIX?= ${MANPREFIX}
MANNPREFIX?= ${MANPREFIX}
-
-.if ${PREFIX} == /usr
INFO_PATH?= share/info
-.else
-INFO_PATH?= info
-.endif
.if defined(INFO)
RUN_DEPENDS+= indexinfo:print/indexinfo