Migrate comic-neue to the font module.

ok Tristan Le Guern (MAINTAINER)
This commit is contained in:
bentley
2026-02-24 11:14:07 +00:00
parent cd7b826170
commit e0a31a36d0
+6 -7
View File
@@ -2,9 +2,11 @@ COMMENT = replacement for Comic Sans font
MODFONT_FAMILY = comic-neue
MODFONT_VERSION = 2.51
REVISION = 0
DISTNAME = ${MODFONT_FAMILY}-${MODFONT_VERSION}
CATEGORIES = fonts
MODULES = font
HOMEPAGE = http://comicneue.com/
@@ -14,19 +16,16 @@ MAINTAINER = Tristan Le Guern <tleguern@bouledef.eu>
PERMIT_PACKAGE = Yes
SITES = https://comicneue.com/
EXTRACT_SUFX = .zip
NO_BUILD = Yes
NO_TEST = Yes
PKG_ARCH = *
FCDIR = ${PREFIX}/share/comic-neue
do-install:
MODFONT_FONTFILES = */*/*.ttf */*/*.otf
post-install:
${INSTALL_DATA_DIR} ${FCDIR}
${INSTALL_DATA} ${FILESDIR}/30-comic-sans-aliases.conf ${FCDIR}
${INSTALL_DATA_DIR} ${PREFIX}/share/fonts/comic-neue
${INSTALL_DATA} ${WRKSRC}/{TTF,OTF}/*/*.?tf \
${PREFIX}/share/fonts/comic-neue
.include <bsd.port.mk>