summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorryoon <ryoon>2014-07-17 14:52:08 +0000
committerryoon <ryoon>2014-07-17 14:52:08 +0000
commitc04a24082d077fe018fe1b7c73171f11ad2b656b (patch)
tree9c5e5ae03316ce50d1d5862e16506842ee73e0ad /fonts
parent819e327cf630b5bdddaac1e34682d286c745f9b9 (diff)
downloadpkgsrc-c04a24082d077fe018fe1b7c73171f11ad2b656b.tar.gz
Import sourcehansans-fonts-1.000 as fonts/sourcehansans-fonts.
Source Han Sans fonts are open source Pan-CJK fonts from Adobe.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/sourcehansans-fonts/DESCR1
-rw-r--r--fonts/sourcehansans-fonts/Makefile36
-rw-r--r--fonts/sourcehansans-fonts/PLIST8
-rw-r--r--fonts/sourcehansans-fonts/distinfo5
4 files changed, 50 insertions, 0 deletions
diff --git a/fonts/sourcehansans-fonts/DESCR b/fonts/sourcehansans-fonts/DESCR
new file mode 100644
index 00000000000..dabb8caa350
--- /dev/null
+++ b/fonts/sourcehansans-fonts/DESCR
@@ -0,0 +1 @@
+Source Han Sans fonts are open source Pan-CJK fonts from Adobe.
diff --git a/fonts/sourcehansans-fonts/Makefile b/fonts/sourcehansans-fonts/Makefile
new file mode 100644
index 00000000000..35ecfdea4af
--- /dev/null
+++ b/fonts/sourcehansans-fonts/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2014/07/17 14:52:08 ryoon Exp $
+
+DISTNAME= SourceHanSansOTF-1.000
+PKGNAME= ${DISTNAME:S/SourceHanSansOTF/sourcehansans-fonts/}
+CATEGORIES= fonts
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=source-han-sans.adobe/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://example.com/
+COMMENT= Set of Pan-CJK fonts from Adobe
+LICENSE= apache-2.0
+
+USE_LANGUAGES= # none
+USE_X11BASE= yes
+NO_BUILD= yes
+
+FONTDIR= ${PREFIX}/share/fonts/X11/TTF
+FONTS_DIRS.ttf= ${FONTDIR}
+
+INSTALLATION_DIRS= share/fonts/X11/TTF
+
+INSTALL_FONTS= SourceHanSans-Bold.otf \
+ SourceHanSans-ExtraLight.otf \
+ SourceHanSans-Heavy.otf \
+ SourceHanSans-Light.otf \
+ SourceHanSans-Medium.otf \
+ SourceHanSans-Normal.otf \
+ SourceHanSans-Regular.otf
+
+do-install:
+.for i in ${INSTALL_FONTS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${FONTDIR}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/sourcehansans-fonts/PLIST b/fonts/sourcehansans-fonts/PLIST
new file mode 100644
index 00000000000..4f867495bca
--- /dev/null
+++ b/fonts/sourcehansans-fonts/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2014/07/17 14:52:08 ryoon Exp $
+share/fonts/X11/TTF/SourceHanSans-Bold.otf
+share/fonts/X11/TTF/SourceHanSans-ExtraLight.otf
+share/fonts/X11/TTF/SourceHanSans-Heavy.otf
+share/fonts/X11/TTF/SourceHanSans-Light.otf
+share/fonts/X11/TTF/SourceHanSans-Medium.otf
+share/fonts/X11/TTF/SourceHanSans-Normal.otf
+share/fonts/X11/TTF/SourceHanSans-Regular.otf
diff --git a/fonts/sourcehansans-fonts/distinfo b/fonts/sourcehansans-fonts/distinfo
new file mode 100644
index 00000000000..df171df2d06
--- /dev/null
+++ b/fonts/sourcehansans-fonts/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/07/17 14:52:08 ryoon Exp $
+
+SHA1 (SourceHanSansOTF-1.000.zip) = 629a03ae7d3d51f30431e0ec2da1096ca0e89da2
+RMD160 (SourceHanSansOTF-1.000.zip) = 85e8e5dcf1e5d2a15915a885248a3d39b975add5
+Size (SourceHanSansOTF-1.000.zip) = 95664535 bytes