diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index df534dd46be7..3fbd52bae3e9 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -1,141 +1,142 @@ # $FreeBSD$ # COMMENT = X11 fonts and font utilities SUBDIR += Xg SUBDIR += arkpandora SUBDIR += artwiz-aleczapka SUBDIR += artwiz-aleczapka-de SUBDIR += artwiz-aleczapka-se SUBDIR += artwiz-fonts SUBDIR += avifonts SUBDIR += bdfresize SUBDIR += bdftopcf SUBDIR += bitmap-fonts SUBDIR += bitstream-vera SUBDIR += c64bdf SUBDIR += code2000 SUBDIR += code2001 SUBDIR += cyberbit-ttfonts SUBDIR += cyr-rfx SUBDIR += dejavu SUBDIR += encodings SUBDIR += etlfonts SUBDIR += farsifonts SUBDIR += fntsample SUBDIR += font-adobe-100dpi SUBDIR += font-adobe-75dpi SUBDIR += font-adobe-utopia-100dpi SUBDIR += font-adobe-utopia-75dpi SUBDIR += font-adobe-utopia-type1 SUBDIR += font-alias SUBDIR += font-arabic-misc SUBDIR += font-bh-100dpi SUBDIR += font-bh-75dpi SUBDIR += font-bh-lucidatypewriter-100dpi SUBDIR += font-bh-lucidatypewriter-75dpi SUBDIR += font-bh-ttf SUBDIR += font-bh-type1 SUBDIR += font-bitstream-100dpi SUBDIR += font-bitstream-75dpi SUBDIR += font-bitstream-speedo SUBDIR += font-bitstream-type1 SUBDIR += font-cronyx-cyrillic SUBDIR += font-cursor-misc SUBDIR += font-daewoo-misc SUBDIR += font-dec-misc SUBDIR += font-ibm-type1 SUBDIR += font-isas-misc SUBDIR += font-jis-misc SUBDIR += font-micro-misc SUBDIR += font-misc-cyrillic SUBDIR += font-misc-ethiopic SUBDIR += font-misc-meltho SUBDIR += font-misc-misc SUBDIR += font-mutt-misc SUBDIR += font-schumacher-misc SUBDIR += font-screen-cyrillic SUBDIR += font-sony-misc SUBDIR += font-sun-misc SUBDIR += font-util SUBDIR += font-winitzki-cyrillic SUBDIR += font-xfree86-type1 SUBDIR += fontcacheproto SUBDIR += fontconfig SUBDIR += fontconfig-reference SUBDIR += fontmatrix SUBDIR += fonts-indic SUBDIR += fonts-te SUBDIR += fontsproto SUBDIR += fonttosfnt SUBDIR += freefont-ttf SUBDIR += freefonts SUBDIR += fslsfonts SUBDIR += geminifonts SUBDIR += gentium SUBDIR += getbdf SUBDIR += gfe SUBDIR += gnome-font-sampler SUBDIR += indic-ttf SUBDIR += intlfonts SUBDIR += jmk-x11-fonts SUBDIR += junicode SUBDIR += lfpfonts-fix SUBDIR += lfpfonts-var SUBDIR += libFS SUBDIR += libXfont SUBDIR += libXfontcache SUBDIR += libXft SUBDIR += liberation-fonts-ttf SUBDIR += libfontenc SUBDIR += linux-fontconfig SUBDIR += linuxlibertine SUBDIR += manu-gothica SUBDIR += mathfonts SUBDIR += mgopen SUBDIR += mkbold SUBDIR += mkbold-mkitalic SUBDIR += mkfontdir SUBDIR += mkfontscale SUBDIR += mkitalic SUBDIR += mozilla-fonts SUBDIR += nexfontsel SUBDIR += nucleus SUBDIR += p5-Font-AFM SUBDIR += p5-Font-TTF SUBDIR += p5-Font-TTFMetrics SUBDIR += p5-type1inst SUBDIR += pcf2bdf SUBDIR += ppantsfonts SUBDIR += proggy_fonts SUBDIR += sgifonts SUBDIR += sharefonts SUBDIR += showfont SUBDIR += suxus SUBDIR += terminus-font SUBDIR += texcm-ttf SUBDIR += tkfont + SUBDIR += tmu SUBDIR += tolkien-ttf SUBDIR += ttmkfdir SUBDIR += tv-fonts SUBDIR += urwfonts SUBDIR += urwfonts-ttf SUBDIR += webfonts SUBDIR += wqy SUBDIR += xf86bigfontproto SUBDIR += xfed SUBDIR += xfontsel SUBDIR += xfs SUBDIR += xfsinfo SUBDIR += xlsfonts SUBDIR += xmbdfed SUBDIR += xorg-fonts SUBDIR += xorg-fonts-100dpi SUBDIR += xorg-fonts-75dpi SUBDIR += xorg-fonts-cyrillic SUBDIR += xorg-fonts-miscbitmaps SUBDIR += xorg-fonts-truetype SUBDIR += xorg-fonts-type1 .include diff --git a/x11-fonts/tmu/Makefile b/x11-fonts/tmu/Makefile new file mode 100644 index 000000000000..878b84ed8e7b --- /dev/null +++ b/x11-fonts/tmu/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: TibetanMachineUni +# Date created: 19 May 2008 +# Whom: Andrew Pantyukhin +# +# $FreeBSD$ +# + +PORTNAME= tmu +DISTVERSION= 1.901b +CATEGORIES= x11-fonts +MASTER_SITES= CENKES +# http://www.thdl.org/tools/fonts/index.html + +MAINTAINER= infofarmer@FreeBSD.org +COMMENT= Free Tibetan Machine Uni font + +BUILD_DEPENDS= mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \ + mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ + fc-cache:${PORTSDIR}/x11-fonts/fontconfig + +USE_BZIP2= yes +PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}" +FONTNAME= ${PORTNAME} +FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME} + +MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale +MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir +FCCACHE_CMD= ${LOCALBASE}/bin/fc-cache -f -v + +post-extract: + @cd ${WRKSRC}/&&${MV} TibMachUni-${DISTVERSION}.ttf tmu.ttf + +do-build: + @cd ${WRKSRC}/ && ${MKFONTSCL_CMD} && ${MKFONTDIR_CMD} + +do-install: + @${INSTALL} -d ${FONTSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/[ft]* ${FONTSDIR}/ + @${ECHO_MSG} "===> Running fc-cache" + -${FCCACHE_CMD} ${FONTSDIR} + +.include diff --git a/x11-fonts/tmu/distinfo b/x11-fonts/tmu/distinfo new file mode 100644 index 000000000000..6ab9b2180651 --- /dev/null +++ b/x11-fonts/tmu/distinfo @@ -0,0 +1,3 @@ +MD5 (tmu-1.901b.tar.bz2) = b3f1ff6564c13e01ed3ee376cd5376ee +SHA256 (tmu-1.901b.tar.bz2) = 0b0ea2451dd5d81e3fe7bb816567fbffa52bd17777db92cd46b0c495e11a266b +SIZE (tmu-1.901b.tar.bz2) = 1167327 diff --git a/x11-fonts/tmu/pkg-descr b/x11-fonts/tmu/pkg-descr new file mode 100644 index 000000000000..fe54fdc215f5 --- /dev/null +++ b/x11-fonts/tmu/pkg-descr @@ -0,0 +1,19 @@ +The Tibetan & Himalayan Digital Library releases the Unicode character +based Tibetan Machine Uni OpenType font for writing Tibetan, Dzongkha +and Ladakhi in dbu-can script with full support for the Sanskrit +combinations found in chos skad texts. + +This font is based on the Tibetan Machine font originally designed and +developed by Tony Duff of the Tibetan Computer Company over many +years, the rights of which were purchased from him by the Trace +Foundation in order to make it freely available under the terms of the +Gnu General Public License. + +OpenType tables and more than 2,000 additional glyphs were added to +the original font by Nathaniel Garson and Christopher Fynn under the +auspices of THDL. This new OpenType version of the font contains +almost 4,000 glyphs and can generate over 20,000 different +combinations. + +WWW: http://www.thdl.org/tools/fonts/ +Author: Tony Duff diff --git a/x11-fonts/tmu/pkg-plist b/x11-fonts/tmu/pkg-plist new file mode 100644 index 000000000000..138dcf3ea953 --- /dev/null +++ b/x11-fonts/tmu/pkg-plist @@ -0,0 +1,7 @@ +%%FONTSDIR%%/fonts.dir +%%FONTSDIR%%/fonts.scale +%%FONTSDIR%%/tmu.ttf +@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true +@unexec rm -f %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || true +@unexec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true +@dirrm %%FONTSDIR%%