Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.port.mk
Show First 20 Lines • Show All 537 Lines • ▼ Show 20 Lines | |||||
# | # | ||||
# Set the following to specify all .info files your port installs. | # Set the following to specify all .info files your port installs. | ||||
# | # | ||||
# INFO - A list of .info files (omitting the trailing ".info"); | # INFO - A list of .info files (omitting the trailing ".info"); | ||||
# only one entry per document! These files are listed in | # only one entry per document! These files are listed in | ||||
# the path relative to ${INFO_PATH}. | # the path relative to ${INFO_PATH}. | ||||
# INFO_PATH - Path, where all .info files will be installed by your | # INFO_PATH - Path, where all .info files will be installed by your | ||||
# port, relative to ${PREFIX} | # 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 | # Set the following to specify all documentation your port installs into | ||||
# ${DOCSDIR} | # ${DOCSDIR} | ||||
# | # | ||||
# PORTDOCS - A list of files and directories relative to DOCSDIR. | # PORTDOCS - A list of files and directories relative to DOCSDIR. | ||||
# Shell glob patterns can be used, directories include | # Shell glob patterns can be used, directories include | ||||
# the entire subtree of contained files and directories. | # the entire subtree of contained files and directories. | ||||
# Should not be set when no documentation files are | # Should not be set when no documentation files are | ||||
▲ Show 20 Lines • Show All 2,110 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
MANDIRS+= ${MANPREFIX}/man | MANDIRS+= ${MANPREFIX}/man | ||||
.for sect in 1 2 3 4 5 6 7 8 9 | .for sect in 1 2 3 4 5 6 7 8 9 | ||||
MAN${sect}PREFIX?= ${MANPREFIX} | MAN${sect}PREFIX?= ${MANPREFIX} | ||||
.endfor | .endfor | ||||
MANLPREFIX?= ${MANPREFIX} | MANLPREFIX?= ${MANPREFIX} | ||||
MANNPREFIX?= ${MANPREFIX} | MANNPREFIX?= ${MANPREFIX} | ||||
.if ${PREFIX} == /usr | |||||
INFO_PATH?= share/info | INFO_PATH?= share/info | ||||
.else | |||||
INFO_PATH?= info | |||||
.endif | |||||
.if defined(INFO) | .if defined(INFO) | ||||
RUN_DEPENDS+= indexinfo:print/indexinfo | RUN_DEPENDS+= indexinfo:print/indexinfo | ||||
. for D in ${INFO:H} | . for D in ${INFO:H} | ||||
RD:= ${D} | RD:= ${D} | ||||
. if ${RD} != "." | . if ${RD} != "." | ||||
. if !defined(INFO_SUBDIR) | . if !defined(INFO_SUBDIR) | ||||
▲ Show 20 Lines • Show All 2,712 Lines • Show Last 20 Lines |