ports/75309: Update port: japanese/anthy Add "Okinawa Jisyo" option

Yamashiro Jun yamajun at ofug.net
Mon Dec 20 14:00:44 UTC 2004


>Number:         75309
>Category:       ports
>Synopsis:       Update port: japanese/anthy  Add "Okinawa Jisyo" option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 20 14:00:42 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Yamashiro, Jun
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
Okinawa FreeBSD Users Group
>Environment:
System: FreeBSD base.mydomain 5.3-STABLE FreeBSD 5.3-STABLE #0: Fri Dec 17 04:10:33 JST 2004 yamajun at base.mydomain:/usr/obj/usr/src/sys/GENERIC i386

>Description:
Add Okinawa Jisyo(Kana-Kanji dictionary for Okinawan people) option.
see also(in Japanese):
http://www.zukeran.org/o-dic/
http://sourceforge.jp/projects/o-dic/

and this patch using ${REINPLACE_CMD} instead of
files/extra-patch-mkanthydic:Makefile.in

>How-To-Repeat:
# cd /usr/ports/japanese/anthy
# patch -p1 < this_mail
# rm -r files
# make WITH_2CHDIC=yes WITH_ODIC=yes install

	
>Fix:

diff -ru anthy.orig/Makefile anthy/Makefile
--- anthy.orig/Makefile	Mon Dec 20 14:33:29 2004
+++ anthy/Makefile	Mon Dec 20 22:08:36 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	anthy
 PORTVERSION=	5900
+PORTREVISION=	1
 CATEGORIES=	japanese
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP}
 MASTER_SITE_SUBDIR=	${PORTNAME}/12071
@@ -29,12 +30,26 @@
 MASTER_SITES+=	http://omaemona.sourceforge.net/packages/Zisyo/:2chdic
 DISTFILES+=	2ch.t:2chdic
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
-EXTRA_PATCHES=	${PATCHDIR}/extra-patch-mkanthydic:Makefile.in
 .endif
 
-.if defined(WITH_2CHDIC)
+.if defined(WITH_ODIC)
+MASTER_SITES+=	http://www.ofug.net/~yamajun/files/:odic
+DISTFILES+=	okinawa-20041220.t:odic
+EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
+.endif
+
 post-extract:
+.if defined(WITH_2CHDIC)
 	@${CP} ${DISTDIR}/${DIST_SUBDIR}/2ch.t ${WRKSRC}/mkanthydic
+	@${REINPLACE_CMD} -e 's/base.t extra.t/base.t extra.t 2ch.t/' \
+		${WRKSRC}/mkanthydic/Makefile.in
+.endif
+
+.if defined(WITH_ODIC)
+	@${CP} ${DISTDIR}/${DIST_SUBDIR}/okinawa-20041220.t ${WRKSRC}/mkanthydic
+	@${REINPLACE_CMD} -e \
+		's/base.t extra.t/base.t extra.t okinawa-20041220.t/' \
+		${WRKSRC}/mkanthydic/Makefile.in
 .endif
 
 post-patch:
diff -ru anthy.orig/distinfo anthy/distinfo
--- anthy.orig/distinfo	Mon Dec 20 14:33:29 2004
+++ anthy/distinfo	Mon Dec 20 22:05:48 2004
@@ -2,3 +2,5 @@
 SIZE (anthy/anthy-5900.tar.gz) = 1566783
 MD5 (anthy/2ch.t) = d253bec53045cec3ba40f69a63f76612
 SIZE (anthy/2ch.t) = 142157
+MD5 (anthy/okinawa-20041220.t) = 0a732577fee039362d1d392b742d67ae
+SIZE (anthy/okinawa-20041220.t) = 145992
Only in anthy.orig: files
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list