mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Add EPSON TrueTypeFontVer.3.0
Including: MaruGothic, FutoMaruGothicB, FutoMinchotaiB, FutoGyosyotaiB FutoKakuGothicB, KyokasyotaiM, SeiKaisyotaiM, GyoshotaiM You can use these fonts if you are using following EPSON printer LP-9800C/9600SPD/9600S/9600/9500C/9500CZ/9400/9300/9200SX/ 9200S/9200PS2/9200/9100/9000/9000B/9000C/8900/8800CR/8800C/ 8700PS3/8700/8600FXN/8600FX/8600FN/8600F/8600/8500C/8500/ 8400FXN/8400FX/8400FN/8400F/8400/8300S/8300F/8300C/8300/ 8200PS2/8200CPD/8200C/8200/8100/8000SX/8000SE/8000S/8000C/ 8000/7900/7800C/7700/7500/7100/7000G/7000C/7000/6100/ 3000C/3000/2500/2400/2200/2000LT/2000C/2000/1900N/1900/ 1800/1700S/1700/1600/1500S/1500C/1500/1400/1300U/1300/ 1200/1000/900/800S/800 WWW: http://www.i-love-epson.co.jp/download2/printer/driver/win/page/ttf30.htm
This commit is contained in:
parent
81c90e8308
commit
21c7da19f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131632
@ -72,6 +72,7 @@
|
||||
SUBDIR += emacs20-dl-wnn6
|
||||
SUBDIR += emacs20-emcws
|
||||
SUBDIR += epic4
|
||||
SUBDIR += epson-ttfonts
|
||||
SUBDIR += epwutil
|
||||
SUBDIR += escpf
|
||||
SUBDIR += esecanna
|
||||
|
51
japanese/epson-ttfonts/Makefile
Normal file
51
japanese/epson-ttfonts/Makefile
Normal file
@ -0,0 +1,51 @@
|
||||
# New ports collection makefile for: epson-ttfonts
|
||||
# Date created: 20 Feb 2005
|
||||
# Whom: NAKATA, Maho <maho@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= epson-ttfonts
|
||||
PORTVERSION= 3.0.20050220
|
||||
CATEGORIES= japanese x11-fonts
|
||||
MASTER_SITES= http://www2.i-love-epson.co.jp/download/printer/driver/win/page/
|
||||
DISTNAME= ${EPSONFONTS}
|
||||
EXTRACT_SUFX=.exe
|
||||
DIST_SUBDIR= epson
|
||||
|
||||
MAINTAINER= maho@FreeBSD.org
|
||||
COMMENT= EPSON TrueTypeFontVer.3.0, only usable with EPSON printer
|
||||
|
||||
RESTRICTED= "Redistribution not permitted; only usable with EPSON printer."
|
||||
NO_CDROM= Redistribution not permitted in any form
|
||||
NO_PACKAGE= Redistribution not permitted in any form
|
||||
|
||||
EPSONFONTS= ttf30
|
||||
USE_X_PREFIX= yes
|
||||
USE_ZIP= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
FONTSDIR= lib/X11/fonts/TrueType
|
||||
MAKE_ENV= FONTSDIR=${FONTSDIR}
|
||||
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
||||
|
||||
do-extract:
|
||||
@${MKDIR} ${WRKDIR}
|
||||
@cd ${WRKDIR} ; \
|
||||
${CAT} ${DISTDIR}/${DIST_SUBDIR}/${EPSONFONTS}.exe | ${TAIL} -c 16591797 >FILE ;\
|
||||
${UNZIP_CMD} FILE ; ${RM} FILE
|
||||
|
||||
do-install:
|
||||
|
||||
.if !exists(${PREFIX}/${FONTSDIR})
|
||||
@${ECHO} "*********************************************************"
|
||||
@${ECHO} "Please add ${PREFIX}/${FONTSDIR} to your font path"
|
||||
@${ECHO} "and load 'freetype' module in /etc/x11/xorg.conf."
|
||||
@${ECHO} "*********************************************************"
|
||||
${MKDIR} ${PREFIX}/${FONTSDIR}
|
||||
.endif
|
||||
${INSTALL_DATA} ${WRKSRC}/*.ttf \
|
||||
${FILESDIR}/fonts.alias.epson \
|
||||
${FILESDIR}/fonts.dir.epson \
|
||||
${PREFIX}/${FONTSDIR}
|
||||
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
.include <bsd.port.mk>
|
2
japanese/epson-ttfonts/distinfo
Normal file
2
japanese/epson-ttfonts/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (epson/ttf30.exe) = 2f7b7f64becfc5bf6dd13ee3c9bd006f
|
||||
SIZE (epson/ttf30.exe) = 16622058
|
31
japanese/epson-ttfonts/files/fonts.alias.epson
Normal file
31
japanese/epson-ttfonts/files/fonts.alias.epson
Normal file
@ -0,0 +1,31 @@
|
||||
-epson-EPSON MGOBOLD-medium-r-normal--0-0-0-0-p-0-ascii-0 -epson-EPSON MGOBOLD-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
-epson-EPSON MGOBOLD-medium-r-normal--0-0-0-0-p-0-iso10646-1 -epson-EPSON MGOBOLD-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
-epson-EPSON GYOSHO-medium-r-normal--0-0-0-0-p-0-ascii-0 -epson-EPSON GYOSHO-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
-epson-EPSON GYOSHO-medium-r-normal--0-0-0-0-p-0-iso10646-1 -epson-EPSON GYOSHO-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
-epson-EPSON KAISHO-medium-r-normal--0-0-0-0-p-0-ascii-0 -epson-EPSON KAISHO-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
-epson-EPSON KAISHO-medium-r-normal--0-0-0-0-p-0-iso10646-1 -epson-EPSON KAISHO-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
-epson-EPSON KAISHOBOLD-medium-r-normal--0-0-0-0-p-0-ascii-0 -epson-EPSON KAISHOBOLD-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
-epson-EPSON KAISYOBOLD-medium-r-normal--0-0-0-0-p-0-iso10646-1-epson-EPSON KAISYOBOLD-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
-epson-EPSON KYOKASYO-medium-r-normal--0-0-0-0-p-0-ascii-0 -epson-EPSON KYOKASYO-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
-epson-EPSON KYOKASYO-medium-r-normal--0-0-0-0-p-0-iso10646-1 -epson-EPSON KYOKASYO-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
-epson-EPSON MARUGO-medium-r-normal--0-0-0-0-p-0-ascii-0 -epson-EPSON MARUGO-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
-epson-EPSON MARUGO-medium-r-normal--0-0-0-0-p-0-iso10646-1 -epson-EPSON MARUGO-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
-epson-EPSON GYOSHOBOLD-medium-r-normal--0-0-0-0-p-0-ascii-0 -epson-EPSON GYOSHOBOLD-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
-epson-EPSON GYOSHOBOLD-medium-r-normal--0-0-0-0-p-0-iso10646-1 -epson-EPSON GYOSHOBOLD-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
-epson-EPSON MINCHOBOLD-medium-r-normal--0-0-0-0-p-0-ascii-0 -epson-EPSON MINCHOBOLD-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
-epson-EPSON MINCHOBOLD-medium-r-normal--0-0-0-0-p-0-iso10646-1 -epson-EPSON MINCHOBOLD-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
17
japanese/epson-ttfonts/files/fonts.dir.epson
Normal file
17
japanese/epson-ttfonts/files/fonts.dir.epson
Normal file
@ -0,0 +1,17 @@
|
||||
16
|
||||
epmgobld.ttf -epson-EPSON MGOBOLD-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
epmgobld.ttf -epson-EPSON MGOBOLD-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
epgyosho.ttf -epson-EPSON GYOSHO-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
epgyosho.ttf -epson-EPSON GYOSHO-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
epkaisho.ttf -epson-EPSON KAISHO-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
epkaisho.ttf -epson-EPSON KAISHO-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
epkgobld.ttf -epson-EPSON KAISHOBOLD-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
epkgobld.ttf -epson-EPSON KAISYOBOLD-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
epkyouka.ttf -epson-EPSON KYOKASYO-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
epkyouka.ttf -epson-EPSON KYOKASYO-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
epmarugo.ttf -epson-EPSON MARUGO-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
epmarugo.ttf -epson-EPSON MARUGO-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
epgyobld.ttf -epson-EPSON GYOSHOBOLD-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
epgyobld.ttf -epson-EPSON GYOSHOBOLD-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
||||
epminbld.ttf -epson-EPSON MINCHOBOLD-medium-r-normal--0-0-0-0-c-0-ascii-0
|
||||
epminbld.ttf -epson-EPSON MINCHOBOLD-medium-r-normal--0-0-0-0-c-0-iso10646-1
|
14
japanese/epson-ttfonts/pkg-deinstall
Normal file
14
japanese/epson-ttfonts/pkg-deinstall
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
XFLDNAME="-epson-EPSON"
|
||||
if [ "$2" != "DEINSTALL" ]; then
|
||||
exit 0
|
||||
fi
|
||||
FONTDIR=${PKG_PREFIX}/lib/X11/fonts/TrueType
|
||||
cd ${FONTDIR}
|
||||
sed -e "/${XFLDNAME}/d" fonts.dir > fonts.dir.tmp
|
||||
numfonts=$(echo $(cat fonts.dir.tmp | wc -l) - 1 | bc)
|
||||
echo ${numfonts} > fonts.dir
|
||||
sed -e 1d fonts.dir.tmp >> fonts.dir
|
||||
sed -e "/^${XFLDNAME}/d" fonts.alias > fonts.alias.tmp
|
||||
mv -f fonts.alias.tmp fonts.alias
|
||||
rm -f fonts.dir.tmp
|
17
japanese/epson-ttfonts/pkg-descr
Normal file
17
japanese/epson-ttfonts/pkg-descr
Normal file
@ -0,0 +1,17 @@
|
||||
EPSON TrueTypeFontVer.3.0
|
||||
You can use these fonts if you are using following EPSON printer
|
||||
LP-9800C/9600SPD/9600S/9600/9500C/9500CZ/9400/9300/9200SX/
|
||||
9200S/9200PS2/9200/9100/9000/9000B/9000C/8900/8800CR/8800C/
|
||||
8700PS3/8700/8600FXN/8600FX/8600FN/8600F/8600/8500C/8500/
|
||||
8400FXN/8400FX/8400FN/8400F/8400/8300S/8300F/8300C/8300/
|
||||
8200PS2/8200CPD/8200C/8200/8100/8000SX/8000SE/8000S/8000C/
|
||||
8000/7900/7800C/7700/7500/7100/7000G/7000C/7000/6100/
|
||||
3000C/3000/2500/2400/2200/2000LT/2000C/2000/1900N/1900/
|
||||
1800/1700S/1700/1600/1500S/1500C/1500/1400/1300U/1300/
|
||||
1200/1000/900/800S/800
|
||||
|
||||
Including:
|
||||
MaruGothic, FutoMaruGothicB, FutoMinchotaiB, FutoGyosyotaiB
|
||||
FutoKakuGothicB, KyokasyotaiM, SeiKaisyotaiM, GyoshotaiM
|
||||
|
||||
WWW: http://www.i-love-epson.co.jp/download2/printer/driver/win/page/ttf30.htm
|
20
japanese/epson-ttfonts/pkg-install
Normal file
20
japanese/epson-ttfonts/pkg-install
Normal file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
XFLDNAME="-epson-EPSON"
|
||||
FONTNAME=epson
|
||||
FONTDIR=${PKG_PREFIX}/lib/X11/fonts/TrueType
|
||||
if [ "$2" = "PRE-INSTALL" ]; then
|
||||
echo "Please add ${FONTDIR} to your /etc/x11/xorg.conf file"
|
||||
exit 0
|
||||
fi
|
||||
cd ${FONTDIR}
|
||||
touch fonts.dir
|
||||
sed -e "/${XFLDNAME}/d" fonts.dir > fonts.dir.tmp
|
||||
numfonts=$(echo $(cat fonts.dir.tmp fonts.dir.${FONTNAME} | wc -l) - 2 | bc)
|
||||
echo ${numfonts} > fonts.dir
|
||||
sed -e 1d fonts.dir.tmp >> fonts.dir
|
||||
sed -e 1d fonts.dir.$FONTNAME >> fonts.dir
|
||||
touch fonts.alias
|
||||
sed -e "/^${XFLDNAME}/d" fonts.alias > fonts.alias.tmp
|
||||
mv -f fonts.alias.tmp fonts.alias
|
||||
cat fonts.alias.${FONTNAME} >> fonts.alias
|
||||
rm -f fonts.dir.tmp fonts.alias.tmp
|
10
japanese/epson-ttfonts/pkg-plist
Normal file
10
japanese/epson-ttfonts/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
%%FONTSDIR%%/fonts.alias.epson
|
||||
%%FONTSDIR%%/fonts.dir.epson
|
||||
%%FONTSDIR%%/epgyobld.ttf
|
||||
%%FONTSDIR%%/epgyosho.ttf
|
||||
%%FONTSDIR%%/epkaisho.ttf
|
||||
%%FONTSDIR%%/epkgobld.ttf
|
||||
%%FONTSDIR%%/epkyouka.ttf
|
||||
%%FONTSDIR%%/epmarugo.ttf
|
||||
%%FONTSDIR%%/epmgobld.ttf
|
||||
%%FONTSDIR%%/epminbld.ttf
|
Loading…
Reference in New Issue
Block a user