aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/material-icons-ttf/Makefile29
-rw-r--r--x11-fonts/material-icons-ttf/distinfo3
-rw-r--r--x11-fonts/material-icons-ttf/files/pkg-message.in5
-rw-r--r--x11-fonts/material-icons-ttf/pkg-descr5
5 files changed, 43 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index fa66d37a2f9c..3693f5d168d3 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -143,6 +143,7 @@
SUBDIR += lohit
SUBDIR += manu-gothica
SUBDIR += materialdesign-ttf
+ SUBDIR += material-icons-ttf
SUBDIR += meslo
SUBDIR += mgopen
SUBDIR += mkbold
diff --git a/x11-fonts/material-icons-ttf/Makefile b/x11-fonts/material-icons-ttf/Makefile
new file mode 100644
index 000000000000..fc561f22fe37
--- /dev/null
+++ b/x11-fonts/material-icons-ttf/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= material-icons
+DISTVERSION= 4.0.4
+CATEGORIES= x11-fonts
+PKGNAMESUFFIX= -ttf
+
+MAINTAINER= voidanix@420blaze.it
+COMMENT= Material Design icon set from Google
+
+LICENSE= CC-BY-4.0
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= fonts
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+PLIST_FILES= ${FONTSDIR}/MaterialIcons-Regular.ttf
+
+USE_GITHUB= yes
+GH_ACCOUNT= jossef
+GH_PROJECT= material-design-icons-iconfont
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/dist/fonts/*.ttf ${STAGEDIR}${FONTSDIR}/
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/material-icons-ttf/distinfo b/x11-fonts/material-icons-ttf/distinfo
new file mode 100644
index 000000000000..bddbde12550c
--- /dev/null
+++ b/x11-fonts/material-icons-ttf/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1547679303
+SHA256 (jossef-material-design-icons-iconfont-4.0.4_GH0.tar.gz) = 91d4e65155f6bdc45434e0212f6dc8b78977702764b4958295f4141fc09b7f76
+SIZE (jossef-material-design-icons-iconfont-4.0.4_GH0.tar.gz) = 289893
diff --git a/x11-fonts/material-icons-ttf/files/pkg-message.in b/x11-fonts/material-icons-ttf/files/pkg-message.in
new file mode 100644
index 000000000000..0054ed7dd7d4
--- /dev/null
+++ b/x11-fonts/material-icons-ttf/files/pkg-message.in
@@ -0,0 +1,5 @@
+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 "%%FONTSDIR%%/"
diff --git a/x11-fonts/material-icons-ttf/pkg-descr b/x11-fonts/material-icons-ttf/pkg-descr
new file mode 100644
index 000000000000..9726b6973c3d
--- /dev/null
+++ b/x11-fonts/material-icons-ttf/pkg-descr
@@ -0,0 +1,5 @@
+Official Material Design icon set from Google.
+The icons are designed according to the official Material Design
+guidelines at https://material.io/design
+
+WWW: https://jossef.github.io/material-design-icons-iconfont