diff options
Diffstat (limited to 'japanese/font-plemoljp-nfj/Makefile')
-rw-r--r-- | japanese/font-plemoljp-nfj/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/japanese/font-plemoljp-nfj/Makefile b/japanese/font-plemoljp-nfj/Makefile new file mode 100644 index 000000000000..f84b67358c8a --- /dev/null +++ b/japanese/font-plemoljp-nfj/Makefile @@ -0,0 +1,47 @@ +PORTNAME= plemoljp-nfj +PORTVERSION= 1.3.0 +PORTREVISION= 0 +CATEGORIES= japanese x11-fonts +MASTER_SITES= https://github.com/yuru7/PlemolJP/releases/download/v${PORTVERSION}/ +PKGNAMEPREFIX= ja-font- +DISTNAME= PlemolJP_NFJ_v${DISTVERSION} + +MAINTAINER= ume@FreeBSD.org +COMMENT= Plex Mono Language JP (Nerd Fonts / Japanese character priority) +WWW= https://github.com/yuru7/PlemolJP + +LICENSE= OFL11 + +USES= fonts:fc zip +NO_ARCH= yes +NO_BUILD= yes +WRKSRC= ${WRKDIR}/${DISTNAME} + +OPTIONS_MULTI= FONT_FAMILY +OPTIONS_MULTI_FONT_FAMILY= PLEMOLJP_CONS_NFJ PLEMOLJP35_CONS_NFJ +OPTIONS_DEFAULT= PLEMOLJP_CONS_NFJ PLEMOLJP35_CONS_NFJ +PLEMOLJP_CONS_NFJ_DESC= PlemolJP Console NFJ +PLEMOLJP35_CONS_NFJ_DESC= PlemolJP35 Console NFJ + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MPLEMOLJP_CONS_NFJ} +FONT_FAMILY+= PlemolJPConsole_NFJ +.endif +.if ${PORT_OPTIONS:MPLEMOLJP35_CONS_NFJ} +FONT_FAMILY+= PlemolJP35Console_NFJ +.endif + +do-install: + ${MKDIR} ${STAGEDIR}${FONTSDIR} +.for FAMILY in ${FONT_FAMILY} +. for STYLE in Bold BoldItalic ExtraLight ExtraLightItalic Italic \ + Light LightItalic Medium MediumItalic Regular \ + SemiBold SemiBoldItalic Text TextItalic Thin ThinItalic + ${INSTALL_DATA} ${WRKSRC}/${FAMILY}/${FAMILY:S/_//}-${STYLE}.ttf \ + ${STAGEDIR}${FONTSDIR} + @${ECHO_CMD} ${FONTSDIR}/${FAMILY:S/_//}-${STYLE}.ttf >> ${TMPPLIST} +. endfor +.endfor + +.include <bsd.port.mk> |