diff options
Diffstat (limited to 'japanese/font-genjyuugothic/Makefile')
-rw-r--r-- | japanese/font-genjyuugothic/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/japanese/font-genjyuugothic/Makefile b/japanese/font-genjyuugothic/Makefile new file mode 100644 index 00000000000..5793b405d5e --- /dev/null +++ b/japanese/font-genjyuugothic/Makefile @@ -0,0 +1,46 @@ +# $FreeBSD$ + +PORTNAME= genjyuugothic +PORTVERSION= 20150607 +#PORTREVISION= 0 +CATEGORIES= japanese x11-fonts +MASTER_SITES= SOURCEFORGE_JP +MASTER_SITE_SUBDIR=users/8/8636 +PKGNAMEPREFIX= ja-font- + +MAINTAINER= ume@FreeBSD.org +COMMENT= GenJyuuGothic Japanese TrueType fonts + +LICENSE= OFL11 + +USES= 7z fonts:fc +FONTNAME= ${PORTNAME} +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 + +do-install: + ${MKDIR} ${STAGEDIR}${FONTSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR} + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \ + ${STAGEDIR}${PREFIX}/etc/fonts/conf.d + ${INSTALL_DATA} ${FILESDIR}/20-unhint-${PORTNAME}.conf \ + ${FILESDIR}/62-fonts-${PORTNAME}.conf \ + ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail + ${LN} -s -f ../conf.avail/20-unhint-${PORTNAME}.conf \ + ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-${PORTNAME}.conf + ${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}.conf \ + ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ + "! -name *\.ttf" + +.include <bsd.port.mk> |