PORTNAME= rounded-mgenplus PORTVERSION= 20150602 PORTREVISION= 1 CATEGORIES= japanese x11-fonts MASTER_SITES= OSDN_CHAMBER/8/8598 PKGNAMEPREFIX= ja-font- MAINTAINER= ume@FreeBSD.org COMMENT= Rounded Mgen+ Japanese TrueType fonts LICENSE= OFL11 USES= 7z fonts:fc FONTPATHSPEC= ${FONTNAME}:pri=60 NO_ARCH= yes NO_BUILD= yes PKGINSTALL= ${WRKDIR}/pkg-install PKGDEINSTALL= ${WRKDIR}/pkg-install SUB_FILES= pkg-install NO_WRKSUBDIR= yes PORTDOCS= * OPTIONS_DEFINE= DOCS OPTIONS_MULTI= FONT_FAMILY OPTIONS_MULTI_FONT_FAMILY= ROUNDED_MGENPLUS_1C ROUNDED_MGENPLUS_1CP \ ROUNDED_MGENPLUS_1M ROUNDED_MGENPLUS_1MN \ ROUNDED_MGENPLUS_1P ROUNDED_MGENPLUS_1PP \ ROUNDED_MGENPLUS_2C ROUNDED_MGENPLUS_2CP \ ROUNDED_MGENPLUS_2M ROUNDED_MGENPLUS_2P \ ROUNDED_MGENPLUS_2PP OPTIONS_DEFAULT= ROUNDED_MGENPLUS_1C ROUNDED_MGENPLUS_1CP \ ROUNDED_MGENPLUS_1M ROUNDED_MGENPLUS_1MN \ ROUNDED_MGENPLUS_1P ROUNDED_MGENPLUS_1PP \ ROUNDED_MGENPLUS_2C ROUNDED_MGENPLUS_2CP \ ROUNDED_MGENPLUS_2M ROUNDED_MGENPLUS_2P \ ROUNDED_MGENPLUS_2PP OPTIONS_SUB= yes ROUNDED_MGENPLUS_1C_DESC= Rounded Mgen+ 1c ROUNDED_MGENPLUS_1CP_DESC= Rounded Mgen+ 1cp ROUNDED_MGENPLUS_1M_DESC= Rounded Mgen+ 1m ROUNDED_MGENPLUS_1MN_DESC= Rounded Mgen+ 1mn ROUNDED_MGENPLUS_1P_DESC= Rounded Mgen+ 1p ROUNDED_MGENPLUS_1PP_DESC= Rounded Mgen+ 1pp ROUNDED_MGENPLUS_2C_DESC= Rounded Mgen+ 2c ROUNDED_MGENPLUS_2CP_DESC= Rounded Mgen+ 2cp ROUNDED_MGENPLUS_2M_DESC= Rounded Mgen+ 2m ROUNDED_MGENPLUS_2P_DESC= Rounded Mgen+ 2p ROUNDED_MGENPLUS_2PP_DESC= Rounded Mgen+ 2pp .include .if ${PORT_OPTIONS:MROUNDED_MGENPLUS_1C} FAMILY= 1c .endif .if ${PORT_OPTIONS:MROUNDED_MGENPLUS_1CP} FAMILY+=1cp .endif .if ${PORT_OPTIONS:MROUNDED_MGENPLUS_1M} FAMILY+=1m .endif .if ${PORT_OPTIONS:MROUNDED_MGENPLUS_1MN} FAMILY+=1mn .endif .if ${PORT_OPTIONS:MROUNDED_MGENPLUS_1P} FAMILY+=1p .endif .if ${PORT_OPTIONS:MROUNDED_MGENPLUS_1PP} FAMILY+=1pp .endif .if ${PORT_OPTIONS:MROUNDED_MGENPLUS_2C} FAMILY+=2c .endif .if ${PORT_OPTIONS:MROUNDED_MGENPLUS_2CP} FAMILY+=2cp .endif .if ${PORT_OPTIONS:MROUNDED_MGENPLUS_2M} FAMILY+=2m .endif .if ${PORT_OPTIONS:MROUNDED_MGENPLUS_2P} FAMILY+=2p .endif .if ${PORT_OPTIONS:MROUNDED_MGENPLUS_2PP} FAMILY+=2pp .endif do-install: ${MKDIR} ${STAGEDIR}${FONTSDIR} .for FAM in ${FAMILY} ${INSTALL_DATA} ${WRKSRC}/rounded-mgenplus-${FAM}-*.ttf \ ${STAGEDIR}${FONTSDIR} .endfor ${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \ ${STAGEDIR}${PREFIX}/etc/fonts/conf.d ${INSTALL_DATA} ${FILESDIR}/20-unhint-${FONTNAME}.conf \ ${FILESDIR}/62-fonts-${FONTNAME}.conf \ ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail ${LN} -s -f ../conf.avail/20-unhint-${FONTNAME}.conf \ ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-${FONTNAME}.conf ${LN} -s -f ../conf.avail/62-fonts-${FONTNAME}.conf \ ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${FONTNAME}.conf post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! -name *\.ttf" .include