diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2010-02-12 17:19:08 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2010-02-12 17:19:08 +0000 |
commit | d9acc2da7fafc786aea2c39d97dc3b0552428576 (patch) | |
tree | d3899a26d24db2e869c1d48763eabb2883d764d8 /x11-fonts | |
parent | e76afd7544769cf9d57d99a5da32364babde201f (diff) |
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/Makefile | 1 | ||||
-rw-r--r-- | x11-fonts/font-gost/Makefile | 44 | ||||
-rw-r--r-- | x11-fonts/font-gost/distinfo | 3 | ||||
-rw-r--r-- | x11-fonts/font-gost/pkg-descr | 6 | ||||
-rw-r--r-- | x11-fonts/font-gost/pkg-message | 9 | ||||
-rw-r--r-- | x11-fonts/font-gost/pkg-plist | 8 |
6 files changed, 71 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 9b1c50a97271..98140f389ca6 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -45,6 +45,7 @@ SUBDIR += font-cursor-misc SUBDIR += font-daewoo-misc SUBDIR += font-dec-misc + SUBDIR += font-gost SUBDIR += font-ibm-type1 SUBDIR += font-isas-misc SUBDIR += font-jis-misc diff --git a/x11-fonts/font-gost/Makefile b/x11-fonts/font-gost/Makefile new file mode 100644 index 000000000000..0843becf30b1 --- /dev/null +++ b/x11-fonts/font-gost/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: font-gost +# Date created: 2010-01-15 +# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com> +# +# $FreeBSD$ +# + +PORTNAME= gost +PORTVERSION= 0.1 +CATEGORIES= x11-fonts +MASTER_SITES= http://sd.ascon.ru/ftp/Public/Utils/DWG-DXF/ \ + http://fbsd.zlonet.ru/distfiles/ +PKGNAMEPREFIX= font- +DISTNAME= TTF_FON + +MAINTAINER= g.veniamin@googlemail.com +COMMENT= GOST TrueType fonts + +RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig + +USE_ZIP= yes +NO_BUILD= yes +PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}" +FONTSDIR= ${PREFIX}/lib/X11/fonts/gost + +WRKSRC= ${WRKDIR}/Fonts + +do-install: + ${MKDIR} ${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.TTF ${FONTSDIR} + +post-install: + ${ECHO_MSG} "===> Running fc-cache" + -${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR} + ${ECHO_MSG} + ${CAT} ${PKGMESSAGE} + ${ECHO_MSG} + @${ECHO_MSG} "Standart GOST font. GOST 2.304-81" + @${ECHO_MSG} "Pay attention to copyright issues before\ + any commercial use this fonts." + @${ECHO_MSG} "Copyright (c) 1996-2010. ASCON. All Rights Reserved." + +.include <bsd.port.mk> diff --git a/x11-fonts/font-gost/distinfo b/x11-fonts/font-gost/distinfo new file mode 100644 index 000000000000..73d7891aea9d --- /dev/null +++ b/x11-fonts/font-gost/distinfo @@ -0,0 +1,3 @@ +MD5 (TTF_FON.zip) = 756f6adf94d1717759e4b1773bd1abb0 +SHA256 (TTF_FON.zip) = 8e962c979d6737db69afa56aa8389cbfa1b015b6be1d0a1a82032fb0b4b6c855 +SIZE (TTF_FON.zip) = 225484 diff --git a/x11-fonts/font-gost/pkg-descr b/x11-fonts/font-gost/pkg-descr new file mode 100644 index 000000000000..4a6fb4d3e276 --- /dev/null +++ b/x11-fonts/font-gost/pkg-descr @@ -0,0 +1,6 @@ +Standart GOST font. GOST 2.304-81 +Pay attention to copyright issues before +any commercial use this fonts. +Copyright (c) 1996-2010. ASCON. All Rights Reserved. + +WWW: http://sd.ascon.ru/ftp/Public/Utils/DWG-DXF/ diff --git a/x11-fonts/font-gost/pkg-message b/x11-fonts/font-gost/pkg-message new file mode 100644 index 000000000000..e9e0e7d21237 --- /dev/null +++ b/x11-fonts/font-gost/pkg-message @@ -0,0 +1,9 @@ +Make sure that the freetype module is loaded. If it is not, add the following +line to the "Modules" section of your X Windows configuration file: + + Load "freetype" + +Add the following line to the "Files" section of X Windows configuration file: + + FontPath "%%FONTSDIR%%/" + diff --git a/x11-fonts/font-gost/pkg-plist b/x11-fonts/font-gost/pkg-plist new file mode 100644 index 000000000000..36842214b56f --- /dev/null +++ b/x11-fonts/font-gost/pkg-plist @@ -0,0 +1,8 @@ +@exec %D/bin/fc-cache -f -v %%FONTSDIR%% +%%FONTSDIR%%/GOST_A.TTF +%%FONTSDIR%%/GOST_AU.ttf +%%FONTSDIR%%/GOST_B.TTF +%%FONTSDIR%%/GOST_BU.ttf +%%FONTSDIR%%/SYMBOL_A.TTF +%%FONTSDIR%%/SYMBOL_B.TTF +@dirrm %%FONTSDIR%% |