aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-05-20 19:59:58 +0800
committerjylefort <jylefort@FreeBSD.org>2005-05-20 19:59:58 +0800
commita37c37a8b4e5ccb88b1431f6632622477536d173 (patch)
tree3381713157d3676042d9fd789a09aa5dd1aa1235 /x11-fonts
parent3a9418918a4c9ff82b4662361ae5b355a7e7dae6 (diff)
downloadfreebsd-ports-gnome-a37c37a8b4e5ccb88b1431f6632622477536d173.tar.gz
freebsd-ports-gnome-a37c37a8b4e5ccb88b1431f6632622477536d173.tar.zst
freebsd-ports-gnome-a37c37a8b4e5ccb88b1431f6632622477536d173.zip
Add mgopen.
The MgOpen typefaces are freely available and contain glyphs for viewing texts in Greek (written in the monotoniko system). The MgOpen typeface collection is composed of the following typefaces: - MgOpenCanonica is a serif typeface, based on the design of Times Roman. - MgOpenCosmetica is a sans-serif typeface, based on the design of Optima. - MgOpenModata is another sans-serif typeface. - MgOpenModerna is a sans-serif typeface, based on the design of Helvetica. Each family contains four fonts, namely all the combinations of regular and bold weight and upright and italic (or oblique) shape. All the fonts contain glyphs for the latin and greek alphabets (using the monotoniko system), while the fonts of the Canonica family also contain all the glyphs necessary for viewing Greek texts written in the polytoniko system. All the fonts use the Unicode encoding for characters and are in the TrueType format. The fonts, in their initial release, have some characters missing (the most important one being the Euro symbol). These shortcomings will be fixed in future releases. WWW: http://www.ellak.gr/fonts/mgopen/ PR: ports/81137 Submitted by: Panagiotis Astithas <past@ebs.gr>
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/mgopen/Makefile40
-rw-r--r--x11-fonts/mgopen/distinfo2
-rw-r--r--x11-fonts/mgopen/files/pkg-message.in14
-rw-r--r--x11-fonts/mgopen/pkg-descr22
-rw-r--r--x11-fonts/mgopen/pkg-plist19
6 files changed, 98 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 6802386c9666..8e62a8c97f6a 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -38,6 +38,7 @@
SUBDIR += linux-fontconfig
SUBDIR += linux-urw-fonts
SUBDIR += mathfonts
+ SUBDIR += mgopen
SUBDIR += mkbold
SUBDIR += mkbold-mkitalic
SUBDIR += mkitalic
diff --git a/x11-fonts/mgopen/Makefile b/x11-fonts/mgopen/Makefile
new file mode 100644
index 000000000000..cf91c168a74d
--- /dev/null
+++ b/x11-fonts/mgopen/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: MgOpen Font Family
+# Date created: 16 May 2005
+# Whom: past@ebs.gr
+#
+# $FreeBSD$
+#
+
+PORTNAME= mgopen
+PORTVERSION= 1.0
+CATEGORIES= x11-fonts
+MASTER_SITES= http://www.ellak.gr/fonts/mgopen/files/
+DISTNAME= MgOpen
+
+MAINTAINER= past@ebs.gr
+COMMENT= MgOpen greek fonts collection
+
+BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+
+USE_X_PREFIX= yes
+NO_BUILD= yes
+
+FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
+PLIST_SUB= FONTSDIR=${FONTSDIR:S|^${PREFIX}/||}
+
+SUB_FILES= pkg-message
+SUB_LIST= FONTSDIR=${FONTSDIR}
+
+do-install:
+ ${MKDIR} ${FONTSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/*.ttf ${FONTSDIR}
+
+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/mgopen/distinfo b/x11-fonts/mgopen/distinfo
new file mode 100644
index 000000000000..4c02d67d1e8e
--- /dev/null
+++ b/x11-fonts/mgopen/distinfo
@@ -0,0 +1,2 @@
+MD5 (MgOpen.tar.gz) = 9ad4bba3d173e92734320286bfff4c8e
+SIZE (MgOpen.tar.gz) = 891086
diff --git a/x11-fonts/mgopen/files/pkg-message.in b/x11-fonts/mgopen/files/pkg-message.in
new file mode 100644
index 000000000000..fa36fd0606a7
--- /dev/null
+++ b/x11-fonts/mgopen/files/pkg-message.in
@@ -0,0 +1,14 @@
+To use these fonts, follow the instructions below.
+
+Make sure that the freetype module is loaded. If it is not, add the following
+line to the "Modules" section of your X configuration file:
+
+ Load "freetype"
+
+Add the following line to the "Files" section of your X configuration file:
+
+ FontPath "%%FONTSDIR%%/"
+
+Note: your X configuration file is typically %%X11BASE%%/etc/X11/XF86Config
+if you are using XFree86, and %%X11BASE%%/etc/X11/xorg.conf
+if you are using X.Org.
diff --git a/x11-fonts/mgopen/pkg-descr b/x11-fonts/mgopen/pkg-descr
new file mode 100644
index 000000000000..7ea3820f38be
--- /dev/null
+++ b/x11-fonts/mgopen/pkg-descr
@@ -0,0 +1,22 @@
+The MgOpen typefaces are freely available and contain glyphs for viewing
+texts in Greek (written in the monotoniko system).
+
+The MgOpen typeface collection is composed of the following typefaces:
+
+ - MgOpenCanonica is a serif typeface, based on the design of Times Roman.
+ - MgOpenCosmetica is a sans-serif typeface, based on the design of Optima.
+ - MgOpenModata is another sans-serif typeface.
+ - MgOpenModerna is a sans-serif typeface, based on the design of Helvetica.
+
+Each family contains four fonts, namely all the combinations of regular and
+bold weight and upright and italic (or oblique) shape. All the fonts contain
+glyphs for the latin and greek alphabets (using the monotoniko system), while
+the fonts of the Canonica family also contain all the glyphs necessary for
+viewing Greek texts written in the polytoniko system. All the fonts use the
+Unicode encoding for characters and are in the TrueType format.
+
+The fonts, in their initial release, have some characters missing (the most
+important one being the Euro symbol). These shortcomings will be fixed in
+future releases.
+
+WWW: http://www.ellak.gr/fonts/mgopen/
diff --git a/x11-fonts/mgopen/pkg-plist b/x11-fonts/mgopen/pkg-plist
new file mode 100644
index 000000000000..9a196e878029
--- /dev/null
+++ b/x11-fonts/mgopen/pkg-plist
@@ -0,0 +1,19 @@
+%%FONTSDIR%%/MgOpenCanonicaBold.ttf
+%%FONTSDIR%%/MgOpenCanonicaBoldItalic.ttf
+%%FONTSDIR%%/MgOpenCanonicaItalic.ttf
+%%FONTSDIR%%/MgOpenCanonicaRegular.ttf
+%%FONTSDIR%%/MgOpenCosmeticaBold.ttf
+%%FONTSDIR%%/MgOpenCosmeticaBoldOblique.ttf
+%%FONTSDIR%%/MgOpenCosmeticaOblique.ttf
+%%FONTSDIR%%/MgOpenCosmeticaRegular.ttf
+%%FONTSDIR%%/MgOpenModataBold.ttf
+%%FONTSDIR%%/MgOpenModataBoldOblique.ttf
+%%FONTSDIR%%/MgOpenModataOblique.ttf
+%%FONTSDIR%%/MgOpenModataRegular.ttf
+%%FONTSDIR%%/MgOpenModernaBold.ttf
+%%FONTSDIR%%/MgOpenModernaBoldOblique.ttf
+%%FONTSDIR%%/MgOpenModernaOblique.ttf
+%%FONTSDIR%%/MgOpenModernaRegular.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