Switch apl-fonts to the font module.

This commit is contained in:
bentley
2026-02-11 19:40:27 +00:00
parent 6539aadd6b
commit 76d6f921eb
2 changed files with 12 additions and 17 deletions
+9 -14
View File
@@ -1,11 +1,14 @@
V = 1.0
COMMENT = Adrian Smith's standard APL fonts
PKGNAME = apl-fonts-${V}
DISTFILES = apl385-${V}{apl385}${EXTRACT_SUFX} \
apl333-${V}{apl333}${EXTRACT_SUFX}
EXTRACT_SUFX = .zip
MODFONT_FAMILY = apl-fonts
MODFONT_VERSION = 1.0
REVISION = 1
DISTFILES = apl385-${MODFONT_VERSION}{apl385}${EXTRACT_SUFX} \
apl333-${MODFONT_VERSION}{apl333}${EXTRACT_SUFX}
MODULES = font
CATEGORIES = fonts x11
REVISION = 0
HOMEPAGE = https://www.apl385.com/fonts/
@@ -16,13 +19,5 @@ SITES = ${HOMEPAGE}
NO_BUILD = Yes
NO_TEST = Yes
PKG_ARCH = *
FONTSDIR = ${PREFIX}/share/fonts/apl
do-install:
${INSTALL_DATA_DIR} ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/Apl385.ttf ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/APL333.ttf ${FONTSDIR}/Apl333.ttf
.include <bsd.port.mk>
+3 -3
View File
@@ -1,4 +1,4 @@
share/fonts/
@fontdir share/fonts/apl/
share/fonts/apl/Apl333.ttf
share/fonts/apl/Apl385.ttf
@fontdir share/fonts/apl-fonts/
share/fonts/apl-fonts/APL333.ttf
share/fonts/apl-fonts/Apl385.ttf