Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2005 00:08:25 +0300 (EEST)
From:      Panagiotis Astithas <past@ebs.gr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:    ports/81137: New port: x11-fonts/mgopen MgOpen greek font collection
Message-ID:  <200505162108.j4GL8P9j087522@hal.ebs.gr>
Resent-Message-ID: <200505162110.j4GLA2KM033552@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         81137
>Category:       ports
>Synopsis:       New port: x11-fonts/mgopen MgOpen greek font collection
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 16 21:10:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Panagiotis Astithas
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
EBS Ltd.
>Environment:
System: FreeBSD hal.ebs.gr 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
A new port with the free greek MgOpen truetype fonts.
>How-To-Repeat:
	
>Fix:
Install the provided port.

--- mgopen.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:
#
#	mgopen
#	mgopen/Makefile
#	mgopen/distinfo
#	mgopen/pkg-descr
#	mgopen/pkg-message
#	mgopen/pkg-plist
#
echo c - mgopen
mkdir -p mgopen > /dev/null 2>&1
echo x - mgopen/Makefile
sed 's/^X//' >mgopen/Makefile << 'END-of-mgopen/Makefile'
X# New ports collection makefile for:	MgOpen Font Family
X# Date created:		May 16 2005
X# Whom:			past@ebs.gr
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mgopen
XPORTVERSION=	1.0
XCATEGORIES=	x11-fonts
XMASTER_SITES=	http://www.ellak.gr/fonts/mgopen/files/
XDISTNAME=	MgOpen
X
XMAINTAINER=	past@ebs.gr
XCOMMENT=	MgOpen greek font collection
X
XBUILD_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig
XRUN_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig
X
XPREFIX?=	${X11BASE}
XNO_BUILD=	yes
X
XPLIST_SUB=	FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
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
X.include <bsd.port.pre.mk>
X
X.SILENT:
X
Xpost-patch:
X	${SED} 's|%%FONTSDIR%%|${FONTSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
X
X#
X# Install
X#
X
Xdo-install:
X	${MKDIR} ${FONTSDIR}
X	${INSTALL_DATA} ${WRKDIR}/*.ttf ${FONTSDIR}
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.post.mk>
END-of-mgopen/Makefile
echo x - mgopen/distinfo
sed 's/^X//' >mgopen/distinfo << 'END-of-mgopen/distinfo'
XMD5 (MgOpen.tar.gz) = 9ad4bba3d173e92734320286bfff4c8e
XSIZE (MgOpen.tar.gz) = 891086
END-of-mgopen/distinfo
echo x - mgopen/pkg-descr
sed 's/^X//' >mgopen/pkg-descr << 'END-of-mgopen/pkg-descr'
XThe MgOpen typefaces are freely available and contain glyphs for 
Xviewing texts in Greek (written in the monotoniko system).
X
XThe MgOpen typeface collection is comprised by the following typefaces:
X- MgOpenCanonica is a serif typeface, based on the design of Times Roman.
X- MgOpenCosmetica is a sans-serif typeface, based on the design of Optima.
X- MgOpenModata is another sans-serif typeface.
X- MgOpenModerna is a sans-serif typeface, based on the design of Helvetica.
X
XEach family contains four fonts, namely all the combinations of regular 
Xand bold weight and upright and italic (or oblique) shape.  All the fonts 
Xcontain glyphs for the latin and greek alphabet (using the monotoniko 
Xsystem), while the fonts of the Canonica family also contain all the 
Xglyphs necessary for viewing Greek texts written in the polytoniko system.
XAll the fonts use the Unicode encoding for characters and are in the 
XTrueType format.
X
XThe fonts, in their initial release, have some characters missing, with 
Xmost important the lack of the Euro symbol. These shortcomings will be 
Xfixed in future releases.
X
X
XWWW: http://www.ellak.gr/fonts/mgopen/
END-of-mgopen/pkg-descr
echo x - mgopen/pkg-message
sed 's/^X//' >mgopen/pkg-message << 'END-of-mgopen/pkg-message'
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 your X Windows configuration file:
X
X	Load "freetype"
X
XAdd the following line to the "Files" section of X Windows configuration file:
X
X	FontPath "%%FONTSDIR%%/"
X
XNote: your X Windows configuration file is typically /etc/X11/XF86Config
Xif you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
END-of-mgopen/pkg-message
echo x - mgopen/pkg-plist
sed 's/^X//' >mgopen/pkg-plist << 'END-of-mgopen/pkg-plist'
X%%FONTSDIR%%/MgOpenCanonicaBold.ttf
X%%FONTSDIR%%/MgOpenCanonicaBoldItalic.ttf
X%%FONTSDIR%%/MgOpenCanonicaItalic.ttf
X%%FONTSDIR%%/MgOpenCanonicaRegular.ttf
X%%FONTSDIR%%/MgOpenCosmeticaBold.ttf
X%%FONTSDIR%%/MgOpenCosmeticaBoldOblique.ttf
X%%FONTSDIR%%/MgOpenCosmeticaOblique.ttf
X%%FONTSDIR%%/MgOpenCosmeticaRegular.ttf
X%%FONTSDIR%%/MgOpenModataBold.ttf
X%%FONTSDIR%%/MgOpenModataBoldOblique.ttf
X%%FONTSDIR%%/MgOpenModataOblique.ttf
X%%FONTSDIR%%/MgOpenModataRegular.ttf
X%%FONTSDIR%%/MgOpenModernaBold.ttf
X%%FONTSDIR%%/MgOpenModernaBoldOblique.ttf
X%%FONTSDIR%%/MgOpenModernaOblique.ttf
X%%FONTSDIR%%/MgOpenModernaRegular.ttf
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-mgopen/pkg-plist
exit
--- mgopen.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?200505162108.j4GL8P9j087522>