misc/116460: No Indic fonts in ports

Naresh V nareshov at gmail.com
Wed Sep 19 03:50:05 PDT 2007


>Number:         116460
>Category:       misc
>Synopsis:       No Indic fonts in ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 19 10:50:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Naresh V
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD section9.junta.iitk.ac.in 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:32:24 UTC 2007     root at portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I'm not able to find good Indic fonts in the ports. Fedora's Lohit project has some great fonts for a whole bunch of Indian languages and many Linux distros provide it in their repos.

Here's a link to Gentoo's ebuild: http://www.gentoo-portage.com/media-fonts/fonts-indic

Please add this to the ports.

Thank you.
>How-To-Repeat:

>Fix:
I've written a port. (attached)
Feel free to modify it.
Lohit fonts are under GPL.


pkg-descr:

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

pkg-plist:
@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
%%FONTSDIR%%/fonts.cache-1
@dirrm %%FONTSDIR%%


Patch attached with submission follows:

# New ports collection makefile for:	fonts-indic
# Date created:				19 Septenber 2007
# Whom:					Naresh Venkateshappa <nareshov at gmail.com>
#
# $FreeBSD: ports/x11-fonts/font-indic-ttf/Makefile,v 0.1 2007/09/19 15:15:15 nareshov Exp $

PORTNAME=	fonts-indic
PORTVERSION=	2.1.5
PORTREVISION=	0
CATEGORIES=	x11-fonts
MASTER_SITES=	http://gentoo.osuosl.org/distfiles/

MAINTAINER=	nareshov at 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>


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list