diff options
author | taoka <taoka@FreeBSD.org> | 2002-09-13 13:51:56 +0800 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 2002-09-13 13:51:56 +0800 |
commit | 9cf8aa2f01668e0d66a6382c8f8683085dc41ce1 (patch) | |
tree | ab50071320dbbf8d17c34b8cb2774ad10ce9f9cc /japanese | |
parent | f0672dcefb9744642f1fcda0cacdfcd194ef2eb2 (diff) | |
download | freebsd-ports-gnome-9cf8aa2f01668e0d66a6382c8f8683085dc41ce1.tar.gz freebsd-ports-gnome-9cf8aa2f01668e0d66a6382c8f8683085dc41ce1.tar.zst freebsd-ports-gnome-9cf8aa2f01668e0d66a6382c8f8683085dc41ce1.zip |
New port: WAEIJIRO Japanese - English Dictionary (EPWING V1 format)
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/waeijiro-fpw/Makefile | 55 | ||||
-rw-r--r-- | japanese/waeijiro-fpw/distinfo | 1 | ||||
-rw-r--r-- | japanese/waeijiro-fpw/files/patch-aa | 18 | ||||
-rw-r--r-- | japanese/waeijiro-fpw/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/waeijiro-fpw/pkg-descr | 16 | ||||
-rw-r--r-- | japanese/waeijiro-fpw/pkg-plist | 7 |
7 files changed, 99 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index e4bb81bab113..b63789ccb508 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -396,6 +396,7 @@ SUBDIR += w3 SUBDIR += w3m SUBDIR += w3m-img + SUBDIR += waeijiro-fpw SUBDIR += wdic-fpw SUBDIR += weather-emacs20 SUBDIR += web1913-fpw diff --git a/japanese/waeijiro-fpw/Makefile b/japanese/waeijiro-fpw/Makefile new file mode 100644 index 000000000000..b53758e095b2 --- /dev/null +++ b/japanese/waeijiro-fpw/Makefile @@ -0,0 +1,55 @@ +# New ports collection makefile for: WAEIJIRO Dictionary - JIS X 4081 version +# Date created: 2002.9.9 +# Whom: Satoshi Taoka <taoka@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= waeijiro-fpw +PORTVERSION= 1.0 +CATEGORIES= japanese +#MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/eijiro/ +MASTER_SITES= http://www.dsl.gr.jp/~tf/ +#DISTNAME= ${PORTNAME}${PORTVERSION}-src + +MAINTAINER= taoka@FreeBSD.org + +BUILD_DEPENDS= ${LOCALBASE}/share/doc/freepwing/fpwutils.mk:${PORTSDIR}/japanese/freepwing \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode + +RESTRICTED= "The original dictionary is not free" +NO_PACKAGE= "The original dictionary is not free" +USE_GMAKE= yes +DICT_PATH?= /cdrom +SRCFILE?= waeiji52.txt +MAKE_ENV= SRC_DICT=${DICT_PATH}/${SRCFILE} + +post-extract: + @if [ ! -f ${DICT_PATH}/${SRCFILE} ]; then \ + ${ECHO} "###################################################"; \ + ${ECHO} "I cannot find a file ${DICT_PATH}/${SRCFILE}"; \ + ${ECHO} "Specify the Waeijiro Dictionary file with the full path"; \ + ${ECHO} "and excecute the following command again:"; \ + ${ECHO} " make DICT_PATH=${DICT_PATH} SRCFILE=${SRCFILE}"; \ + ${ECHO} ""; \ + ${ECHO} "Notice: DICT_PATH must be a full path to the file."; \ + ${ECHO} "###################################################"; \ + ${FALSE}; \ + fi + ${CP} ${LOCALBASE}/share/doc/freepwing/fpwutils.mk ${WRKSRC} + +post-build: + cd ${WRKSRC}; fpwmake catalogs + +do-install: + ${MKDIR} ${PREFIX}/share/dict/waeijiro-fpw/waeijiro/data + ${INSTALL_DATA} ${WRKSRC}/honmon ${PREFIX}/share/dict/waeijiro-fpw/waeijiro/data + ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/waeijiro-fpw +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/waeijiro-fpw +.for i in README + ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/waeijiro-fpw +.endfor +.endif + +.include <bsd.port.mk> diff --git a/japanese/waeijiro-fpw/distinfo b/japanese/waeijiro-fpw/distinfo new file mode 100644 index 000000000000..14b8b2fed43f --- /dev/null +++ b/japanese/waeijiro-fpw/distinfo @@ -0,0 +1 @@ +MD5 (waeijiro-fpw-1.0.tar.gz) = 3b508b3c5aa8a95a6009959c769bcc48 diff --git a/japanese/waeijiro-fpw/files/patch-aa b/japanese/waeijiro-fpw/files/patch-aa new file mode 100644 index 000000000000..eb63c24ba0e8 --- /dev/null +++ b/japanese/waeijiro-fpw/files/patch-aa @@ -0,0 +1,18 @@ +--- Makefile.~1~ Wed Mar 27 19:32:34 2002 ++++ Makefile Mon Sep 9 14:00:51 2002 +@@ -1,10 +1,13 @@ +-SRC_DICT=/dose/tmp/dic/waeiji52.txt ++ifeq (,${SRC_DICT}) ++SRC_DICT = waeiji52.txt ++endif ++#SRC_DICT=/dose/tmp/dic/waeiji52.txt + INSTALLDIR=/home/dict + DIR=WAEIJIRO + + # don't modify below + + FPWPARSER = waeijiro-fpw.pl +-FPWPARSERFLAGS = $(SRC_DICT) ++FPWPARSERFLAGS = -- $(SRC_DICT) + + include fpwutils.mk diff --git a/japanese/waeijiro-fpw/pkg-comment b/japanese/waeijiro-fpw/pkg-comment new file mode 100644 index 000000000000..4658b9d20611 --- /dev/null +++ b/japanese/waeijiro-fpw/pkg-comment @@ -0,0 +1 @@ +WAEIJIRO English - Japanese Dictionary (EPWING V1 format) diff --git a/japanese/waeijiro-fpw/pkg-descr b/japanese/waeijiro-fpw/pkg-descr new file mode 100644 index 000000000000..9a2fc050ee17 --- /dev/null +++ b/japanese/waeijiro-fpw/pkg-descr @@ -0,0 +1,16 @@ +Waeijiro is a dictionary compiled by E.D.P. For details, such as how to +obtain the whole data, visit EDP's Web site. + + http://member.nifty.ne.jp/eijiro/ + +-- E.D.P. + +Data in this port are converted from the original dictionary into JIS +X 4081 format (that is a subset of EPWING V1) by FreePWING. So this +can be used by EPWING viewers on Unix and the other OS (e.g. Windows +or MacOS). + +o URL for this converted dictionary: +WWW: http://www.dsl.gr.jp/~tf/ + +-- S.TAOKA diff --git a/japanese/waeijiro-fpw/pkg-plist b/japanese/waeijiro-fpw/pkg-plist new file mode 100644 index 000000000000..483f1d065bdc --- /dev/null +++ b/japanese/waeijiro-fpw/pkg-plist @@ -0,0 +1,7 @@ +share/dict/waeijiro-fpw/waeijiro/data/honmon +share/dict/waeijiro-fpw/catalogs +@dirrm share/dict/waeijiro-fpw/waeijiro/data +@dirrm share/dict/waeijiro-fpw/waeijiro +@dirrm share/dict/waeijiro-fpw +share/doc/waeijiro-fpw/README +@dirrm share/doc/waeijiro-fpw |