aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-24 05:08:41 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-24 05:08:41 +0000
commit9cef46324e032662ff14b376489c85823a129f0d (patch)
tree4681cc9ed042e001e7efac14890baecd3c43f1ec /x11-fonts
parent77c0462f92af4f64ca6808a991720be852add6b7 (diff)
downloadports-9cef46324e032662ff14b376489c85823a129f0d.tar.gz
ports-9cef46324e032662ff14b376489c85823a129f0d.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/fonts-indic/Makefile34
-rw-r--r--x11-fonts/fonts-indic/distinfo3
-rw-r--r--x11-fonts/fonts-indic/pkg-descr14
-rw-r--r--x11-fonts/fonts-indic/pkg-plist11
5 files changed, 63 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index d7e05e9eaa44..4fe8958ffc24 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -68,6 +68,7 @@
SUBDIR += fontcacheproto
SUBDIR += fontconfig
SUBDIR += fontconfig-reference
+ SUBDIR += fonts-indic
SUBDIR += fonts-te
SUBDIR += fontsproto
SUBDIR += fonttosfnt
diff --git a/x11-fonts/fonts-indic/Makefile b/x11-fonts/fonts-indic/Makefile
new file mode 100644
index 000000000000..221013af0805
--- /dev/null
+++ b/x11-fonts/fonts-indic/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: fonts-indic
+# Date created: 19 Septenber 2007
+# Whom: Naresh Venkateshappa <nareshov@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fonts-indic
+PORTVERSION= 2.1.5
+CATEGORIES= x11-fonts
+MASTER_SITES= http://gentoo.osuosl.org/distfiles/
+
+MAINTAINER= nareshov@gmail.com
+COMMENT= The Lohit family of Indic fonts
+
+RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+
+USE_GZIP= yes
+USE_X_PREFIX= yes
+NO_BUILD= yes
+
+NO_WRKSUBDIR= yes
+FONTSDIR= lib/X11/fonts/${PORTNAME}/
+PLIST_SUB+= FONTSDIR=${FONTSDIR}
+
+do-install:
+ ${MKDIR} ${PREFIX}/${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*/*/*.ttf ${PREFIX}/${FONTSDIR}
+
+post-install:
+ @${ECHO_MSG} "==> Running fc-cache"
+ @${X11BASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/fonts-indic/distinfo b/x11-fonts/fonts-indic/distinfo
new file mode 100644
index 000000000000..b5c53da74e10
--- /dev/null
+++ b/x11-fonts/fonts-indic/distinfo
@@ -0,0 +1,3 @@
+MD5 (fonts-indic-2.1.5.tar.gz) = bb9497ee772062b97ff00a1a68b17c98
+SHA256 (fonts-indic-2.1.5.tar.gz) = f0a91adf6bd3c76eb46012bcbf2cd9dd254d2dfcae0d62b5105c827b215290bb
+SIZE (fonts-indic-2.1.5.tar.gz) = 357694
diff --git a/x11-fonts/fonts-indic/pkg-descr b/x11-fonts/fonts-indic/pkg-descr
new file mode 100644
index 000000000000..828ca43ee31c
--- /dev/null
+++ b/x11-fonts/fonts-indic/pkg-descr
@@ -0,0 +1,14 @@
+A collection of Indic fonts by the Lohit project.
+The package supports most Indian languages:
+
+- Bengali
+- Gujarati
+- Hindi
+- Kannada
+- Malayalam
+- Oriya
+- Punjabi
+- Tamil
+- Telugu
+
+WWW: http://fedoraproject.org/wiki/Lohit
diff --git a/x11-fonts/fonts-indic/pkg-plist b/x11-fonts/fonts-indic/pkg-plist
new file mode 100644
index 000000000000..352845673e18
--- /dev/null
+++ b/x11-fonts/fonts-indic/pkg-plist
@@ -0,0 +1,11 @@
+@exec %D/bin/fc-cache -f -v %%FONTSDIR%%
+%%FONTSDIR%%/lohit_bn.ttf
+%%FONTSDIR%%/lohit_gu.ttf
+%%FONTSDIR%%/lohit_hi.ttf
+%%FONTSDIR%%/lohit_kn.ttf
+%%FONTSDIR%%/lohit_ml.ttf
+%%FONTSDIR%%/lohit_or.ttf
+%%FONTSDIR%%/lohit_pa.ttf
+%%FONTSDIR%%/lohit_ta.ttf
+%%FONTSDIR%%/lohit_te.ttf
+@dirrm %%FONTSDIR%%