PORTNAME= udev-gothic PORTVERSION= 2.0.0 PORTREVISION= 0 CATEGORIES= japanese x11-fonts MASTER_SITES= https://github.com/yuru7/udev-gothic/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ja-font- DISTNAME= UDEVGothic_v${DISTVERSION} MAINTAINER= ume@FreeBSD.org COMMENT= UDEV Gothic 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 UDEV_GOTHIC_JPDOC \ UDEV_GOTHIC_LG UDEV_GOTHIC_35 \ UDEV_GOTHIC_35JPDOC UDEV_GOTHIC_35LG OPTIONS_DEFAULT= UDEV_GOTHIC UDEV_GOTHIC_JPDOC \ UDEV_GOTHIC_LG UDEV_GOTHIC_35 \ UDEV_GOTHIC_35JPDOC UDEV_GOTHIC_35LG UDEV_GOTHIC_DESC= UDEVGothic UDEV_GOTHIC_JPDOC_DESC= UDEVGothicJPDOC UDEV_GOTHIC_LG_DESC= UDEVGothicLG UDEV_GOTHIC_35_DESC= UDEVGothic35 UDEV_GOTHIC_35JPDOC_DESC= UDEVGothic35JPDOC UDEV_GOTHIC_35LG_DESC= UDEVGothic35LG .include .if ${PORT_OPTIONS:MUDEV_GOTHIC} FONT_FAMILY+= UDEVGothic .endif .if ${PORT_OPTIONS:MUDEV_GOTHIC_JPDOC} FONT_FAMILY+= UDEVGothicJPDOC .endif .if ${PORT_OPTIONS:MUDEV_GOTHIC_LG} FONT_FAMILY+= UDEVGothicLG .endif .if ${PORT_OPTIONS:MUDEV_GOTHIC_35} FONT_FAMILY+= UDEVGothic35 .endif .if ${PORT_OPTIONS:MUDEV_GOTHIC_35JPDOC} FONT_FAMILY+= UDEVGothic35JPDOC .endif .if ${PORT_OPTIONS:MUDEV_GOTHIC_35LG} FONT_FAMILY+= UDEVGothic35LG .endif FONT_STYLE= Bold BoldItalic Italic Regular do-install: ${MKDIR} ${STAGEDIR}${FONTSDIR} .for FAMILY in ${FONT_FAMILY} . for STYLE in ${FONT_STYLE} ${INSTALL_DATA} ${WRKSRC}/${FAMILY}-${STYLE}.ttf \ ${STAGEDIR}${FONTSDIR} @${ECHO_CMD} ${FONTSDIR}/${FAMILY}-${STYLE}.ttf >> ${TMPPLIST} . endfor .endfor .include