diff options
author | miwi <miwi@FreeBSD.org> | 2007-01-25 17:15:41 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-01-25 17:15:41 +0800 |
commit | 61b8b7780ab009bb91c71c34ec379811dcfecf3e (patch) | |
tree | 20c670d833d5717829327db385d9b96b5923a1c6 | |
parent | 24ba5d1ec3e528f41ced0ddfdc60a792e20cea68 (diff) | |
download | freebsd-ports-gnome-61b8b7780ab009bb91c71c34ec379811dcfecf3e.tar.gz freebsd-ports-gnome-61b8b7780ab009bb91c71c34ec379811dcfecf3e.tar.zst freebsd-ports-gnome-61b8b7780ab009bb91c71c34ec379811dcfecf3e.zip |
This is a port of te_IN fonts. Fonts like Pothana2000 and Vemana fonts
are available using this port.
WWW: http://itachi.prudhvi.org/te_fonts/
PR: ports/108315
Submitted by: Prudhvi Krishna <prudhvikrishna at gmail.com>
-rw-r--r-- | x11-fonts/Makefile | 1 | ||||
-rw-r--r-- | x11-fonts/fonts-te/Makefile | 44 | ||||
-rw-r--r-- | x11-fonts/fonts-te/distinfo | 3 | ||||
-rw-r--r-- | x11-fonts/fonts-te/pkg-descr | 4 | ||||
-rw-r--r-- | x11-fonts/fonts-te/pkg-message | 5 | ||||
-rw-r--r-- | x11-fonts/fonts-te/pkg-plist | 5 |
6 files changed, 62 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 564e6524b180..7ddc8f83045b 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -28,6 +28,7 @@ SUBDIR += fntsample SUBDIR += fontconfig SUBDIR += fontconfig-reference + SUBDIR += fonts-te SUBDIR += freefont-ttf SUBDIR += freefonts SUBDIR += geminifonts diff --git a/x11-fonts/fonts-te/Makefile b/x11-fonts/fonts-te/Makefile new file mode 100644 index 000000000000..8881c90cb434 --- /dev/null +++ b/x11-fonts/fonts-te/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: fonts-te +# Date created: Jan 24 2007 +# Whom: Prudhvi Krishna <prudhvikrishna@gmail.com> +# +# $FreeBSD$ + +PORTNAME= fonts-te +PORTVERSION= 1.0 +CATEGORIES= x11-fonts +MASTER_SITES= http://itachi.prudhvi.org/te_fonts/ \ + http://freebsd.unixfreunde.de/sources/ + +MAINTAINER= prudhvikrishna@gmail.com +COMMENT= Telugu fonts for te_IN. + +RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig + +USE_BZIP2= yes +NO_BUILD= yes +PORTDOCS= MANUAL.PDF +PKGMESSAGE= ${PKGDIR}/pkg-message +USE_X_PREFIX= yes +FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME} +PLIST_SUB= FONTSDIR=${FONTSDIR:S|^${PREFIX}/||} + +do-install: + ${MKDIR} ${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/Pothana2000.ttf ${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/vemana.ttf ${FONTSDIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +post-install: + @${ECHO_MSG} "===> Running fc-cache" + -${X11BASE}/bin/fc-cache -f -v ${FONTSDIR} + @${ECHO_MSG} + ${CAT} ${PKGMESSAGE} + @${ECHO_MSG} + +.include <bsd.port.mk> diff --git a/x11-fonts/fonts-te/distinfo b/x11-fonts/fonts-te/distinfo new file mode 100644 index 000000000000..0b79322fd695 --- /dev/null +++ b/x11-fonts/fonts-te/distinfo @@ -0,0 +1,3 @@ +MD5 (fonts-te-1.0.tar.bz2) = 9fb4b5df6a43d4048676f98fa1135108 +SHA256 (fonts-te-1.0.tar.bz2) = 671618c762391495a9e580c860c5eaf8f0b095e0c57bf0c9a97c5923c1aad073 +SIZE (fonts-te-1.0.tar.bz2) = 287770 diff --git a/x11-fonts/fonts-te/pkg-descr b/x11-fonts/fonts-te/pkg-descr new file mode 100644 index 000000000000..7a868d276725 --- /dev/null +++ b/x11-fonts/fonts-te/pkg-descr @@ -0,0 +1,4 @@ +This is a port of te_IN fonts. Fonts like Pothana2000 and Vemana fonts +are available using this port. + +WWW: http://itachi.prudhvi.org/te_fonts/ diff --git a/x11-fonts/fonts-te/pkg-message b/x11-fonts/fonts-te/pkg-message new file mode 100644 index 000000000000..83797ac543c5 --- /dev/null +++ b/x11-fonts/fonts-te/pkg-message @@ -0,0 +1,5 @@ + + +Please dont forget to read about how to use these fonts. +A Wiki on how to use these fonts and select Input methods is available +from http://www.swecha.org/wiki diff --git a/x11-fonts/fonts-te/pkg-plist b/x11-fonts/fonts-te/pkg-plist new file mode 100644 index 000000000000..9984113c98e1 --- /dev/null +++ b/x11-fonts/fonts-te/pkg-plist @@ -0,0 +1,5 @@ +%%FONTSDIR%%/Pothana2000.ttf +%%FONTSDIR%%/vemana.ttf +@unexec rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true +@dirrm %%FONTSDIR%% +@exec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || /usr/bin/true |