- 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:
parent
65ee6dab9c
commit
52a21855b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=279869
@ -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
|
||||
|
46
x11-fonts/hanazono-fonts-ttf/Makefile
Normal file
46
x11-fonts/hanazono-fonts-ttf/Makefile
Normal 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>
|
2
x11-fonts/hanazono-fonts-ttf/distinfo
Normal file
2
x11-fonts/hanazono-fonts-ttf/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (hanazono-20110516.zip) = 4a7fe7b7beb11b550ba18c27da191ee114c20a2370eab3f50d8cb9bd43a9e5eb
|
||||
SIZE (hanazono-20110516.zip) = 22405252
|
8
x11-fonts/hanazono-fonts-ttf/files/pkg-message.in
Normal file
8
x11-fonts/hanazono-fonts-ttf/files/pkg-message.in
Normal 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%%/"
|
||||
|
7
x11-fonts/hanazono-fonts-ttf/pkg-descr
Normal file
7
x11-fonts/hanazono-fonts-ttf/pkg-descr
Normal 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/
|
5
x11-fonts/hanazono-fonts-ttf/pkg-plist
Normal file
5
x11-fonts/hanazono-fonts-ttf/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
%%FONTDIR%%/HanaMinA.ttf
|
||||
%%FONTDIR%%/HanaMinB.ttf
|
||||
%%FONTDIR%%/fonts.dir
|
||||
%%FONTDIR%%/fonts.scale
|
||||
@dirrm %%FONTDIR%%
|
Loading…
Reference in New Issue
Block a user