PORTNAME= udev-gothic-nf PORTVERSION= 1.3.1 PORTREVISION= 0 CATEGORIES= japanese x11-fonts MASTER_SITES= https://github.com/yuru7/udev-gothic/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ja-font- DISTNAME= UDEVGothic_NF_v${DISTVERSION} MAINTAINER= ume@FreeBSD.org COMMENT= UDEV Gothic (Nerd Fonts) WWW= https://github.com/yuru7/udev-gothic LICENSE= OFL11 USES= fonts:fc zip NO_ARCH= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/${DISTNAME} OPTIONS_MULTI= FONT_FAMILY OPTIONS_MULTI_FONT_FAMILY= UDEV_GOTHIC_NF UDEV_GOTHIC_NFLG \ UDEV_GOTHIC_35NF UDEV_GOTHIC_35NFLG OPTIONS_DEFAULT= UDEV_GOTHIC_NF UDEV_GOTHIC_NFLG \ UDEV_GOTHIC_35NF UDEV_GOTHIC_35NFLG UDEV_GOTHIC_NF_DESC= UDEVGothicNF UDEV_GOTHIC_NFLG_DESC= UDEVGothicNFLG UDEV_GOTHIC_35NF_DESC= UDEVGothic35NF UDEV_GOTHIC_35NFLG_DESC= UDEVGothic35NFLG .include .if ${PORT_OPTIONS:MUDEV_GOTHIC_NF} FONT_FAMILY+= UDEVGothicNF .endif .if ${PORT_OPTIONS:MUDEV_GOTHIC_NFLG} FONT_FAMILY+= UDEVGothicNFLG .endif .if ${PORT_OPTIONS:MUDEV_GOTHIC_35NF} FONT_FAMILY+= UDEVGothic35NF .endif .if ${PORT_OPTIONS:MUDEV_GOTHIC_35NFLG} FONT_FAMILY+= UDEVGothic35NFLG .endif do-install: ${MKDIR} ${STAGEDIR}${FONTSDIR} .for FAMILY in ${FONT_FAMILY} . for STYLE in Bold BoldItalic Italic Regular ${INSTALL_DATA} ${WRKSRC}/${FAMILY}-${STYLE}.ttf \ ${STAGEDIR}${FONTSDIR} @${ECHO_CMD} ${FONTSDIR}/${FAMILY}-${STYLE}.ttf >> ${TMPPLIST} . endfor .endfor .include