summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2005-03-29 01:33:48 +0000
committerMaho Nakata <maho@FreeBSD.org>2005-03-29 01:33:48 +0000
commitb75555ff90ff8eda9862341fbb8fe075ad578a49 (patch)
tree06980581ddb09d98ea0ea1db4d5c38ace8257ec6 /japanese
parentFix build (diff)
Display EULA and do not fetch automatically etc.
so that comply EULA. Submitted by: hrs Approved by: portmgr (marcus)
Notes
Notes: svn path=/head/; revision=132108
Diffstat (limited to 'japanese')
-rw-r--r--japanese/epson-ttfonts/Makefile22
-rw-r--r--japanese/epson-ttfonts/files/legal.txt38
-rw-r--r--japanese/epson-ttfonts/pkg-descr1
3 files changed, 57 insertions, 4 deletions
diff --git a/japanese/epson-ttfonts/Makefile b/japanese/epson-ttfonts/Makefile
index 1cb6cf611a00..861e95d805a5 100644
--- a/japanese/epson-ttfonts/Makefile
+++ b/japanese/epson-ttfonts/Makefile
@@ -6,14 +6,15 @@
PORTNAME= epson-ttfonts
PORTVERSION= 3.0.20050220
+PORTREVISION= 1
CATEGORIES= japanese x11-fonts
-MASTER_SITES= http://www2.i-love-epson.co.jp/download/printer/driver/win/page/
+MASTER_SITES= # empty
DISTNAME= ${EPSONFONTS}
-EXTRACT_SUFX=.exe
+EXTRACT_SUFX= .exe
DIST_SUBDIR= epson
MAINTAINER= maho@FreeBSD.org
-COMMENT= EPSON TrueTypeFontVer.3.0, only usable with EPSON printer
+COMMENT= EPSON TrueTypeFontVer.3.0
RESTRICTED= "Redistribution not permitted; only usable with EPSON printer."
NO_CDROM= Redistribution not permitted in any form
@@ -28,6 +29,18 @@ FONTSDIR= lib/X11/fonts/TrueType
MAKE_ENV= FONTSDIR=${FONTSDIR}
PLIST_SUB= FONTSDIR=${FONTSDIR}
+LEGAL_SUB= DISTDIR=${DISTDIR} \
+ DIST_SUBDIR=${DIST_SUBDIR} \
+ DIST_FILE=${DISTNAME}${EXTRACT_SUFX}
+
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX})
+ECHO_MSG= ${PRINTF}
+IGNORE!= ${SED} ${LEGAL_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
+ -e s,$$,\\\\n, < ${FILESDIR}/legal.txt
+.endif
+
do-extract:
@${MKDIR} ${WRKDIR}
@cd ${WRKDIR} ; \
@@ -48,4 +61,5 @@ do-install:
${FILESDIR}/fonts.dir.epson \
${PREFIX}/${FONTSDIR}
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.mk>
+
+.include <bsd.port.post.mk>
diff --git a/japanese/epson-ttfonts/files/legal.txt b/japanese/epson-ttfonts/files/legal.txt
new file mode 100644
index 000000000000..852d20590659
--- /dev/null
+++ b/japanese/epson-ttfonts/files/legal.txt
@@ -0,0 +1,38 @@
+
+Because of licensing restrictions, you must fetch the source distribution
+manually. Read and accept the End User License Agreement in the
+following URLs, and then download the distfile and put it into
+%%DISTDIR%%/%%DIST_SUBDIR%% manually.
+
+ EULA (in Japanese only):
+ http://www.i-love-epson.co.jp/products/download/dl_chuui.htm
+ http://www.i-love-epson.co.jp/download/printer/driver/win/page/ttf30.htm
+
+ distfile:
+ http://www2.i-love-epson.co.jp/download/printer/driver/win/page/%%DIST_FILE%%
+
+For non-Japanese people:
+
+ This fontset requires the following:
+
+ 1) You must have the supported platforms:
+ Microsoft Windows 95/98/Me/2000/XP/Server 2003 Japanese edition
+ Microsoft WindowsNT 3.51/4.0 Japanese edition
+
+ 2) You can download/use this fontset for the supported
+ printers only:
+ 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
+
+ 3) You can download/use this fontset within Japan only.
+
+ 4) Redistribution, commercial use, and/or modification of this fontset
+ are not permitted in any form.
+
diff --git a/japanese/epson-ttfonts/pkg-descr b/japanese/epson-ttfonts/pkg-descr
index 4cbb95635202..dd27af968978 100644
--- a/japanese/epson-ttfonts/pkg-descr
+++ b/japanese/epson-ttfonts/pkg-descr
@@ -15,3 +15,4 @@ MaruGothic, FutoMaruGothicB, FutoMinchotaiB, FutoGyosyotaiB
FutoKakuGothicB, KyokasyotaiM, SeiKaisyotaiM, GyoshotaiM
WWW: http://www.i-love-epson.co.jp/download2/printer/driver/win/page/ttf30.htm
+WWW: http://www.i-love-epson.co.jp/products/download/dl_chuui2.htm