Date: Thu, 1 Apr 2004 17:46:49 +0100 (BST) From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/65044: [new port] x11-fonts/gentium Message-ID: <200404011646.i31GknHq088891@happy-idiot-talk.infracaninophile.co.uk> Resent-Message-ID: <200404011650.i31GoBVY059544@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65044 >Category: ports >Synopsis: [new port] x11-fonts/gentium >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 01 08:50:10 PST 2004 >Closed-Date: >Last-Modified: >Originator: Matthew Seaman >Release: FreeBSD 4.9-STABLE i386 >Organization: Infracaninophile >Environment: System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.9-STABLE FreeBSD 4.9-STABLE #62: Sun Mar 28 13:55:03 BST 2004 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 >Description: Gentium is a typeface family designed to enable the diverse ethnic groups around the world who use the Latin script to produce readable, high-quality publications. It supports a wide range of Latin-based alphabets and includes glyphs that correspond to all the Latin ranges of Unicode. http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=Gentium Note: port has NO_CDROM set as the license forbids redistribution for profit: These fonts may not be altered in any way, and can be distributed to others only if the complete font archive remains unchanged and all files are distributed together. They can be placed on web sites or CD-ROMs as long as no cost is charged for their use. They may not be \x{2018}bundled\x{2019} with products for sale without written permission from SIL International. The fonts are Copyright 2003 SIL International. >How-To-Repeat: >Fix: --- gentium.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gentium # gentium/pkg-message # gentium/Makefile # gentium/distinfo # gentium/files # gentium/files/fonts.dir # gentium/pkg-descr # gentium/pkg-plist # echo c - gentium mkdir -p gentium > /dev/null 2>&1 echo x - gentium/pkg-message sed 's/^X//' >gentium/pkg-message << 'END-of-gentium/pkg-message' XIMPORTANT - READ CAREFULLY: Please read the COPYRIGHT included with these fonts Xbefore using. The copyright can be found at X X %%FONTSDIR%%/COPYING. X XTo use these fonts, follow the instructions below. X XMake sure that the freetype module is loaded. If it is not, add the following Xline to the "Modules" section of XF86Config: X X Load "freetype" X XAdd the following line to the "Files" section of XF86Config: X X FontPath "%%FONTSDIR%%/" END-of-gentium/pkg-message echo x - gentium/Makefile sed 's/^X//' >gentium/Makefile << 'END-of-gentium/Makefile' X# New ports collection makefile for: Gentium Font Family X# Date created: March 31 2004 X# Whom: Matthew Seaman <m.seaman@infracaninophile.co.uk> X# X# $FreeBSD$ X# X# This port is shamelessly copied from Joe Marcus Clarke's bitstream-vera X# port. X# X# A note about MASTER_SITES. The bsd.port.mk system, expects (not X# unreasonably) that the name of the distfile being fetched should be X# the last component of the URL it passes to fetch(1). Unfortunately, X# in this case the master site uses some sort of fancy content X# management system and the URL required to download the distfile is X# strictly: X# X# http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=Gentium_101_LT&_sc=1 X# X# No mention of the distfile there. Hack around the problem by adding X# a dummy argument to the CGI arg list, which the site ignores, but X# that serves to placate bsd.ports.mk X XPORTNAME= gentium XPORTVERSION= 1.0.1 XCATEGORIES= x11-fonts XMASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=Gentium_101_LT&_sc=1&dummy=/ XDISTNAME= fonts-ttf-${PORTNAME}-${PORTVERSION} X XMAINTAINER= m.seaman@infracaninophile.co.uk XCOMMENT= Gentium TrueType font collection X XBUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig XRUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig X XUSE_BZIP2= yes XUSE_X_PREFIX= yes XNO_CDROM= License forbids commercial distribution without permission XNO_BUILD= yes X XPLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}" \ X FONTNAME=${FONTNAME} X XMSG_FILE= ${PKGDIR}/pkg-message XPKGMESSAGE= ${WRKDIR}/pkg-message X X# X# Local variables X# X XFONTNAME= ${PORTNAME} XFONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME} X XDOCSLIST= CHANGELOG FAQ Gentium-Greek-Specimen.pdf \ X Gentium-RU-A3Proofs.pdf Gentium-RU-Specimen.pdf \ X HISTORY INSTALL ISSUES QUOTES README THANKS X X.SILENT: X Xpost-patch: X ${SED} 's|%%FONTSDIR%%|${FONTSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE} X X# X# Install X# X Xdo-install: install-fonts install-conf install-docs X Xinstall-fonts: X ${MKDIR} ${FONTSDIR} X ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR} X ${INSTALL_DATA} ${FILESDIR}/fonts.dir ${FONTSDIR} X ${INSTALL_DATA} ${WRKSRC}/COPYING ${FONTSDIR} X Xinstall-conf: X ${MKDIR} ${PREFIX}/etc/fonts X if [ ! -f ${PREFIX}/etc/fonts/local.conf ]; then \ X ${INSTALL_DATA} ${WRKSRC}/local.conf ${PREFIX}/etc/fonts ; \ X fi X ${INSTALL_DATA} ${WRKSRC}/local.conf \ X ${PREFIX}/etc/fonts/local.conf-${FONTNAME} X Xinstall-docs: X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X @for doc in ${DOCSLIST} ; do \ X ${INSTALL_DATA} ${WRKSRC}/$$doc ${DOCSDIR} ; \ X done X.endif X Xpost-install: X ${ECHO_MSG} "===> Running fc-cache" X -${X11BASE}/bin/fc-cache -f -v ${FONTSDIR} X ${ECHO_MSG} X ${CAT} ${PKGMESSAGE} X ${ECHO_MSG} X X.include <bsd.port.mk> END-of-gentium/Makefile echo x - gentium/distinfo sed 's/^X//' >gentium/distinfo << 'END-of-gentium/distinfo' XMD5 (fonts-ttf-gentium-1.0.1.tar.bz2) = 78eea9e9831768bdb8aae7ee9a2e7782 XSIZE (fonts-ttf-gentium-1.0.1.tar.bz2) = 1789522 END-of-gentium/distinfo echo c - gentium/files mkdir -p gentium/files > /dev/null 2>&1 echo x - gentium/files/fonts.dir sed 's/^X//' >gentium/files/fonts.dir << 'END-of-gentium/files/fonts.dir' X44 XGentiumI.ttf -misc-Gentium-medium-i-normal--0-0-0-0-p-0-ascii-0 XGentiumI.ttf -misc-Gentium-medium-i-normal--0-0-0-0-p-0-fcd8859-15 XGentiumI.ttf -misc-Gentium-medium-i-normal--0-0-0-0-p-0-iso10646-1 XGentiumI.ttf -misc-Gentium-medium-i-normal--0-0-0-0-p-0-iso8859-1 XGentiumI.ttf -misc-Gentium-medium-i-normal--0-0-0-0-p-0-iso8859-10 XGentiumI.ttf -misc-Gentium-medium-i-normal--0-0-0-0-p-0-iso8859-15 XGentiumI.ttf -misc-Gentium-medium-i-normal--0-0-0-0-p-0-iso8859-2 XGentiumI.ttf -misc-Gentium-medium-i-normal--0-0-0-0-p-0-iso8859-3 XGentiumI.ttf -misc-Gentium-medium-i-normal--0-0-0-0-p-0-iso8859-4 XGentiumI.ttf -misc-Gentium-medium-i-normal--0-0-0-0-p-0-iso8859-7 XGentiumI.ttf -misc-Gentium-medium-i-normal--0-0-0-0-p-0-iso8859-9 XGentiumAlt.ttf -misc-GentiumAlt-medium-r-normal--0-0-0-0-p-0-ascii-0 XGentiumAlt.ttf -misc-GentiumAlt-medium-r-normal--0-0-0-0-p-0-fcd8859-15 XGentiumAlt.ttf -misc-GentiumAlt-medium-r-normal--0-0-0-0-p-0-iso10646-1 XGentiumAlt.ttf -misc-GentiumAlt-medium-r-normal--0-0-0-0-p-0-iso8859-1 XGentiumAlt.ttf -misc-GentiumAlt-medium-r-normal--0-0-0-0-p-0-iso8859-10 XGentiumAlt.ttf -misc-GentiumAlt-medium-r-normal--0-0-0-0-p-0-iso8859-15 XGentiumAlt.ttf -misc-GentiumAlt-medium-r-normal--0-0-0-0-p-0-iso8859-2 XGentiumAlt.ttf -misc-GentiumAlt-medium-r-normal--0-0-0-0-p-0-iso8859-3 XGentiumAlt.ttf -misc-GentiumAlt-medium-r-normal--0-0-0-0-p-0-iso8859-4 XGentiumAlt.ttf -misc-GentiumAlt-medium-r-normal--0-0-0-0-p-0-iso8859-7 XGentiumAlt.ttf -misc-GentiumAlt-medium-r-normal--0-0-0-0-p-0-iso8859-9 XGentiumAItI.ttf -misc-GentiumAlt-medium-i-normal--0-0-0-0-p-0-ascii-0 XGentiumAItI.ttf -misc-GentiumAlt-medium-i-normal--0-0-0-0-p-0-fcd8859-15 XGentiumAItI.ttf -misc-GentiumAlt-medium-i-normal--0-0-0-0-p-0-iso10646-1 XGentiumAItI.ttf -misc-GentiumAlt-medium-i-normal--0-0-0-0-p-0-iso8859-1 XGentiumAItI.ttf -misc-GentiumAlt-medium-i-normal--0-0-0-0-p-0-iso8859-10 XGentiumAItI.ttf -misc-GentiumAlt-medium-i-normal--0-0-0-0-p-0-iso8859-15 XGentiumAItI.ttf -misc-GentiumAlt-medium-i-normal--0-0-0-0-p-0-iso8859-2 XGentiumAItI.ttf -misc-GentiumAlt-medium-i-normal--0-0-0-0-p-0-iso8859-3 XGentiumAItI.ttf -misc-GentiumAlt-medium-i-normal--0-0-0-0-p-0-iso8859-4 XGentiumAItI.ttf -misc-GentiumAlt-medium-i-normal--0-0-0-0-p-0-iso8859-7 XGentiumAItI.ttf -misc-GentiumAlt-medium-i-normal--0-0-0-0-p-0-iso8859-9 XGentium.ttf -misc-Gentium-medium-r-normal--0-0-0-0-p-0-ascii-0 XGentium.ttf -misc-Gentium-medium-r-normal--0-0-0-0-p-0-fcd8859-15 XGentium.ttf -misc-Gentium-medium-r-normal--0-0-0-0-p-0-iso10646-1 XGentium.ttf -misc-Gentium-medium-r-normal--0-0-0-0-p-0-iso8859-1 XGentium.ttf -misc-Gentium-medium-r-normal--0-0-0-0-p-0-iso8859-10 XGentium.ttf -misc-Gentium-medium-r-normal--0-0-0-0-p-0-iso8859-15 XGentium.ttf -misc-Gentium-medium-r-normal--0-0-0-0-p-0-iso8859-2 XGentium.ttf -misc-Gentium-medium-r-normal--0-0-0-0-p-0-iso8859-3 XGentium.ttf -misc-Gentium-medium-r-normal--0-0-0-0-p-0-iso8859-4 XGentium.ttf -misc-Gentium-medium-r-normal--0-0-0-0-p-0-iso8859-7 XGentium.ttf -misc-Gentium-medium-r-normal--0-0-0-0-p-0-iso8859-9 END-of-gentium/files/fonts.dir echo x - gentium/pkg-descr sed 's/^X//' >gentium/pkg-descr << 'END-of-gentium/pkg-descr' XGentium is a typeface family designed to enable the diverse ethnic Xgroups around the world who use the Latin script to produce readable, Xhigh-quality publications. It supports a wide range of Latin-based Xalphabets and includes glyphs that correspond to all the Latin ranges Xof Unicode. X XWWW: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=Gentium END-of-gentium/pkg-descr echo x - gentium/pkg-plist sed 's/^X//' >gentium/pkg-plist << 'END-of-gentium/pkg-plist' X@unexec if cmp -s %D/etc/fonts/local.conf %D/etc/fonts/local.conf-%%FONTNAME%%; then rm -f %D/etc/fonts/local.conf; fi Xetc/fonts/local.conf-%%FONTNAME%% X@exec [ ! -f %B/local.conf ] && cp %B/%f %B/local.conf X%%FONTSDIR%%/COPYING X%%FONTSDIR%%/fonts.dir X%%FONTSDIR%%/Gentium.ttf X%%FONTSDIR%%/GentiumAItI.ttf X%%FONTSDIR%%/GentiumAlt.ttf X%%FONTSDIR%%/GentiumI.ttf X%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG X%%PORTDOCS%%%%DOCSDIR%%/FAQ X%%PORTDOCS%%%%DOCSDIR%%/Gentium-Greek-Specimen.pdf X%%PORTDOCS%%%%DOCSDIR%%/Gentium-RU-A3Proofs.pdf X%%PORTDOCS%%%%DOCSDIR%%/Gentium-RU-Specimen.pdf X%%PORTDOCS%%%%DOCSDIR%%/HISTORY X%%PORTDOCS%%%%DOCSDIR%%/INSTALL X%%PORTDOCS%%%%DOCSDIR%%/ISSUES X%%PORTDOCS%%%%DOCSDIR%%/QUOTES X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/THANKS X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true X@dirrm %%FONTSDIR%% X@exec %%X11BASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true END-of-gentium/pkg-plist exit --- gentium.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404011646.i31GknHq088891>