Anthony J. Bentley writes:
> So, this diff makes the following straightforward changes:
>
> - replace all TYPEFACE with MODFONT_FAMILY
> - replace all FONTTYPES with MODFONT_TYPES
> - replace V/VERSION with MODFONT_VERSION (only if the module uses it,
>   i.e., if TYPEFACE is set)
> - replace FONTDIR with MODFONT_DIR (only if the module's FONTDIR or the
>   module's do-install is used)

And here's the corresponding manpage diff.

Index: port-modules.5
===================================================================
RCS file: /cvs/src/share/man/man5/port-modules.5,v
diff -u -p -r1.267 port-modules.5
--- port-modules.5      1 Jan 2024 14:16:59 -0000       1.267
+++ port-modules.5      14 Apr 2024 17:36:20 -0000
@@ -689,18 +689,16 @@ and
 Appends to
 .Ev CATEGORIES .
 When
-.Ev TYPEFACE
+.Ev MODFONT_FAMILY
 is set in combination with
-.Ev V
-or
-.Ev VERSION ,
+.Ev MODFONT_VERSION ,
 it sets
 .Ev PKGNAME .
-.Ev TYPEFACE
-should be set to the name of the typeface.
+.Ev MODFONT_FAMILY
+should be set to the name of the font family.
 This sets
-.Ev FONTDIR
-using said typeface name.
+.Ev MODFONT_DIR
+using said family name.
 A
 .Cm do-install
 target is provided if the port itself does not provide it.
@@ -708,7 +706,7 @@ This installs fonts from
 .Ev WRKSRC
 in the distribution.
 If one or more file extensions are listed in
-.Ev FONTTYPES ,
+.Ev MODFONT_TYPES ,
 files of those types will be used.
 Otherwise, otf files are preferred, with a fallback to ttf.
 .It fortran

Reply via email to