mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
A English - Japanese Dictionary "Random House" (EPWING V1 format)
This commit is contained in:
parent
127b4ea2b0
commit
65a8ef95ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29828
57
japanese/srd-fpw/Makefile
Normal file
57
japanese/srd-fpw/Makefile
Normal file
@ -0,0 +1,57 @@
|
||||
# New ports collection makefile for: srd - JIS X 4081 format version
|
||||
# Date created: 00/06/14
|
||||
# Whom: Satoshi Taoka <taoka@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= srd-fpw
|
||||
PORTVERSION= 1.0.8
|
||||
CATEGORIES= japanese
|
||||
MASTER_SITES= http://openlab.ring.gr.jp/edict/srd-fpw/
|
||||
DISTNAME= srd-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}/srd-fpw${PORTVERSION}
|
||||
MOUNT_PT?= /cdrom
|
||||
|
||||
post-extract:
|
||||
@if [ ! -f ${MOUNT_PT}/srd.ini ]; then \
|
||||
${ECHO} "###################################################"; \
|
||||
${ECHO} "Specify a mount point for Random House'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/srd-fpw/srd-fpw/data
|
||||
${MKDIR} ${PREFIX}/share/dict/srd-fpw/srd-fpw/gaiji
|
||||
${INSTALL_DATA} ${WRKSRC}/honmon \
|
||||
${PREFIX}/share/dict/srd-fpw/srd-fpw/data
|
||||
${INSTALL_DATA} ${WRKSRC}/gai16f \
|
||||
${PREFIX}/share/dict/srd-fpw/srd-fpw/gaiji
|
||||
${INSTALL_DATA} ${WRKSRC}/gai16h \
|
||||
${PREFIX}/share/dict/srd-fpw/srd-fpw/gaiji
|
||||
${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/srd-fpw
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/srd-fpw
|
||||
.for file in README.TXT README.PKG AUTHORS COPYING ChangeLog GAIJI.TXT TOBEDONE NEWS
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/srd-fpw
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
japanese/srd-fpw/distinfo
Normal file
1
japanese/srd-fpw/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (srd-fpw1.0.8-src.tar.gz) = 41676c6728a390a60b3fe29437326dab
|
1
japanese/srd-fpw/pkg-comment
Normal file
1
japanese/srd-fpw/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A English - Japanese Dictionary "Random House" (EPWING V1 format)
|
11
japanese/srd-fpw/pkg-descr
Normal file
11
japanese/srd-fpw/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
"Random House" is the English - Japanese dictionary produced by
|
||||
Shougakukan Inc. 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 Shougakukan Inc.:
|
||||
http://ebook.shogakukan.co.jp/index.html
|
||||
|
||||
o URL for this converted dictionary:
|
||||
WWW: http://openlab.ring.gr.jp/edict/srd-fpw/
|
17
japanese/srd-fpw/pkg-plist
Normal file
17
japanese/srd-fpw/pkg-plist
Normal file
@ -0,0 +1,17 @@
|
||||
share/dict/srd-fpw/srd-fpw/data/honmon
|
||||
share/dict/srd-fpw/srd-fpw/gaiji/gai16f
|
||||
share/dict/srd-fpw/srd-fpw/gaiji/gai16h
|
||||
share/dict/srd-fpw/catalogs
|
||||
share/doc/srd-fpw/AUTHORS
|
||||
share/doc/srd-fpw/COPYING
|
||||
share/doc/srd-fpw/ChangeLog
|
||||
share/doc/srd-fpw/GAIJI.TXT
|
||||
share/doc/srd-fpw/NEWS
|
||||
share/doc/srd-fpw/README.PKG
|
||||
share/doc/srd-fpw/README.TXT
|
||||
share/doc/srd-fpw/TOBEDONE
|
||||
@dirrm share/dict/srd-fpw/srd-fpw/data
|
||||
@dirrm share/dict/srd-fpw/srd-fpw/gaiji
|
||||
@dirrm share/dict/srd-fpw/srd-fpw
|
||||
@dirrm share/dict/srd-fpw
|
||||
@dirrm share/doc/srd-fpw
|
Loading…
Reference in New Issue
Block a user