aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2011-11-09 14:31:11 +0800
committerkevlo <kevlo@FreeBSD.org>2011-11-09 14:31:11 +0800
commitba84e463f91d53efe430dad07ed967e0751de28c (patch)
tree92a6a44d491d771c5297174cae1acad1d601e3c1
parentbadde8badd5e72f41b9723cbdc9e766f1301c898 (diff)
downloadfreebsd-ports-gnome-ba84e463f91d53efe430dad07ed967e0751de28c.tar.gz
freebsd-ports-gnome-ba84e463f91d53efe430dad07ed967e0751de28c.tar.zst
freebsd-ports-gnome-ba84e463f91d53efe430dad07ed967e0751de28c.zip
Initial import of ubuntu-font 0.80
The Ubuntu Font Family are a set of matching new libre/open fonts in development during 2010--2011. The development is being funded by Canonical Ltd on behalf the wider Free Software community and the Ubuntu project. The technical font design work and implementation is being undertaken by Dalton Maag.
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/ubuntu-font/Makefile44
-rw-r--r--x11-fonts/ubuntu-font/distinfo2
-rw-r--r--x11-fonts/ubuntu-font/pkg-descr11
-rw-r--r--x11-fonts/ubuntu-font/pkg-plist24
5 files changed, 82 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 3449925b8271..3b2872c47ebe 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -141,6 +141,7 @@
SUBDIR += tolkien-ttf
SUBDIR += ttmkfdir
SUBDIR += tv-fonts
+ SUBDIR += ubuntu-font
SUBDIR += urwfonts
SUBDIR += urwfonts-ttf
SUBDIR += webfonts
diff --git a/x11-fonts/ubuntu-font/Makefile b/x11-fonts/ubuntu-font/Makefile
new file mode 100644
index 000000000000..6590a3ff2933
--- /dev/null
+++ b/x11-fonts/ubuntu-font/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: ubuntu-font
+# Date created: 09 November 2011
+# Whom: Kevin Lo <kevlo@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ubuntu-font
+PORTVERSION= 0.80
+CATEGORIES= x11-fonts
+MASTER_SITES= http://font.ubuntu.com/download/
+
+DISTNAME= ${PORTNAME}-family-${PORTVERSION}
+
+MAINTAINER= kevloFreeBSD.org
+COMMENT= Ubuntu Font Family
+
+LICENSE= UFL
+LICENSE_FILE= ${WRKSRC}/LICENCE.txt
+LICENSE_NAME= Ubuntu Font License (UFL)
+LICENSE_PERMS= auto-accept
+
+BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
+ mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
+
+USE_ZIP= yes
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
+
+do-build:
+ cd ${WRKSRC} && ${LOCALBASE}/bin/mkfontscale
+ cd ${WRKSRC} && ${LOCALBASE}/bin/mkfontdir
+
+do-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} *.txt ${DOCSDIR}
+.endif
+ ${MKDIR} ${FONTSDIR}
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} fonts.dir fonts.scale *.ttf ${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/ubuntu-font/distinfo b/x11-fonts/ubuntu-font/distinfo
new file mode 100644
index 000000000000..89357b6e17d4
--- /dev/null
+++ b/x11-fonts/ubuntu-font/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ubuntu-font-family-0.80.zip) = 107170099bbc3beae8602b97a5c423525d363106c3c24f787d43e09811298e4c
+SIZE (ubuntu-font-family-0.80.zip) = 2091643
diff --git a/x11-fonts/ubuntu-font/pkg-descr b/x11-fonts/ubuntu-font/pkg-descr
new file mode 100644
index 000000000000..e1cb5b1bbf7f
--- /dev/null
+++ b/x11-fonts/ubuntu-font/pkg-descr
@@ -0,0 +1,11 @@
+The Ubuntu Font Family are a set of matching new libre/open fonts in
+development during 2010--2011. The development is being funded by
+Canonical Ltd on behalf the wider Free Software community and the
+Ubuntu project. The technical font design work and implementation is
+being undertaken by Dalton Maag.
+
+Both the final font Truetype/OpenType files and the design files used
+to produce the font family are distributed under an open licence and
+you are expressly encouraged to experiment, modify, share and improve.
+
+WWW: http://font.ubuntu.com/
diff --git a/x11-fonts/ubuntu-font/pkg-plist b/x11-fonts/ubuntu-font/pkg-plist
new file mode 100644
index 000000000000..67f0c8921613
--- /dev/null
+++ b/x11-fonts/ubuntu-font/pkg-plist
@@ -0,0 +1,24 @@
+lib/X11/fonts/ubuntu-font/Ubuntu-B.ttf
+lib/X11/fonts/ubuntu-font/Ubuntu-BI.ttf
+lib/X11/fonts/ubuntu-font/Ubuntu-C.ttf
+lib/X11/fonts/ubuntu-font/Ubuntu-L.ttf
+lib/X11/fonts/ubuntu-font/Ubuntu-LI.ttf
+lib/X11/fonts/ubuntu-font/Ubuntu-M.ttf
+lib/X11/fonts/ubuntu-font/Ubuntu-MI.ttf
+lib/X11/fonts/ubuntu-font/Ubuntu-R.ttf
+lib/X11/fonts/ubuntu-font/Ubuntu-RI.ttf
+lib/X11/fonts/ubuntu-font/UbuntuMono-B.ttf
+lib/X11/fonts/ubuntu-font/UbuntuMono-BI.ttf
+lib/X11/fonts/ubuntu-font/UbuntuMono-R.ttf
+lib/X11/fonts/ubuntu-font/UbuntuMono-RI.ttf
+lib/X11/fonts/ubuntu-font/fonts.dir
+lib/X11/fonts/ubuntu-font/fonts.scale
+%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTING.txt
+%%PORTDOCS%%%%DOCSDIR%%/FONTLOG.txt
+%%PORTDOCS%%%%DOCSDIR%%/LICENCE-FAQ.txt
+%%PORTDOCS%%%%DOCSDIR%%/LICENCE.txt
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/TRADEMARKS.txt
+%%PORTDOCS%%%%DOCSDIR%%/copyright.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm lib/X11/fonts/ubuntu-font