cvs commit: ports/japanese Makefile ports/japanese/epson-ttfonts Makefile distinfo pkg-deinstall pkg-descr pkg-install pkg-plist ports/japanese/epson-ttfonts/files fonts.alias.epson fonts.dir.epson

Hiroki Sato hrs at FreeBSD.org
Mon Mar 28 10:51:47 PST 2005


Hiroki Sato <hrs at FreeBSD.org> wrote
  in <20050323.220300.90804777.hrs at allbsd.org>:

hr>  Agreed.  Maho, you must display the EULA precisely before/after the
hr>  installation and force the user to download manually (since EULA
hr>  restricts downloading itself).  The EULA says the following:

 ping?  I think this should be corrected before the 5.4R at least.
 Since simply downloading the distfile from out of Japan can violate
 the EULA (export controlled effectively), the standard do-fetch target
 have to be disabled.

 Probably including/displaying the EULA in this port like
 the attached patch is still a moot point.  However, considering
 the restrictions are very severe and the English version of
 the EULA is not available, I think it is worth doing so and
 the entry in ports/LEGAL should be updated, too.

-- 
| Hiroki SATO
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/epson-ttfonts/Makefile,v
retrieving revision 1.1
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$DragonFly:.*\$ -I\$Id:.*\$ -I\$Translation:.*\$ -I\$hrs:.*\$ -r1.1 Makefile
--- Makefile	19 Mar 2005 11:13:42 -0000	1.1
+++ Makefile	28 Mar 2005 17:48:22 -0000
@@ -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 at 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 @@
 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 @@
 			${FILESDIR}/fonts.dir.epson \
 			${PREFIX}/${FONTSDIR}
 	${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.mk>
+
+.include <bsd.port.post.mk>
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/japanese/epson-ttfonts/pkg-descr,v
retrieving revision 1.1
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$DragonFly:.*\$ -I\$Id:.*\$ -I\$Translation:.*\$ -I\$hrs:.*\$ -r1.1 pkg-descr
--- pkg-descr	19 Mar 2005 11:13:42 -0000	1.1
+++ pkg-descr	28 Mar 2005 17:47:54 -0000
@@ -15,3 +15,4 @@
 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
Index: files/legal.txt
===================================================================
RCS file: files/legal.txt
diff -N files/legal.txt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/legal.txt	28 Mar 2005 18:41:54 -0000
@@ -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.
+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-ports/attachments/20050329/ac9ac9ac/attachment.bin


More information about the cvs-ports mailing list