japanese/eijiro-fpw: Remove port
Needs restricted access to upstream source code
This commit is contained in:
@@ -103,6 +103,7 @@ graphics/linplasma
|
||||
graphics/synfigstudio
|
||||
graphics/xnview
|
||||
japanese/another-htmllint
|
||||
japanese/eijiro-fpw
|
||||
japanese/kbanner
|
||||
japanese/waeijiro-fpw
|
||||
java/jdk11-doc
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
SUBDIR += edict
|
||||
SUBDIR += edict-fpw
|
||||
SUBDIR += edyvalue
|
||||
SUBDIR += eijiro-fpw
|
||||
SUBDIR += epwutil
|
||||
SUBDIR += esecanna
|
||||
SUBDIR += esecanna-module-vje25
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
PORTNAME= eijiro-fpw
|
||||
PORTVERSION= 1.0b
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= japanese
|
||||
MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/eijiro/ \
|
||||
ftp://relay1.tomsk.gov.ru/pub/FreeBSD/ports/distfiles/
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION}-src
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= EIJIRO English - Japanese Dictionary (EPWING V1 format)
|
||||
WWW= http://openlab.ring.gr.jp/edict/fpw/
|
||||
|
||||
# Converted from RESTRICTED
|
||||
LICENSE= eijiro-fpw
|
||||
LICENSE_NAME= eijiro-fpw
|
||||
LICENSE_TEXT= The original dictionary is not free
|
||||
LICENSE_PERMS= auto-accept
|
||||
|
||||
EXTRACT_DEPENDS=${LOCALBASE}/share/freepwing/fpwutils.mk:japanese/freepwing \
|
||||
lha:archivers/lha
|
||||
BUILD_DEPENDS= ${LOCALBASE}/libexec/freepwing/catdump:japanese/freepwing \
|
||||
ja-p5-Jcode>=0:japanese/p5-Jcode
|
||||
|
||||
MANUAL_PACKAGE_BUILD= Needs data from CDROM
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
USES= dos2unix gmake perl5
|
||||
DOS2UNIX_FILES= Makefile
|
||||
WRKSRC= ${WRKDIR}/eijiro-fpw${PORTVERSION}
|
||||
PORTDOCS= readme.sjis
|
||||
DICT_PATH?= /cdrom
|
||||
SRCFILE?= eijiro52.txt
|
||||
|
||||
PLIST_FILES= share/dict/eijiro-fpw/eijiro/data/honmon \
|
||||
share/dict/eijiro-fpw/catalogs
|
||||
|
||||
# For eijiro included in a book sold by ALC Inc.
|
||||
# (http://www.alc.co.jp/alcshop/eng/eijiro/)
|
||||
# Avoid copying uncompressed srcfile, it is > 50Mb
|
||||
|
||||
.if exists(${DICT_PATH}/${SRCFILE}) # uncompressed
|
||||
SOURCE_FILE= ${DICT_PATH}/${SRCFILE}
|
||||
.else # assume decompression works
|
||||
SOURCE_FILE= ${WRKDIR}/${SRCFILE}
|
||||
.endif
|
||||
MAKE_ARGS+= SRCFILE=${SOURCE_FILE:Q}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-extract:
|
||||
@if [ -f ${DICT_PATH}/eijiro-original/*.exe ]; then \
|
||||
lha xiw=${WRKDIR} ${DICT_PATH}/eijiro-original/*.exe '*/${SRCFILE}'; \
|
||||
fi
|
||||
@if [ ! -f ${SOURCE_FILE:Q} ]; then \
|
||||
${ECHO} "###################################################"; \
|
||||
${ECHO} "I cannot find a file ${DICT_PATH}/${SRCFILE}"; \
|
||||
${ECHO} "Specify the Eijiro 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/freepwing/fpwutils.mk ${WRKSRC}
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC}; ${CP} catalogs.sjis catalogs.txt; \
|
||||
${SETENV} CATDUMPFLAGS="-e sjis" fpwmake catalogs
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/eijiro-fpw/eijiro/data \
|
||||
${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/honmon \
|
||||
${STAGEDIR}${PREFIX}/share/dict/eijiro-fpw/eijiro/data
|
||||
${INSTALL_DATA} ${WRKSRC}/catalogs \
|
||||
${STAGEDIR}${PREFIX}/share/dict/eijiro-fpw
|
||||
${INSTALL_DATA} ${WRKSRC}/readme.sjis ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,2 +0,0 @@
|
||||
SHA256 (eijiro-fpw1.0b-src.tar.gz) = 524321bb4820a439f6575444e9f1f1def31158403654a0bec8cc862d2419be1a
|
||||
SIZE (eijiro-fpw1.0b-src.tar.gz) = 14428
|
||||
@@ -1,11 +0,0 @@
|
||||
--- Makefile.orig Sun Oct 8 14:40:55 2000
|
||||
+++ Makefile Mon Jun 13 11:55:22 2005
|
||||
@@ -47,7 +47,7 @@
|
||||
DIR = eijiro
|
||||
|
||||
FPWPARSER = eijiro-fpw.pl
|
||||
-FPWPARSERFLAGS = -- --charset=${CHARSET} ${SRCFILE}
|
||||
+FPWPARSERFLAGS = -c "${CHARSET}" "${SRCFILE}"
|
||||
|
||||
# fpwutils.mk must be located in one of the make include directories or
|
||||
# you should user -I option.
|
||||
@@ -1,14 +0,0 @@
|
||||
Eijiro 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:
|
||||
-- S.TAOKA
|
||||
Reference in New Issue
Block a user