aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/indic-ttf
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2008-04-03 03:38:37 +0800
committerthierry <thierry@FreeBSD.org>2008-04-03 03:38:37 +0800
commitff0f57b593474b4cab395fa63bb502c848f9457f (patch)
tree94ff7b3e6f03db7acd65a36151bfeafb90f1faa2 /x11-fonts/indic-ttf
parenta2b0dcac29be1a380c507283c25edcd58cd45f73 (diff)
downloadfreebsd-ports-gnome-ff0f57b593474b4cab395fa63bb502c848f9457f.tar.gz
freebsd-ports-gnome-ff0f57b593474b4cab395fa63bb502c848f9457f.tar.zst
freebsd-ports-gnome-ff0f57b593474b4cab395fa63bb502c848f9457f.zip
This ttf-indic-fonts is a set of TrueType and
OpenType fonts. It includes: - Bengali - Devanagari - Gujarati - Kannada - Malayalam - Oriya - Punjabi - Tamil - Telugu By the Debian source ttf-indic-fonts. WWW: http://debian-in.org URL: http://packages.debian.org/unstable/x11/ttf-indic-fonts PR: ports/118331 Submitted by: Giuseppe Pilichi aka Jacula Modyun <jacula at gmail.com>
Diffstat (limited to 'x11-fonts/indic-ttf')
-rw-r--r--x11-fonts/indic-ttf/Makefile152
-rw-r--r--x11-fonts/indic-ttf/distinfo3
-rw-r--r--x11-fonts/indic-ttf/files/pkg-message.in29
-rw-r--r--x11-fonts/indic-ttf/pkg-descr17
-rw-r--r--x11-fonts/indic-ttf/pkg-plist102
5 files changed, 303 insertions, 0 deletions
diff --git a/x11-fonts/indic-ttf/Makefile b/x11-fonts/indic-ttf/Makefile
new file mode 100644
index 000000000000..9f1044f00a82
--- /dev/null
+++ b/x11-fonts/indic-ttf/Makefile
@@ -0,0 +1,152 @@
+# New ports collection makefile for: ttf-indic-fonts
+# Date created: March 31 2008
+# Whom: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= indic-ttf
+PORTVERSION= 0.5.1
+CATEGORIES= x11-fonts
+MASTER_SITES= ${MASTER_SITE_DEBIAN}
+MASTER_SITE_SUBDIR= pool/main/t/ttf-indic-fonts
+PKGNAMESUFFIX= -fonts
+DISTNAME= ${PORTNAME:C|(.*)-(.*)|\2-\1|}${PKGNAMESUFFIX}_${PORTVERSION}
+
+MAINTAINER= jacula@gmail.com
+COMMENT= A collection of truetype Indic fonts
+
+BUILD_DEPENDS+= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
+ mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
+ fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S|_|-|}
+
+NO_BUILD= yes
+
+OPTIONS= BENGALI "BENGALI font set" on \
+ DEVANAGARI "DEVANAGARI font set" on \
+ GUJARATI "GUJARATI font set" on \
+ KANNADA "KANNADA font set" on \
+ MALAYALAM "MALAYALAM font set" on \
+ ORIYA "ORIYA font set" on \
+ PUNJABI "PUNJABI font set" on \
+ TAMIL "TAMIL font set" on \
+ TELUGU "TELUGU font set" on
+
+.include <bsd.port.pre.mk>
+
+FONTSNAME= ${PORTNAME}
+FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTSNAME}
+
+CONFAVAILDIR?= ${PREFIX}/etc/fonts/conf.avail
+
+MKFONTSCALE?= ${LOCALBASE}/bin/mkfontscale
+MKFONTSDIR?= ${LOCALBASE}/bin/mkfontdir
+FCCACHE?= ${LOCALBASE}/bin/fc-cache -f -v
+
+PLIST_SUB= FONTSDIR=${FONTSDIR:S|${PREFIX}/||} \
+ CONFAVAILDIR=${CONFAVAILDIR:S|${PREFIX}/||} \
+ FCCACHE='${FCCACHE}'
+
+SUB_FILES= pkg-message
+SUB_LIST= FONTSDIR=${FONTSDIR} \
+ CONFAVAILDIR=${CONFAVAILDIR}
+
+.if defined(WITHOUT_BENGALI)
+PLIST_SUB+= BENGALI='@comment '
+.else
+FONTS= bengali
+PLIST_SUB+= BENGALI=''
+.endif
+
+.if defined(WITHOUT_DEVANAGARI)
+PLIST_SUB+= DEVANAGARI='@comment '
+.else
+FONTS+= devanagari
+PLIST_SUB+= DEVANAGARI=''
+.endif
+
+.if defined(WITHOUT_GUJARATI)
+PLIST_SUB+= GUJARATI='@comment '
+.else
+FONTS+= gujarati
+PLIST_SUB+= GUJARATI=''
+.endif
+
+.if defined(WITHOUT_KANNADA)
+PLIST_SUB+= KANNADA='@comment '
+.else
+FONTS+= kannada
+PLIST_SUB+= KANNADA=''
+.endif
+
+.if defined(WITHOUT_MALAYALAM)
+PLIST_SUB+= MALAYALAM='@comment '
+.else
+FONTS+= malayalam
+PLIST_SUB+= MALAYALAM=''
+.endif
+
+.if defined(WITHOUT_ORIYA)
+PLIST_SUB+= ORIYA='@comment '
+.else
+FONTS+= oriya
+PLIST_SUB+= ORIYA=''
+.endif
+
+.if defined(WITHOUT_PUNJABI)
+PLIST_SUB+= PUNJABI='@comment '
+.else
+FONTS+= punjabi
+PLIST_SUB+= PUNJABI=''
+.endif
+
+.if defined(WITHOUT_TAMIL)
+PLIST_SUB+= TAMIL='@comment '
+.else
+FONTS+= tamil
+PLIST_SUB+= TAMIL=''
+.endif
+
+.if defined(WITHOUT_TELUGU)
+PLIST_SUB+= TELUGU='@comment '
+.else
+FONTS+= telugu
+PLIST_SUB+= TELUGU=''
+.endif
+
+SUB_LIST+= FONTS="${FONTS}"
+
+.if empty(FONTS)
+IGNORE= you have to select at least an option
+.endif
+
+do-install: install-fonts install-conf
+
+install-fonts:
+
+.for f in ${FONTS}
+ ${MKDIR} ${FONTSDIR}/${f}
+ ${INSTALL_DATA} ${WRKSRC}/ttf-${f}/*.ttf ${FONTSDIR}/${f}
+ ${INSTALL_DATA} ${WRKSRC}/debian/ttf-${f}${PKGNAMESUFFIX}.copyright ${FONTSDIR}/${f}
+ ${MKFONTSCALE} ${FONTSDIR}/${f} 2>/dev/null || true
+ ${MKFONTSDIR} ${FONTSDIR}/${f} 2>/dev/null || true
+.endfor
+
+install-conf:
+ ${MKDIR} ${CONFAVAILDIR}
+.for f in ${FONTS}
+ ${INSTALL_DATA} ${WRKSRC}/ttf-${f}/ttf-${f}${PKGNAMESUFFIX}.conf \
+ ${CONFAVAILDIR}/61-ttf-${f}${PKGNAMESUFFIX}.conf
+.endfor
+
+post-install:
+ @${ECHO_MSG} "===> Running fc-cache"
+ -${FCCACHE} ${FONTSDIR}
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
+
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/indic-ttf/distinfo b/x11-fonts/indic-ttf/distinfo
new file mode 100644
index 000000000000..4076f6eb53ae
--- /dev/null
+++ b/x11-fonts/indic-ttf/distinfo
@@ -0,0 +1,3 @@
+MD5 (ttf-indic-fonts_0.5.1.tar.gz) = 9d04776f889488459c2141eb2340d347
+SHA256 (ttf-indic-fonts_0.5.1.tar.gz) = ac2d7e7bc6894b91d60045428bcf5dd70834ae8a041e4263bd80fd393c0889e6
+SIZE (ttf-indic-fonts_0.5.1.tar.gz) = 4150683
diff --git a/x11-fonts/indic-ttf/files/pkg-message.in b/x11-fonts/indic-ttf/files/pkg-message.in
new file mode 100644
index 000000000000..fe80210d17e7
--- /dev/null
+++ b/x11-fonts/indic-ttf/files/pkg-message.in
@@ -0,0 +1,29 @@
+Make sure that the "freetype" module is loaded. If it is not, add
+the following line to the "Modules" section of your X Windows
+configuration file:
+
+ Load "freetype"
+
+For each language "LANG" in:
+
+ %%FONTS%%
+
+you'll have to add "%%FONTSDIR%%/LANG" to your X font path
+with the following line to the "Files" section of X Windows
+configuration file:
+
+ FontPath "%%FONTSDIR%%/LANG"
+
+and restart the Xserver.
+
+Font collection specific configure files are installed in:
+
+ "%%CONFAVAILDIR%%"
+
+and you have to symlink here, allowing them to be easily
+installed and then enabled/disabled by adjusting the symlinks.
+
+For each font collection information and the copyright can be
+found in the font subdirectories at:
+
+ "%%FONTSDIR%%"
diff --git a/x11-fonts/indic-ttf/pkg-descr b/x11-fonts/indic-ttf/pkg-descr
new file mode 100644
index 000000000000..a9d4c0e6c4ca
--- /dev/null
+++ b/x11-fonts/indic-ttf/pkg-descr
@@ -0,0 +1,17 @@
+This ttf-indic-fonts is a set of TrueType and
+OpenType fonts. It include:
+
+- Bengali
+- Devanagari
+- Gujarati
+- Kannada
+- Malayalam
+- Oriya
+- Punjabi
+- Tamil
+- Telugu
+
+By the Debian source ttf-indic-fonts.
+
+WWW: http://debian-in.org
+URL: http://packages.debian.org/unstable/x11/ttf-indic-fonts
diff --git a/x11-fonts/indic-ttf/pkg-plist b/x11-fonts/indic-ttf/pkg-plist
new file mode 100644
index 000000000000..282efdea9534
--- /dev/null
+++ b/x11-fonts/indic-ttf/pkg-plist
@@ -0,0 +1,102 @@
+%%BENGALI%%%%CONFAVAILDIR%%/61-ttf-bengali-fonts.conf
+%%DEVANAGARI%%%%CONFAVAILDIR%%/61-ttf-devanagari-fonts.conf
+%%GUJARATI%%%%CONFAVAILDIR%%/61-ttf-gujarati-fonts.conf
+%%KANNADA%%%%CONFAVAILDIR%%/61-ttf-kannada-fonts.conf
+%%MALAYALAM%%%%CONFAVAILDIR%%/61-ttf-malayalam-fonts.conf
+%%ORIYA%%%%CONFAVAILDIR%%/61-ttf-oriya-fonts.conf
+%%PUNJABI%%%%CONFAVAILDIR%%/61-ttf-punjabi-fonts.conf
+%%TAMIL%%%%CONFAVAILDIR%%/61-ttf-tamil-fonts.conf
+%%TELUGU%%%%CONFAVAILDIR%%/61-ttf-telugu-fonts.conf
+%%BENGALI%%%%FONTSDIR%%/bengali/JamrulNormal.ttf
+%%BENGALI%%%%FONTSDIR%%/bengali/LikhanNormal.ttf
+%%BENGALI%%%%FONTSDIR%%/bengali/MuktiNarrow.ttf
+%%BENGALI%%%%FONTSDIR%%/bengali/MuktiNarrowBold.ttf
+%%BENGALI%%%%FONTSDIR%%/bengali/ani.ttf
+%%BENGALI%%%%FONTSDIR%%/bengali/fonts.dir
+%%BENGALI%%%%FONTSDIR%%/bengali/fonts.scale
+%%BENGALI%%%%FONTSDIR%%/bengali/lohit_bn.ttf
+%%BENGALI%%%%FONTSDIR%%/bengali/mitra.ttf
+%%BENGALI%%%%FONTSDIR%%/bengali/ttf-bengali-fonts.copyright
+%%DEVANAGARI%%%%FONTSDIR%%/devanagari/AksharYogini.ttf
+%%DEVANAGARI%%%%FONTSDIR%%/devanagari/Samyak-Devanagari.ttf
+%%DEVANAGARI%%%%FONTSDIR%%/devanagari/Sarai_07.ttf
+%%DEVANAGARI%%%%FONTSDIR%%/devanagari/chandas1-2.ttf
+%%DEVANAGARI%%%%FONTSDIR%%/devanagari/fonts.dir
+%%DEVANAGARI%%%%FONTSDIR%%/devanagari/fonts.scale
+%%DEVANAGARI%%%%FONTSDIR%%/devanagari/gargi.ttf
+%%DEVANAGARI%%%%FONTSDIR%%/devanagari/kalimati.ttf
+%%DEVANAGARI%%%%FONTSDIR%%/devanagari/lohit_hi.ttf
+%%DEVANAGARI%%%%FONTSDIR%%/devanagari/nakula.ttf
+%%DEVANAGARI%%%%FONTSDIR%%/devanagari/sahadeva.ttf
+%%DEVANAGARI%%%%FONTSDIR%%/devanagari/samanata.ttf
+%%DEVANAGARI%%%%FONTSDIR%%/devanagari/ttf-devanagari-fonts.copyright
+%%GUJARATI%%%%FONTSDIR%%/gujarati/Rekha.ttf
+%%GUJARATI%%%%FONTSDIR%%/gujarati/Samyak-Gujarati.ttf
+%%GUJARATI%%%%FONTSDIR%%/gujarati/aakar-medium.ttf
+%%GUJARATI%%%%FONTSDIR%%/gujarati/fonts.dir
+%%GUJARATI%%%%FONTSDIR%%/gujarati/fonts.scale
+%%GUJARATI%%%%FONTSDIR%%/gujarati/lohit_gu.ttf
+%%GUJARATI%%%%FONTSDIR%%/gujarati/padmaa-Bold.1.1.ttf
+%%GUJARATI%%%%FONTSDIR%%/gujarati/padmaa-Medium-0.5.ttf
+%%GUJARATI%%%%FONTSDIR%%/gujarati/padmaa.ttf
+%%GUJARATI%%%%FONTSDIR%%/gujarati/ttf-gujarati-fonts.copyright
+%%KANNADA%%%%FONTSDIR%%/kannada/Kedage-b.ttf
+%%KANNADA%%%%FONTSDIR%%/kannada/Kedage-i.ttf
+%%KANNADA%%%%FONTSDIR%%/kannada/Kedage-n.ttf
+%%KANNADA%%%%FONTSDIR%%/kannada/Kedage-t.ttf
+%%KANNADA%%%%FONTSDIR%%/kannada/Malige-b.ttf
+%%KANNADA%%%%FONTSDIR%%/kannada/Malige-i.ttf
+%%KANNADA%%%%FONTSDIR%%/kannada/Malige-n.ttf
+%%KANNADA%%%%FONTSDIR%%/kannada/Malige-t.ttf
+%%KANNADA%%%%FONTSDIR%%/kannada/fonts.dir
+%%KANNADA%%%%FONTSDIR%%/kannada/fonts.scale
+%%KANNADA%%%%FONTSDIR%%/kannada/lohit_kn.ttf
+%%KANNADA%%%%FONTSDIR%%/kannada/ttf-kannada-fonts.copyright
+%%MALAYALAM%%%%FONTSDIR%%/malayalam/AnjaliOldLipi-0.730.ttf
+%%MALAYALAM%%%%FONTSDIR%%/malayalam/MalOtf.ttf
+%%MALAYALAM%%%%FONTSDIR%%/malayalam/Rachana_w01.ttf
+%%MALAYALAM%%%%FONTSDIR%%/malayalam/fonts.dir
+%%MALAYALAM%%%%FONTSDIR%%/malayalam/fonts.scale
+%%MALAYALAM%%%%FONTSDIR%%/malayalam/ttf-malayalam-fonts.copyright
+%%ORIYA%%%%FONTSDIR%%/oriya/Samyak-Oriya.ttf
+%%ORIYA%%%%FONTSDIR%%/oriya/fonts.dir
+%%ORIYA%%%%FONTSDIR%%/oriya/fonts.scale
+%%ORIYA%%%%FONTSDIR%%/oriya/lohit_or.ttf
+%%ORIYA%%%%FONTSDIR%%/oriya/ttf-oriya-fonts.copyright
+%%ORIYA%%%%FONTSDIR%%/oriya/utkal.ttf
+%%PUNJABI%%%%FONTSDIR%%/punjabi/Saab.ttf
+%%PUNJABI%%%%FONTSDIR%%/punjabi/fonts.dir
+%%PUNJABI%%%%FONTSDIR%%/punjabi/fonts.scale
+%%PUNJABI%%%%FONTSDIR%%/punjabi/lohit_pa.ttf
+%%PUNJABI%%%%FONTSDIR%%/punjabi/ttf-punjabi-fonts.copyright
+%%TAMIL%%%%FONTSDIR%%/tamil/TAMu_Kadampari.ttf
+%%TAMIL%%%%FONTSDIR%%/tamil/TAMu_Kalyani.ttf
+%%TAMIL%%%%FONTSDIR%%/tamil/TAMu_Maduram.ttf
+%%TAMIL%%%%FONTSDIR%%/tamil/TSCu_Comic.ttf
+%%TAMIL%%%%FONTSDIR%%/tamil/TSCu_Paranar.ttf
+%%TAMIL%%%%FONTSDIR%%/tamil/TSCu_Times.ttf
+%%TAMIL%%%%FONTSDIR%%/tamil/TSCu_paranarb.ttf
+%%TAMIL%%%%FONTSDIR%%/tamil/TSCu_paranari.ttf
+%%TAMIL%%%%FONTSDIR%%/tamil/fonts.dir
+%%TAMIL%%%%FONTSDIR%%/tamil/fonts.scale
+%%TAMIL%%%%FONTSDIR%%/tamil/lohit_ta.ttf
+%%TAMIL%%%%FONTSDIR%%/tamil/ttf-tamil-fonts.copyright
+%%TELUGU%%%%FONTSDIR%%/telugu/Pothana2000.ttf
+%%TELUGU%%%%FONTSDIR%%/telugu/Vemana.ttf
+%%TELUGU%%%%FONTSDIR%%/telugu/fonts.dir
+%%TELUGU%%%%FONTSDIR%%/telugu/fonts.scale
+%%TELUGU%%%%FONTSDIR%%/telugu/lohit_te.ttf
+%%TELUGU%%%%FONTSDIR%%/telugu/ttf-telugu-fonts.copyright
+%%TELUGU%%@dirrm %%FONTSDIR%%/telugu
+%%TAMIL%%@dirrm %%FONTSDIR%%/tamil
+%%PUNJABI%%@dirrm %%FONTSDIR%%/punjabi
+%%ORIYA%%@dirrm %%FONTSDIR%%/oriya
+%%MALAYALAM%%@dirrm %%FONTSDIR%%/malayalam
+%%KANNADA%%@dirrm %%FONTSDIR%%/kannada
+%%GUJARATI%%@dirrm %%FONTSDIR%%/gujarati
+%%DEVANAGARI%%@dirrm %%FONTSDIR%%/devanagari
+%%BENGALI%%@dirrm %%FONTSDIR%%/bengali
+@exec %%FCCACHE%% %D/%%FONTSDIR%% 2>/dev/null || true
+@unexec rm %D/%%FONTSDIR%%/fonts.cache-2 2>/dev/null || true
+@dirrm %%FONTSDIR%%
+@unexec %%FCCACHE%% %D/%%FONTSDIR%% 2>/dev/null || true