aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>2001-03-08 13:50:36 +0800
committertaoka <taoka@FreeBSD.org>2001-03-08 13:50:36 +0800
commit0712c50623b9e12bc322f492d20ba58333ef7049 (patch)
tree807b3f2c06338ab77b252bb0488e8aa9f0139e2b /japanese
parentfc42c1c703c09f90b5624d65ebe5ba2d0f9f8c57 (diff)
downloadfreebsd-ports-graphics-0712c50623b9e12bc322f492d20ba58333ef7049.tar.gz
freebsd-ports-graphics-0712c50623b9e12bc322f492d20ba58333ef7049.tar.zst
freebsd-ports-graphics-0712c50623b9e12bc322f492d20ba58333ef7049.zip
Before this, this port converts the original dictionary (that is not found)
to JIS X 4081 format. Now I avail the converted one which is open at http://openlab.ring.gr.jp/edict/. Obtained from: fenner's report
Diffstat (limited to 'japanese')
-rw-r--r--japanese/jargon-fpw/Makefile49
-rw-r--r--japanese/jargon-fpw/distinfo3
2 files changed, 13 insertions, 39 deletions
diff --git a/japanese/jargon-fpw/Makefile b/japanese/jargon-fpw/Makefile
index 285a9854631..2833d9be6da 100644
--- a/japanese/jargon-fpw/Makefile
+++ b/japanese/jargon-fpw/Makefile
@@ -6,56 +6,31 @@
#
PORTNAME= jargon-fpw
-PORTVERSION= ${JG_VER}.${JGFPW_VER}
+PORTVERSION= 1.1a
CATEGORIES= japanese
-MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/jargon/ \
- http://www.tuxedo.org/~esr/jargon/
-DISTNAME= jarg-fpw${JGFPW_VER}-src
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- jargon-${JG_VER}.tar.gz
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/jargon/
+DISTNAME= jarg-fpw${PORTVERSION}
MAINTAINER= taoka@FreeBSD.org
-BUILD_DEPENDS= fpwmake:${PORTSDIR}/japanese/freepwing \
- catdump:${PORTSDIR}/japanese/epwutil \
- nkf:${PORTSDIR}/japanese/nkf
-WRKSRC= ${WRKDIR}/jarg-fpw${JGFPW_VER}
-USE_GMAKE= yes
-JGFPW_VER= 1.1a
-JG_VER= 4.2.0
-FJG_VER= 420
+USE_ZIP= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/jargon
+EXTRACT_BEFORE_ARGS= -qL
-post-extract:
- cd ${WRKSRC}; \
- ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
- ${_DISTDIR}/jargon-${JG_VER}.tar.gz \
- ${EXTRACT_AFTER_ARGS}
- ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
- ${WRKSRC}/jargon-${JG_VER}/jarg${FJG_VER}.gz \
- > ${WRKSRC}/jarg${FJG_VER}
-
-post-patch:
- nkf -eSd ${WRKSRC}/catalogs.sjis > ${WRKSRC}/catalogs.txt
- ${MV} ${WRKSRC}/gaiji/halfchar.txt ${WRKSRC}/gaiji/halfchar.txt.org
- nkf -eSd ${WRKSRC}/gaiji/halfchar.txt.org > ${WRKSRC}/gaiji/halfchar.txt
-
-do-build:
- cd ${WRKSRC}; \
- fpwmake -f ${MAKEFILE} > /dev/null; \
- fpwmake -f ${MAKEFILE} catalogs
do-install:
${MKDIR} ${PREFIX}/share/dict/jargon-fpw/jargon/data
- ${INSTALL_DATA} ${WRKSRC}/honmon ${PREFIX}/share/dict/jargon-fpw/jargon/data
${MKDIR} ${PREFIX}/share/dict/jargon-fpw/jargon/gaiji
- ${INSTALL_DATA} ${WRKSRC}/gai16h ${PREFIX}/share/dict/jargon-fpw/jargon/gaiji
+ ${INSTALL_DATA} ${WRKSRC}/jargon/data/honmon ${PREFIX}/share/dict/jargon-fpw/jargon/data
+ ${INSTALL_DATA} ${WRKSRC}/jargon/gaiji/gai16h ${PREFIX}/share/dict/jargon-fpw/jargon/gaiji
${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/jargon-fpw
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/jargon-fpw
- ${INSTALL_DATA} ${WRKSRC}/readme.1st ${PREFIX}/share/doc/jargon-fpw
- ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/jargon-fpw
+.for i in readme.1st readme.txt
+ ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/jargon-fpw
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/japanese/jargon-fpw/distinfo b/japanese/jargon-fpw/distinfo
index 75b3c6f5047..20a691a164f 100644
--- a/japanese/jargon-fpw/distinfo
+++ b/japanese/jargon-fpw/distinfo
@@ -1,2 +1 @@
-MD5 (jarg-fpw1.1a-src.tar.gz) = 62e7e5fa7599f3e251db1800a888f343
-MD5 (jargon-4.2.0.tar.gz) = 2dc5deede894a837ec69db7380eea786
+MD5 (jarg-fpw1.1a.zip) = 392997048f3cead640746c419681f4d3