aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-11-26 18:34:31 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-11-26 18:34:31 +0800
commite5ba907edad006254fb650cfad0144b242c1b37d (patch)
treebd2beb8fd46f44c20bb8e9954e105109e003ab9f /x11-fonts
parentb5c06d125a16be175fcaf900824d572467ab6d98 (diff)
downloadfreebsd-ports-gnome-e5ba907edad006254fb650cfad0144b242c1b37d.tar.gz
freebsd-ports-gnome-e5ba907edad006254fb650cfad0144b242c1b37d.tar.zst
freebsd-ports-gnome-e5ba907edad006254fb650cfad0144b242c1b37d.zip
- Add sourceserifpro-ttf 1.017
Source Serif Pro is a set of OpenType fonts to complement the Source Sans Pro family. WWW: https://github.com/adobe-fonts/source-serif-pro
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/sourceserifpro-ttf/Makefile30
-rw-r--r--x11-fonts/sourceserifpro-ttf/distinfo3
-rw-r--r--x11-fonts/sourceserifpro-ttf/files/pkg-message.in5
-rw-r--r--x11-fonts/sourceserifpro-ttf/pkg-descr4
-rw-r--r--x11-fonts/sourceserifpro-ttf/pkg-plist6
6 files changed, 49 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 52c59272522c..1be02c2f7ce5 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -165,6 +165,7 @@
SUBDIR += showfont
SUBDIR += sourcecodepro-ttf
SUBDIR += sourcesanspro-ttf
+ SUBDIR += sourceserifpro-ttf
SUBDIR += stix-fonts
SUBDIR += suxus
SUBDIR += symbola
diff --git a/x11-fonts/sourceserifpro-ttf/Makefile b/x11-fonts/sourceserifpro-ttf/Makefile
new file mode 100644
index 000000000000..371bf2924e31
--- /dev/null
+++ b/x11-fonts/sourceserifpro-ttf/Makefile
@@ -0,0 +1,30 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= sourceserifpro-ttf
+PORTVERSION= 1.017
+DISTVERSIONSUFFIX= R
+CATEGORIES= x11-fonts
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Set of fonts by Adobe designed for UI
+
+LICENSE= OFL11
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+NO_ARCH= yes
+NO_BUILD= yes
+USES= fonts
+
+FONTNAME= SourceSerifPro
+SUB_FILES= pkg-message
+
+GH_ACCOUNT= adobe-fonts
+GH_PROJECT= source-serif-pro
+USE_GITHUB= yes
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/TTF/*.ttf ${STAGEDIR}${FONTSDIR}/
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/sourceserifpro-ttf/distinfo b/x11-fonts/sourceserifpro-ttf/distinfo
new file mode 100644
index 000000000000..dfb21982dc2b
--- /dev/null
+++ b/x11-fonts/sourceserifpro-ttf/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1480144409
+SHA256 (adobe-fonts-source-serif-pro-1.017R_GH0.tar.gz) = 2f4f75b53983a399472e6972829de4e9a4aac76ad70bd111688e50c97d240212
+SIZE (adobe-fonts-source-serif-pro-1.017R_GH0.tar.gz) = 1528897
diff --git a/x11-fonts/sourceserifpro-ttf/files/pkg-message.in b/x11-fonts/sourceserifpro-ttf/files/pkg-message.in
new file mode 100644
index 000000000000..58071a80c57f
--- /dev/null
+++ b/x11-fonts/sourceserifpro-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/sourceserifpro-ttf/pkg-descr b/x11-fonts/sourceserifpro-ttf/pkg-descr
new file mode 100644
index 000000000000..95561e2da9e6
--- /dev/null
+++ b/x11-fonts/sourceserifpro-ttf/pkg-descr
@@ -0,0 +1,4 @@
+Source Serif Pro is a set of OpenType fonts to complement the Source Sans Pro
+family.
+
+WWW: https://github.com/adobe-fonts/source-serif-pro
diff --git a/x11-fonts/sourceserifpro-ttf/pkg-plist b/x11-fonts/sourceserifpro-ttf/pkg-plist
new file mode 100644
index 000000000000..aaaa1a76d9eb
--- /dev/null
+++ b/x11-fonts/sourceserifpro-ttf/pkg-plist
@@ -0,0 +1,6 @@
+%%FONTSDIR%%/SourceSerifPro-Black.ttf
+%%FONTSDIR%%/SourceSerifPro-Bold.ttf
+%%FONTSDIR%%/SourceSerifPro-ExtraLight.ttf
+%%FONTSDIR%%/SourceSerifPro-Light.ttf
+%%FONTSDIR%%/SourceSerifPro-Regular.ttf
+%%FONTSDIR%%/SourceSerifPro-Semibold.ttf