aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-06-29 18:10:30 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-06-29 18:10:30 +0000
commitbe89455a03f678a179c5f7082e403f5ef2e9490c (patch)
treecc2d0b86248c3abb2c39fd4e569e6e207a6497a2 /x11-fonts
parent002c4a122ef0c8a247cc38792b538c8f0e21b59e (diff)
downloadports-be89455a03f678a179c5f7082e403f5ef2e9490c.tar.gz
ports-be89455a03f678a179c5f7082e403f5ef2e9490c.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/comfortaa-ttf/Makefile41
-rw-r--r--x11-fonts/comfortaa-ttf/distinfo2
-rw-r--r--x11-fonts/comfortaa-ttf/files/pkg-message.in8
-rw-r--r--x11-fonts/comfortaa-ttf/pkg-descr6
-rw-r--r--x11-fonts/comfortaa-ttf/pkg-plist8
6 files changed, 66 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 4717221a79aa..bb28f7883ac8 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -17,6 +17,7 @@
SUBDIR += charis-compact
SUBDIR += code2000
SUBDIR += code2001
+ SUBDIR += comfortaa-ttf
SUBDIR += consolamono-ttf
SUBDIR += croscorefonts-fonts-ttf
SUBDIR += cyberbit-ttfonts
diff --git a/x11-fonts/comfortaa-ttf/Makefile b/x11-fonts/comfortaa-ttf/Makefile
new file mode 100644
index 000000000000..5401193bfa36
--- /dev/null
+++ b/x11-fonts/comfortaa-ttf/Makefile
@@ -0,0 +1,41 @@
+# $FreeBSD$
+
+PORTNAME= comfortaa-ttf
+PORTVERSION= 2.004
+CATEGORIES= x11-fonts
+MASTER_SITES= http://openfontlibrary.org/assets/downloads/comfortaa/38318a69b56162733bf82bc0170b7521/
+DISTNAME= comfortaa
+
+MAINTAINER= rakuco@FreeBSD.org
+COMMENT= Stylish, modern and free sans-serif true type font
+
+LICENSE= OFL
+LICENSE_NAME= SIL OPEN FONT LICENSE Version 1.1
+LICENSE_FILE= ${WRKSRC}/OFL.txt
+LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
+
+BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
+ mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
+
+USE_ZIP= yes
+
+FONTDIR= lib/X11/fonts/Comfortaa
+PKGMESSAGE= ${WRKDIR}/pkg-message
+PLIST_SUB= FONTDIR=${FONTDIR}
+SUB_FILES= pkg-message
+SUB_LIST= FONTDIR=${FONTDIR}
+WRKSRC= ${WRKDIR}/Comfortaa
+
+do-build:
+ @cd ${WRKSRC}/ && \
+ ${LOCALBASE}/bin/mkfontscale && \
+ ${LOCALBASE}/bin/mkfontdir
+
+do-install:
+ ${MKDIR} ${PREFIX}/${FONTDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf fonts.* ${PREFIX}/${FONTDIR}/
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/comfortaa-ttf/distinfo b/x11-fonts/comfortaa-ttf/distinfo
new file mode 100644
index 000000000000..bffb4ec51f46
--- /dev/null
+++ b/x11-fonts/comfortaa-ttf/distinfo
@@ -0,0 +1,2 @@
+SHA256 (comfortaa.zip) = 3f51cb29b5630e4ef7c7cebe65b78261c77563f90f992512cefd2cf3ca9c404b
+SIZE (comfortaa.zip) = 499419
diff --git a/x11-fonts/comfortaa-ttf/files/pkg-message.in b/x11-fonts/comfortaa-ttf/files/pkg-message.in
new file mode 100644
index 000000000000..798a45125c89
--- /dev/null
+++ b/x11-fonts/comfortaa-ttf/files/pkg-message.in
@@ -0,0 +1,8 @@
+
+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 "%%PREFIX%%/%%FONTDIR%%/"
+
diff --git a/x11-fonts/comfortaa-ttf/pkg-descr b/x11-fonts/comfortaa-ttf/pkg-descr
new file mode 100644
index 000000000000..1c5ff08895f3
--- /dev/null
+++ b/x11-fonts/comfortaa-ttf/pkg-descr
@@ -0,0 +1,6 @@
+A stylish, modern and free true type font.
+
+Comfortaa is a simple, good looking, true type font with an amazingly large
+number of 596 different characters and symbols.
+
+WWW: http://openfontlibrary.org/en/font/comfortaa
diff --git a/x11-fonts/comfortaa-ttf/pkg-plist b/x11-fonts/comfortaa-ttf/pkg-plist
new file mode 100644
index 000000000000..9cf949d0c91f
--- /dev/null
+++ b/x11-fonts/comfortaa-ttf/pkg-plist
@@ -0,0 +1,8 @@
+%%FONTDIR%%/Comfortaa-Bold.ttf
+%%FONTDIR%%/Comfortaa-Light.ttf
+%%FONTDIR%%/Comfortaa-Regular.ttf
+%%FONTDIR%%/fonts.dir
+%%FONTDIR%%/fonts.scale
+@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || true
+@dirrm %%FONTDIR%%
+@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || /usr/bin/true