1PORTNAME= fantasque-sans-mono 2PORTVERSION= 1.8.0 3CATEGORIES= x11-fonts 4MASTER_SITES= https://github.com/belluzj/fantasque-sans/releases/download/v${PORTVERSION}/ 5DIST_SUBDIR= ${DISTNAME} 6 7MAINTAINER= ports@MidnightBSD.org 8COMMENT= Programming font, designed with functionality in mind 9 10LICENSE= OFL11 11 12NO_ARCH= yes 13NO_BUILD= yes 14NO_WRKSUBDIR= yes 15USES= fonts 16 17OPTIONS_DEFINE= DOCS 18 19OPTIONS_SINGLE= VARIANT 20OPTIONS_SINGLE_VARIANT= NORMAL NOLOOPK LLINE LLINENOLOOPK 21 22NORMAL_DESC= Standard 23NOLOOPK_DESC= Nondescript K 24LLINE_DESC= Large line spacing 25LLINENOLOOPK_DESC= Large line spacing with Nondescript K 26 27OPTIONS_DEFAULT= NORMAL 28 29NORMAL_DISTFILES= FantasqueSansMono-Normal.tar.gz 30NOLOOPK_DISTFILES= FantasqueSansMono-NoLoopK.tar.gz 31LLINE_DISTFILES= FantasqueSansMono-LargeLineHeight.tar.gz 32LLINENOLOOPK_DISTFILES= FantasqueSansMono-LargeLineHeight-NoLoopK.tar.gz 33 34.include <bsd.mport.options.mk> 35 36.if make(makesum) 37DISTFILES:= ${OPTIONS_SINGLE_VARIANT:@.opt.@${${.opt.}_DISTFILES}@} 38.endif 39 40do-install: 41 ${MKDIR} ${FONTSDIR} 42 cd ${WRKSRC}/OTF && \ 43 ${INSTALL_DATA} *.otf ${FONTSDIR} 44 ${MKDIR} ${DOCSDIR} 45 cd ${WRKSRC} && \ 46 ${INSTALL_DATA} README.md ${DOCSDIR} 47 48.include <bsd.port.mk> 49