diff options
-rw-r--r-- | japanese/mypaedia-fpw/Makefile | 57 | ||||
-rw-r--r-- | japanese/mypaedia-fpw/distinfo | 1 | ||||
-rw-r--r-- | japanese/mypaedia-fpw/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/mypaedia-fpw/pkg-descr | 10 | ||||
-rw-r--r-- | japanese/mypaedia-fpw/pkg-plist | 17 |
5 files changed, 86 insertions, 0 deletions
diff --git a/japanese/mypaedia-fpw/Makefile b/japanese/mypaedia-fpw/Makefile new file mode 100644 index 000000000000..075c2be14f22 --- /dev/null +++ b/japanese/mypaedia-fpw/Makefile @@ -0,0 +1,57 @@ +# New ports collection makefile for: mypaedia - JIS X 4081 format version +# Date created: 00/02/21 +# Whom: Satoshi Taoka <taoka@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= mypaedia-fpw +PORTVERSION= 1.4 +CATEGORIES= japanese +MASTER_SITES= http://openlab.ring.gr.jp/edict/mypaedia-fpw/ +DISTNAME= mypaedia-fpw${PORTVERSION}-src + +MAINTAINER= taoka@FreeBSD.org + +BUILD_DEPENDS= fpwmake:${PORTSDIR}/japanese/freepwing \ + catdump:${PORTSDIR}/japanese/epwutil \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode + +IS_INTERACTIVE= YES +RESTRICTED= "The original dictionary is not free" +WRKSRC= ${WRKDIR}/mypaedia-fpw${PORTVERSION} +MOUNT_PT?= /cdrom + +post-extract: + @if [ ! -f ${MOUNT_PT}/INDEX/ITEM.DAT ]; then \ + ${ECHO} "###################################################"; \ + ${ECHO} "Specify a mount point for Mypaedia's CD-ROM"; \ + ${ECHO} "and excecute the following command again:"; \ + ${ECHO} " make MOUNT_PT=${MOUNT_PT}"; \ + ${ECHO} "###################################################"; \ + ${FALSE}; \ + fi + +do-build: +# cd ${WRKSRC}; fpwmake SRCDIR=${MOUNT_PT} > /dev/null; \ + cd ${WRKSRC}; fpwmake SRCDIR=${MOUNT_PT}; \ + fpwmake catalogs + +do-install: + ${MKDIR} ${PREFIX}/share/dict/mypaedia-fpw/mypaedia/data + ${MKDIR} ${PREFIX}/share/dict/mypaedia-fpw/mypaedia/gaiji + ${INSTALL_DATA} ${WRKSRC}/honmon \ + ${PREFIX}/share/dict/mypaedia-fpw/mypaedia/data + ${INSTALL_DATA} ${WRKSRC}/gai16f \ + ${PREFIX}/share/dict/mypaedia-fpw/mypaedia/gaiji + ${INSTALL_DATA} ${WRKSRC}/gai16h \ + ${PREFIX}/share/dict/mypaedia-fpw/mypaedia/gaiji + ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/mypaedia-fpw +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/mypaedia-fpw +.for file in README.TXT README.PKG AUTHORS COPYING ChangeLog GAIJI.TXT TOBEDONE NEWS + ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/mypaedia-fpw +.endfor +.endif + +.include <bsd.port.mk> diff --git a/japanese/mypaedia-fpw/distinfo b/japanese/mypaedia-fpw/distinfo new file mode 100644 index 000000000000..bcf1cb3d4ade --- /dev/null +++ b/japanese/mypaedia-fpw/distinfo @@ -0,0 +1 @@ +MD5 (mypaedia-fpw1.4-src.tar.gz) = c27585fa46e6c33632c4a1bffd984c17 diff --git a/japanese/mypaedia-fpw/pkg-comment b/japanese/mypaedia-fpw/pkg-comment new file mode 100644 index 000000000000..6a479682f941 --- /dev/null +++ b/japanese/mypaedia-fpw/pkg-comment @@ -0,0 +1 @@ +An encyclopedia "Mypaedia" (EPWING V1 format) diff --git a/japanese/mypaedia-fpw/pkg-descr b/japanese/mypaedia-fpw/pkg-descr new file mode 100644 index 000000000000..cc33b488bc02 --- /dev/null +++ b/japanese/mypaedia-fpw/pkg-descr @@ -0,0 +1,10 @@ +"Mypaedia" is the encyclopedia produced by HITACHI DIGITAL HEIBONSHA. +This is a dictionary converted from the original one into JIS X 4081 +format (that is a subset of EPWING V1) by FreePWING. So it can be used +by EPWING viewers on Unix and the other OS (e.g. Windows or MacOS). + +o URL for HITACHI DIGITAL HEIBONSHA: + http://www.hdh.co.jp/ + +o URL for this converted dictionary: +WWW: http://openlab.ring.gr.jp/edict/mypaedia-fpw/ diff --git a/japanese/mypaedia-fpw/pkg-plist b/japanese/mypaedia-fpw/pkg-plist new file mode 100644 index 000000000000..710899010a24 --- /dev/null +++ b/japanese/mypaedia-fpw/pkg-plist @@ -0,0 +1,17 @@ +share/dict/mypaedia-fpw/mypaedia/data/honmon +share/dict/mypaedia-fpw/mypaedia/gaiji/gai16f +share/dict/mypaedia-fpw/mypaedia/gaiji/gai16h +share/dict/mypaedia-fpw/catalogs +share/doc/mypaedia-fpw/AUTHORS +share/doc/mypaedia-fpw/COPYING +share/doc/mypaedia-fpw/ChangeLog +share/doc/mypaedia-fpw/GAIJI.TXT +share/doc/mypaedia-fpw/NEWS +share/doc/mypaedia-fpw/README.PKG +share/doc/mypaedia-fpw/README.TXT +share/doc/mypaedia-fpw/TOBEDONE +@dirrm share/dict/mypaedia-fpw/mypaedia/data +@dirrm share/dict/mypaedia-fpw/mypaedia/gaiji +@dirrm share/dict/mypaedia-fpw/mypaedia +@dirrm share/dict/mypaedia-fpw +@dirrm share/doc/mypaedia-fpw |