Lines 602-607
Link Here
|
602 |
# example, if your port has "man/man1/foo.1" and |
602 |
# example, if your port has "man/man1/foo.1" and |
603 |
# "man/mann/bar.n", set "MAN1=foo.1" and "MANN=bar.n". |
603 |
# "man/mann/bar.n", set "MAN1=foo.1" and "MANN=bar.n". |
604 |
# The available sections chars are "123456789LN". |
604 |
# The available sections chars are "123456789LN". |
|
|
605 |
# MAN<sect>_<lang> |
606 |
# - If your port does not install all man pages for all |
607 |
# languages in MANLANG, language specific pages for |
608 |
# a language can be specified with this. For example, |
609 |
# if the port installs foo.1 in English, Japanese, and |
610 |
# German, bar.1 in English only, and baz.3 in German |
611 |
# only, set |
612 |
# MANLANG= "" de ja |
613 |
# MAN1= foo.1 |
614 |
# MAN1_EN= bar.1 |
615 |
# MAN3_DE= baz.3 |
605 |
# MLINKS - A list of <source, target> tuples for creating links |
616 |
# MLINKS - A list of <source, target> tuples for creating links |
606 |
# for manpages. For example, "MLINKS= a.1 b.1 c.3 d.3" |
617 |
# for manpages. For example, "MLINKS= a.1 b.1 c.3 d.3" |
607 |
# will do an "ln -sf a.1 b.1" and "ln -sf c.3 d.3" in |
618 |
# will do an "ln -sf a.1 b.1" and "ln -sf c.3 d.3" in |
Lines 2954-2964
Link Here
|
2954 |
.for manlang in ${MANLANG:S%^%man/%:S%^man/""$%man%:S%^man/"$%man%} |
2965 |
.for manlang in ${MANLANG:S%^%man/%:S%^man/""$%man%:S%^man/"$%man%} |
2955 |
|
2966 |
|
2956 |
.for sect in 1 2 3 4 5 6 7 8 9 L N |
2967 |
.for sect in 1 2 3 4 5 6 7 8 9 L N |
|
|
2968 |
# MAN${sect} is for man pages installed for all languages in MANLANG for a given |
2969 |
# section. |
2957 |
.if defined(MAN${sect}) |
2970 |
.if defined(MAN${sect}) |
2958 |
_MANPAGES+= ${MAN${sect}:S%^%${MAN${sect}PREFIX}/${manlang}/man${sect:L}/%} |
2971 |
_MANPAGES+= ${MAN${sect}:S%^%${MAN${sect}PREFIX}/${manlang}/man${sect:L}/%} |
2959 |
.endif |
2972 |
.endif |
|
|
2973 |
|
2974 |
# Language specific MAN${sect} variables are for man pages installed in that |
2975 |
# language, but not necessarily all languages in MANLANG. |
2976 |
.if defined(MAN${sect}_${manlang:S%^man/%%:U}) |
2977 |
_MANPAGES+= ${MAN${sect}_${manlang:S%^man/%%:U}:S%^%${MAN${sect}PREFIX}/${manlang}/man${sect:L}/%} |
2978 |
.endif |
2979 |
|
2960 |
.endfor |
2980 |
.endfor |
2961 |
|
2981 |
|
|
|
2982 |
.endfor |
2983 |
|
2984 |
# Special case for English, since it is defined with "" in MANLANG rather than |
2985 |
# a language name and does not have man pages installed in a lang subdirectory |
2986 |
# of MAN${sect}PREFIX. |
2987 |
.for sect in 1 2 3 4 5 6 7 8 9 L N |
2988 |
.if defined(MAN${sect}_EN) |
2989 |
_MANPAGES+= ${MAN${sect}_EN:S%^%${MAN${sect}PREFIX}/man/man${sect:L}/%} |
2990 |
.endif |
2962 |
.endfor |
2991 |
.endfor |
2963 |
|
2992 |
|
2964 |
.if !defined(_TMLINKS) |
2993 |
.if !defined(_TMLINKS) |