aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2016-04-06 09:51:23 +0800
committerkevlo <kevlo@FreeBSD.org>2016-04-06 09:51:23 +0800
commitf4367039ea5fae37a1c91be715ddddef2c32e302 (patch)
tree6dfe222d0d078f54ac7cbef5e88fcb9df8249c01
parent2087c1aedeead58e945e4d929fc739c520eca8b2 (diff)
downloadfreebsd-ports-gnome-f4367039ea5fae37a1c91be715ddddef2c32e302.tar.gz
freebsd-ports-gnome-f4367039ea5fae37a1c91be715ddddef2c32e302.tar.zst
freebsd-ports-gnome-f4367039ea5fae37a1c91be715ddddef2c32e302.zip
Add port x11-fonts/noto-lite slave port.
PR: 206085 Submitted by: Axel Gonzalez <loox at e-shell.net>
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/noto-lite/Makefile40
-rw-r--r--x11-fonts/noto-lite/distinfo4
-rw-r--r--x11-fonts/noto-lite/pkg-descr5
4 files changed, 50 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 0a6e39b36a03..150d45f8b7af 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -139,6 +139,7 @@
SUBDIR += moveable-type-fonts
SUBDIR += nexfontsel
SUBDIR += noto
+ SUBDIR += noto-lite
SUBDIR += nucleus
SUBDIR += p5-Font-AFM
SUBDIR += p5-Font-TTF
diff --git a/x11-fonts/noto-lite/Makefile b/x11-fonts/noto-lite/Makefile
new file mode 100644
index 000000000000..a4cdacd8e9b5
--- /dev/null
+++ b/x11-fonts/noto-lite/Makefile
@@ -0,0 +1,40 @@
+# $FreeBSD$
+
+PORTNAME= noto
+PORTVERSION= 1.0.4
+CATEGORIES= x11-fonts
+MASTER_SITES= https://noto-website.storage.googleapis.com/pkgs/ \
+ https://github.com/googlei18n/noto-emoji/raw/master/:emoji
+PKGNAMESUFFIX= -lite
+DISTNAME= ${PORTNAME:S|n|N|}-hinted
+DISTFILES= ${DISTNAME}.zip NotoEmoji-Regular.ttf:emoji
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= kevlo@FreeBSD.org
+COMMENT= Google font family - lite version
+
+LICENSE= APACHE20 OFL11
+LICENSE_COMB= multi
+
+USES= fonts zip
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+CONFLICTS_INSTALL= noto*
+
+LIST= NotoEmoji-Regular.ttf NotoSans-Bold.ttf NotoSans-BoldItalic.ttf NotoSans-Italic.ttf NotoSans-Regular.ttf NotoSansLinearB-Regular.ttf NotoSansSymbols-Regular.ttf NotoSerif-Bold.ttf NotoSerif-BoldItalic.ttf NotoSerif-Italic.ttf NotoSerif-Regular.ttf
+
+.for f in ${LIST}
+PLIST_FILES+= ${FONTSDIR}/${f}
+.endfor
+
+post-extract:
+ ${CP} ${DISTDIR}/NotoEmoji-Regular.ttf ${WRKSRC}
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
+.for f in ${LIST}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${f} ${STAGEDIR}${FONTSDIR}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-lite/distinfo b/x11-fonts/noto-lite/distinfo
new file mode 100644
index 000000000000..2041676e4044
--- /dev/null
+++ b/x11-fonts/noto-lite/distinfo
@@ -0,0 +1,4 @@
+SHA256 (Noto-hinted.zip) = 718d87249d90a5c1db9fcaef635bc4e98fbd112519703dece3c09ebb6c88624e
+SIZE (Noto-hinted.zip) = 380364279
+SHA256 (NotoEmoji-Regular.ttf) = a24fc856d48a3a1054ec0ed4511a4026f0381e8727fc4caa59fb8d3938a46637
+SIZE (NotoEmoji-Regular.ttf) = 441468
diff --git a/x11-fonts/noto-lite/pkg-descr b/x11-fonts/noto-lite/pkg-descr
new file mode 100644
index 000000000000..fed3c8b79ec2
--- /dev/null
+++ b/x11-fonts/noto-lite/pkg-descr
@@ -0,0 +1,5 @@
+Noto is Google's font family that aims to support all the world's languages.
+Its design goal is to achieve visual harmonization across languages.
+This is the light version.
+
+WWW: http://www.google.com/get/noto/