Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2013 18:10:31 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r322051 - in head/x11-fonts: . comfortaa-ttf comfortaa-ttf/files
Message-ID:  <201306291810.r5TIAVw5062481@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sat Jun 29 18:10:30 2013
New Revision: 322051
URL: http://svnweb.freebsd.org/changeset/ports/322051

Log:
  Add x11-fonts/comfortaa-ttf.
  
  Comfortaa is a stylish and modern sans-serif true type font.

Added:
  head/x11-fonts/comfortaa-ttf/
  head/x11-fonts/comfortaa-ttf/Makefile   (contents, props changed)
  head/x11-fonts/comfortaa-ttf/distinfo   (contents, props changed)
  head/x11-fonts/comfortaa-ttf/files/
  head/x11-fonts/comfortaa-ttf/files/pkg-message.in   (contents, props changed)
  head/x11-fonts/comfortaa-ttf/pkg-descr   (contents, props changed)
  head/x11-fonts/comfortaa-ttf/pkg-plist   (contents, props changed)
Modified:
  head/x11-fonts/Makefile

Modified: head/x11-fonts/Makefile
==============================================================================
--- head/x11-fonts/Makefile	Sat Jun 29 16:17:05 2013	(r322050)
+++ head/x11-fonts/Makefile	Sat Jun 29 18:10:30 2013	(r322051)
@@ -17,6 +17,7 @@
     SUBDIR += charis-compact
     SUBDIR += code2000
     SUBDIR += code2001
+    SUBDIR += comfortaa-ttf
     SUBDIR += consolamono-ttf
     SUBDIR += croscorefonts-fonts-ttf
     SUBDIR += cyberbit-ttfonts

Added: head/x11-fonts/comfortaa-ttf/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/comfortaa-ttf/Makefile	Sat Jun 29 18:10:30 2013	(r322051)
@@ -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>

Added: head/x11-fonts/comfortaa-ttf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/comfortaa-ttf/distinfo	Sat Jun 29 18:10:30 2013	(r322051)
@@ -0,0 +1,2 @@
+SHA256 (comfortaa.zip) = 3f51cb29b5630e4ef7c7cebe65b78261c77563f90f992512cefd2cf3ca9c404b
+SIZE (comfortaa.zip) = 499419

Added: head/x11-fonts/comfortaa-ttf/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/comfortaa-ttf/files/pkg-message.in	Sat Jun 29 18:10:30 2013	(r322051)
@@ -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%%/"
+

Added: head/x11-fonts/comfortaa-ttf/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/comfortaa-ttf/pkg-descr	Sat Jun 29 18:10:30 2013	(r322051)
@@ -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

Added: head/x11-fonts/comfortaa-ttf/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/comfortaa-ttf/pkg-plist	Sat Jun 29 18:10:30 2013	(r322051)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306291810.r5TIAVw5062481>