1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Add hanazono-fonts-ttf 20110516

Hanazono Mincho typeface is a CJK TrueType font that developed with a
support of Grant-in-Aid for Publication of Scientific Research Results
from Japan Society for the Promotion of Science and the International
Research Institute for Zen Buddhism (IRIZ), Hanazono University. also
with volunteers who work together on glyphwiki.org.

WWW: http://fonts.jp/hanazono/

PR:		ports/159767
Submitted by:	Zhihao Yuan <lichray@gmail.com>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-08-17 03:33:12 +00:00
parent 65ee6dab9c
commit 52a21855b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=279869
6 changed files with 69 additions and 0 deletions

View File

@ -84,6 +84,7 @@
SUBDIR += gnome-font-sampler
SUBDIR += gnu-unifont
SUBDIR += gnu-unifont-ttf
SUBDIR += hanazono-fonts-ttf
SUBDIR += inconsolata-ttf
SUBDIR += indic-ttf
SUBDIR += intlfonts

View File

@ -0,0 +1,46 @@
# New ports collection makefile for: hanazono-fonts-ttf
# Date created: 2011/08/09
# Whom: Zhihao Yuan <lichray@gmail.com>
#
# $FreeBSD$
#
PORTNAME= hanazono-fonts-ttf
PORTVERSION= 20110516
CATEGORIES= x11-fonts
MASTER_SITES= http://fonts.jp/hanazono/
DISTNAME= ${PORTNAME:C/-.*//}-${PORTVERSION}
MAINTAINER= lichray@gmail.com
COMMENT= CJK Mincho-typeface developed by Hanazono University
LICENSE= OFL
LICENSE_NAME= Open Font License
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LICENSE_PERMS= auto-accept
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
USE_ZIP= yes
NO_WRKSUBDIR= yes
FONTDIR= lib/X11/fonts/Hana
PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_SUB= FONTDIR=${FONTDIR}
SUB_FILES= pkg-message
SUB_LIST= FONTDIR=${FONTDIR}
do-build:
@cd ${WRKSRC}/ && \
${LOCALBASE}/bin/mkfontscale && \
${LOCALBASE}/bin/mkfontdir
do-install:
${MKDIR} ${PREFIX}/${FONTDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf fonts.* ${PREFIX}/${FONTDIR}/
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (hanazono-20110516.zip) = 4a7fe7b7beb11b550ba18c27da191ee114c20a2370eab3f50d8cb9bd43a9e5eb
SIZE (hanazono-20110516.zip) = 22405252

View File

@ -0,0 +1,8 @@
You can start using the fonts by following these instructions:
Add the following line to the "Files" section of your X.org configuration
file:
FontPath "%%PREFIX%%/%%FONTDIR%%/"

View File

@ -0,0 +1,7 @@
Hanazono Mincho typeface is a CJK TrueType font that developed with a
support of Grant-in-Aid for Publication of Scientific Research Results
from Japan Society for the Promotion of Science and the International
Research Institute for Zen Buddhism (IRIZ), Hanazono University. also
with volunteers who work together on glyphwiki.org.
WWW: http://fonts.jp/hanazono/

View File

@ -0,0 +1,5 @@
%%FONTDIR%%/HanaMinA.ttf
%%FONTDIR%%/HanaMinB.ttf
%%FONTDIR%%/fonts.dir
%%FONTDIR%%/fonts.scale
@dirrm %%FONTDIR%%