-.\" $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
.\"
.\" (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
.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.
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