aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/wdic-fpw/Makefile
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>2000-07-12 13:58:10 +0800
committertaoka <taoka@FreeBSD.org>2000-07-12 13:58:10 +0800
commit6fb6ab22bf7ac215098095ab8381e91179f8b48a (patch)
tree8abeb3fb6bd35897cd95d426bf77ba50e924d858 /japanese/wdic-fpw/Makefile
parentcefcfafe41da86b45b01b0625b312d0a2ecd9339 (diff)
downloadfreebsd-ports-gnome-6fb6ab22bf7ac215098095ab8381e91179f8b48a.tar.gz
freebsd-ports-gnome-6fb6ab22bf7ac215098095ab8381e91179f8b48a.tar.zst
freebsd-ports-gnome-6fb6ab22bf7ac215098095ab8381e91179f8b48a.zip
Wired and Wireless Dictionary in Japanese (EPWING V1 format)
Diffstat (limited to 'japanese/wdic-fpw/Makefile')
-rw-r--r--japanese/wdic-fpw/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/japanese/wdic-fpw/Makefile b/japanese/wdic-fpw/Makefile
new file mode 100644
index 000000000000..a27d852b0b51
--- /dev/null
+++ b/japanese/wdic-fpw/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: wdic - JIS X 4081 format version
+# Date created: 2000.07.12
+# Whom: Satoshi Taoka <taoka@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wdic001-fpw
+PORTVERSION= 0.11
+CATEGORIES= japanese
+MASTER_SITES= http://www.wdic.org/file/ \
+ http://www.geocities.co.jp/SiliconValley-Bay/2872/
+DISTFILES= ${DICTFILES} wdc001fpw-${PORTVERSION}.tar.gz
+EXTRACT_ONLY= wdc001fpw-${PORTVERSION}.tar.gz
+
+MAINTAINER= taoka@FreeBSD.org
+
+BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf \
+ fpwmake:${PORTSDIR}/japanese/freepwing \
+ catdump:${PORTSDIR}/japanese/epwutil \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/NKF.pm:${PORTSDIR}/japanese/p5-nkf
+
+WRKSRC= ${WRKDIR}/wdc001-fpw${PORTVERSION}
+DICTFILES= wdc001a.lzh wdc001b.lzh wdc001c.lzh wdc001d.lzh wdc001e.lzh \
+ wdc001f.lzh
+ALL_TARGET= #
+
+post-extract:
+ cd ${WRKSRC}/data; \
+ for i in ${DICTFILES}; do \
+ lha xqf ${DISTDIR}/$$i; \
+ done
+# join several dictionaris
+ ${CAT} ${FILESDIR}/MOE_RAIL.H ${WRKSRC}/data/MOE[12].DIC ${WRKSRC}/data/RAIL.DIC > ${WRKSRC}/data/MOE_RAIL.DIC
+ ${RM} ${WRKSRC}/data/MOE[12].DIC ${WRKSRC}/data/RAIL.DIC
+ ${CAT} ${FILESDIR}/YOGOPASO.H ${WRKSRC}/data/YOGO.DIC ${WRKSRC}/data/PASO.DIC > ${WRKSRC}/data/YOGOPASO.DIC
+ ${RM} ${WRKSRC}/data/PASO.DIC ${WRKSRC}/data/YOGO.DIC
+ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.org
+ ${SED} 's,/usr/local/share/eb/data/wdc001,${PREFIX}/share/dict/wdc001-fpw,' \
+ ${WRKSRC}/Makefile.org > ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>