ports/142862: New port: x11-fonts/font-gost Standart GOST font. GOST 2.304-81
zloidemon
g.veniamin at googlemail.com
Fri Jan 15 15:00:02 UTC 2010
>Number: 142862
>Category: ports
>Synopsis: New port: x11-fonts/font-gost Standart GOST font. GOST 2.304-81
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 15 15:00:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: zloidemon
>Release: FreeBSD 8.0-STABLE
>Organization:
>Environment:
FreeBSD zlobook.local 8.0-STABLE FreeBSD 8.0-STABLE #22: Sun Jan 3 12:17:19 KRAT 2010 root at zlobook.local:/usr/obj/usr/src/sys/zlobook i386
>Description:
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.
>How-To-Repeat:
>Fix:
# 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:
#
# font-gost
# font-gost/pkg-descr
# font-gost/Makefile
# font-gost/pkg-plist
# font-gost/distinfo
# font-gost/pkg-message
#
echo c - font-gost
mkdir -p font-gost > /dev/null 2>&1
echo x - font-gost/pkg-descr
sed 's/^X//' >font-gost/pkg-descr << '7201c29621a312837312492e5d6f633f'
XStandart GOST font. GOST 2.304-81
XPay attention to copyright issues before
Xany commercial use this fonts.
XCopyright (c) 1996-2010. ASCON. All Rights Reserved.
X
XWWW: http://sd.ascon.ru/ftp/Public/Utils/DWG-DXF/
7201c29621a312837312492e5d6f633f
echo x - font-gost/Makefile
sed 's/^X//' >font-gost/Makefile << 'a711aa9bbddf0e3b1345b75beb8e7161'
X# New ports collection makefile for: font-gost
X# Date created: 2010-01-15
X# Whom: Gvozdikov Veniamin <g.veniamin at googlemail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= gost
XPORTVERSION= 0.1
XCATEGORIES= x11-fonts
XMASTER_SITES= http://sd.ascon.ru/ftp/Public/Utils/DWG-DXF/ \
X http://fbsd.zlonet.ru/distfiles/
XPKGNAMEPREFIX= font-
XDISTNAME= TTF_FON
X
XMAINTAINER= g.veniamin at googlemail.com
XCOMMENT= GOST TrueType fonts
X
XRUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
X
XUSE_ZIP= yes
XNO_BUILD= yes
XPLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
XFONTSDIR= ${PREFIX}/lib/X11/fonts/gost
X
XWRKSRC= ${WRKDIR}/Fonts
X
Xdo-install:
X ${MKDIR} ${FONTSDIR}
X ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
X ${INSTALL_DATA} ${WRKSRC}/*.TTF ${FONTSDIR}
X
Xpost-install:
X ${ECHO_MSG} "===> Running fc-cache"
X -${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
X ${ECHO_MSG}
X ${CAT} ${PKGMESSAGE}
X ${ECHO_MSG}
X @${ECHO_MSG} "Standart GOST font. GOST 2.304-81"
X @${ECHO_MSG} "Pay attention to copyright issues before\
X any commercial use this fonts."
X @${ECHO_MSG} "Copyright (c) 1996-2010. ASCON. All Rights Reserved."
X
X.include <bsd.port.mk>
a711aa9bbddf0e3b1345b75beb8e7161
echo x - font-gost/pkg-plist
sed 's/^X//' >font-gost/pkg-plist << 'b405dde167f8340b1fbcb6d5c7c34c7f'
X at exec %D/bin/fc-cache -f -v %%FONTSDIR%%
X%%FONTSDIR%%/GOST_A.TTF
X%%FONTSDIR%%/GOST_AU.ttf
X%%FONTSDIR%%/GOST_B.TTF
X%%FONTSDIR%%/GOST_BU.ttf
X%%FONTSDIR%%/SYMBOL_A.TTF
X%%FONTSDIR%%/SYMBOL_B.TTF
X at dirrm %%FONTSDIR%%
b405dde167f8340b1fbcb6d5c7c34c7f
echo x - font-gost/distinfo
sed 's/^X//' >font-gost/distinfo << '1c35d2c0cbae0d558bd8c964f52ef9d4'
XMD5 (TTF_FON.zip) = 756f6adf94d1717759e4b1773bd1abb0
XSHA256 (TTF_FON.zip) = 8e962c979d6737db69afa56aa8389cbfa1b015b6be1d0a1a82032fb0b4b6c855
XSIZE (TTF_FON.zip) = 225484
1c35d2c0cbae0d558bd8c964f52ef9d4
echo x - font-gost/pkg-message
sed 's/^X//' >font-gost/pkg-message << '31a4e155ad5cb1482b3e0563ec5d29b3'
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.
X
31a4e155ad5cb1482b3e0563ec5d29b3
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list