diff options
-rw-r--r-- | share/man/man5/port-modules.5 | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5 index eab22599862..052e681d928 100644 --- a/share/man/man5/port-modules.5 +++ b/share/man/man5/port-modules.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: port-modules.5,v 1.269 2024/07/09 13:05:15 bentley Exp $ +.\" $OpenBSD: port-modules.5,v 1.270 2024/07/11 12:55:33 bentley Exp $ .\" .\" Copyright (c) 2008 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: July 9 2024 $ +.Dd $Mdocdate: July 11 2024 $ .Dt PORT-MODULES 5 .Os .Sh NAME @@ -697,7 +697,7 @@ it sets .Ev MODFONT_FAMILY should be set to the name of the font family. This sets -.Ev MODFONT_DIR +.Ev MODFONT_FONTDIR and .Ev MODFONT_DOCDIR using said family name. @@ -707,10 +707,15 @@ target is provided if the port itself does not provide it. This installs fonts from .Ev WRKSRC in the distribution. -If one or more file extensions are listed in -.Ev MODFONT_TYPES , -files of those types will be used. -Otherwise, otf files are preferred, with a fallback to ttf. +If one or more filenames (relative to +.Ev WRKSRC ) +are listed in +.Ev MODFONT_FONTFILES , +they will be installed to +.Ev MODFONT_FONTDIR . +Otherwise, otf files in +.Ev WRKSRC +will be installed, with a fallback to ttf. If filenames (relative to .Ev WRKSRC ) are listed in |