aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2011-07-29 18:23:07 +0000
committerKoop Mast <kwm@FreeBSD.org>2011-07-29 18:23:07 +0000
commit32d64b4c9478b7c593a51303d59419287f0985fd (patch)
treea402d3cd7a9da19ea2fb824b839a98c7610ab230 /x11-fonts
parentefbf142f1807103defe3cdf56c6ca66bcdc2dcfe (diff)
downloadports-32d64b4c9478b7c593a51303d59419287f0985fd.tar.gz
ports-32d64b4c9478b7c593a51303d59419287f0985fd.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/cantarell-fonts/Makefile32
-rw-r--r--x11-fonts/cantarell-fonts/distinfo2
-rw-r--r--x11-fonts/cantarell-fonts/pkg-descr3
-rw-r--r--x11-fonts/cantarell-fonts/pkg-plist6
5 files changed, 44 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 787e8c9e76cd..b8a99ab0a3d0 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -12,6 +12,7 @@
SUBDIR += bdftopcf
SUBDIR += bitstream-vera
SUBDIR += c64bdf
+ SUBDIR += cantarell-fonts
SUBDIR += charis
SUBDIR += code2000
SUBDIR += code2001
diff --git a/x11-fonts/cantarell-fonts/Makefile b/x11-fonts/cantarell-fonts/Makefile
new file mode 100644
index 000000000000..c484f594bd72
--- /dev/null
+++ b/x11-fonts/cantarell-fonts/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: cantarell-fonts
+# Date Created: 2 Feb 2011
+# Whom: Koop Mast <kwm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cantarell-fonts
+PORTVERSION= 0.0.6
+CATEGORIES= x11-fonts gnome
+MASTER_SITES= GNOME
+
+MAINTAINER= kwm@FreeBSD.org
+COMMENT= Cantarell, a Humanist sans-serif font family
+
+LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
+
+USE_GNOME= pkgconfig
+USE_BZIP2= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+FONTSDIR= share/fonts/cantarell
+PLIST_SUB= FONTSDIR=${FONTSDIR}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|(datadir)/fontconfig/conf.avail/|(prefix)/etc/fonts/conf.avail/|g' \
+ ${WRKSRC}/fontconfig/Makefile.in
+
+post-install:
+ @${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/cantarell-fonts/distinfo b/x11-fonts/cantarell-fonts/distinfo
new file mode 100644
index 000000000000..c2f41c04b043
--- /dev/null
+++ b/x11-fonts/cantarell-fonts/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cantarell-fonts-0.0.6.tar.bz2) = bf2cce939aeea3244f6786cd6b09dd40e63d65fadd5f3e37f354baf68d4d91df
+SIZE (cantarell-fonts-0.0.6.tar.bz2) = 494468
diff --git a/x11-fonts/cantarell-fonts/pkg-descr b/x11-fonts/cantarell-fonts/pkg-descr
new file mode 100644
index 000000000000..378b17beae28
--- /dev/null
+++ b/x11-fonts/cantarell-fonts/pkg-descr
@@ -0,0 +1,3 @@
+Dave Crossland's Cantarell is a contemporary Humanist sans serif that fully
+support the following writing systems: Basic Latin, Western European, Catalan,
+Baltic, Turkish, Central European, Dutch and Afrikaans.
diff --git a/x11-fonts/cantarell-fonts/pkg-plist b/x11-fonts/cantarell-fonts/pkg-plist
new file mode 100644
index 000000000000..e525a744f203
--- /dev/null
+++ b/x11-fonts/cantarell-fonts/pkg-plist
@@ -0,0 +1,6 @@
+etc/fonts/conf.avail/31-cantarell.conf
+share/fonts/cantarell/Cantarell-Bold.otf
+share/fonts/cantarell/Cantarell-Regular.otf
+@exec %D/bin/fc-cache -f -v %D/%%FONTSDIR%%
+@dirrm share/fonts/cantarell
+@dirrmtry share/fonts