aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2015-07-02 03:26:10 +0000
committerKevin Lo <kevlo@FreeBSD.org>2015-07-02 03:26:10 +0000
commit8c1319678172ba769ad37d651e406c29f453f3f1 (patch)
tree22c81c6e73340def50875f2e732e619a50b1cea2 /x11-fonts
parent9a5437126ed00c348ddca5a03ef3ce15ecd6fdb3 (diff)
downloadports-8c1319678172ba769ad37d651e406c29f453f3f1.tar.gz
ports-8c1319678172ba769ad37d651e406c29f453f3f1.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/noto/Makefile12
-rw-r--r--x11-fonts/noto/distinfo2
-rw-r--r--x11-fonts/noto/pkg-plist1
3 files changed, 12 insertions, 3 deletions
diff --git a/x11-fonts/noto/Makefile b/x11-fonts/noto/Makefile
index 7790fe1defa7..54d6a092e72d 100644
--- a/x11-fonts/noto/Makefile
+++ b/x11-fonts/noto/Makefile
@@ -2,12 +2,15 @@
PORTNAME= noto
PORTVERSION= 1.0.4
+PORTREVISION= 1
CATEGORIES= x11-fonts
-MASTER_SITES= https://noto-website.storage.googleapis.com/pkgs/
-
+MASTER_SITES= https://noto-website.storage.googleapis.com/pkgs/ \
+ https://github.com/googlei18n/noto-emoji/raw/master/:emoji
DISTNAME= ${PORTNAME:S|n|N|}-hinted
+DISTFILES= ${DISTNAME}.zip NotoEmoji-Regular.ttf:emoji
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-MAINTAINER= kevlo@FreeBSD.org
+MAINTAINE= kevlo@FreeBSD.org
COMMENT= Google font family
LICENSE= APACHE20 OFL11
@@ -17,6 +20,9 @@ USES= fonts zip
NO_BUILD= yes
NO_WRKSUBDIR= yes
+post-extract:
+ ${CP} ${DISTDIR}/NotoEmoji-Regular.ttf ${WRKDIR}
+
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} *.otf ${STAGEDIR}${FONTSDIR}
diff --git a/x11-fonts/noto/distinfo b/x11-fonts/noto/distinfo
index 36f98ef4c169..2041676e4044 100644
--- a/x11-fonts/noto/distinfo
+++ b/x11-fonts/noto/distinfo
@@ -1,2 +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/pkg-plist b/x11-fonts/noto/pkg-plist
index b512e09d825a..2e428b0fc838 100644
--- a/x11-fonts/noto/pkg-plist
+++ b/x11-fonts/noto/pkg-plist
@@ -1,3 +1,4 @@
+%%FONTSDIR%%/NotoEmoji-Regular.ttf
%%FONTSDIR%%/NotoKufiArabic-Bold.ttf
%%FONTSDIR%%/NotoKufiArabic-Regular.ttf
%%FONTSDIR%%/NotoNaskhArabic-Bold.ttf