aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/wordnet-fpw
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>2001-08-23 09:57:35 +0800
committertaoka <taoka@FreeBSD.org>2001-08-23 09:57:35 +0800
commit7c166880008394af922f67a4ff13c74c758cacac (patch)
tree151a64edf71390fdc1f956e832d9d4c04f772b12 /japanese/wordnet-fpw
parent1a9a885ebd7be299fb764496a17f0edbc190742a (diff)
downloadfreebsd-ports-gnome-7c166880008394af922f67a4ff13c74c758cacac.tar.gz
freebsd-ports-gnome-7c166880008394af922f67a4ff13c74c758cacac.tar.zst
freebsd-ports-gnome-7c166880008394af922f67a4ff13c74c758cacac.zip
Use the converted file on the master site
instead of converting the original file by its converting script in this port.
Diffstat (limited to 'japanese/wordnet-fpw')
-rw-r--r--japanese/wordnet-fpw/Makefile33
-rw-r--r--japanese/wordnet-fpw/distinfo3
-rw-r--r--japanese/wordnet-fpw/files/patch-aa11
-rw-r--r--japanese/wordnet-fpw/pkg-plist4
4 files changed, 11 insertions, 40 deletions
diff --git a/japanese/wordnet-fpw/Makefile b/japanese/wordnet-fpw/Makefile
index 8c18d3268315..029573904c23 100644
--- a/japanese/wordnet-fpw/Makefile
+++ b/japanese/wordnet-fpw/Makefile
@@ -8,43 +8,26 @@
PORTNAME= wordnet-fpw
PORTVERSION= ${WN_VER}.${WNFPW_VER}
CATEGORIES= japanese
-MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/wordnet/ \
- ftp://ftp.dict.org/pub/dict/pre/
-DISTNAME= wordnet-${WN_VER}-fpw${WNFPW_VER}-src
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- dict-wn-${WN_ORG_VER}-pre.tar.gz
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/wordnet/
+DISTNAME= wordnet-${WN_VER}-fpw${WNFPW_VER}
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
-
-WRKSRC= ${WRKDIR}/wordnet-${WN_VER}-fpw${WNFPW_VER}
+USE_ZIP= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/wordnet
+EXTRACT_BEFORE_ARGS= -qL
WNFPW_VER= 1.1.2
WN_VER= 1.6
-WN_ORG_VER= 1.5
-
-post-extract:
- cd ${WRKSRC}; \
- ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
- ${_DISTDIR}/dict-wn-${WN_ORG_VER}-pre.tar.gz \
- ${EXTRACT_AFTER_ARGS}; \
- ${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} wn.dict.dz > wn.dict
-do-build:
- cd ${WRKSRC}; \
- fpwmake > /dev/null; \
- fpwmake catalogs
do-install:
${MKDIR} ${PREFIX}/share/dict/wordnet-fpw/wordnet/data
- ${INSTALL_DATA} ${WRKSRC}/honmon ${PREFIX}/share/dict/wordnet-fpw/wordnet/data
+ ${INSTALL_DATA} ${WRKSRC}/wordnet/data/honmon ${PREFIX}/share/dict/wordnet-fpw/wordnet/data
${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/wordnet-fpw
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/wordnet-fpw
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wordnet-fpw
+ ${INSTALL_DATA} ${WRKSRC}/readme ${PREFIX}/share/doc/wordnet-fpw
.endif
.include <bsd.port.mk>
diff --git a/japanese/wordnet-fpw/distinfo b/japanese/wordnet-fpw/distinfo
index 1dc5d82e630b..d899ace1a741 100644
--- a/japanese/wordnet-fpw/distinfo
+++ b/japanese/wordnet-fpw/distinfo
@@ -1,2 +1 @@
-MD5 (wordnet-1.6-fpw1.1.2-src.tar.gz) = 3620a7e449efb5a3bba51b87810b757e
-MD5 (dict-wn-1.5-pre.tar.gz) = 1f6ae6284018044dbd9e3c5fae914f32
+MD5 (wordnet-1.6-fpw1.1.2.zip) = de4bb3805f9073d2dddd937146929827
diff --git a/japanese/wordnet-fpw/files/patch-aa b/japanese/wordnet-fpw/files/patch-aa
deleted file mode 100644
index 9ff88a4bd9ef..000000000000
--- a/japanese/wordnet-fpw/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.~1~ Sat Feb 26 10:20:56 2000
-+++ Makefile Mon Jun 19 13:10:21 2000
-@@ -14,7 +14,7 @@
- PACKAGE = wordnet-1.6-fpw1.1.2
- PACKAGEEXTRA = README.pkg=README
- ARCHIVEEXTRA = README.pkg
--DIR = wordnet
-+DIR = wordnet-fpw
-
- SRCDIR = .
- FPWPARSER = fpwwordnet
diff --git a/japanese/wordnet-fpw/pkg-plist b/japanese/wordnet-fpw/pkg-plist
index 8687b87b4ef0..9fc67a3303ee 100644
--- a/japanese/wordnet-fpw/pkg-plist
+++ b/japanese/wordnet-fpw/pkg-plist
@@ -1,7 +1,7 @@
-share/dict/wordnet-fpw/wordnet/data/honmon
share/dict/wordnet-fpw/catalogs
-share/doc/wordnet-fpw/README
+share/dict/wordnet-fpw/wordnet/data/honmon
@dirrm share/dict/wordnet-fpw/wordnet/data
@dirrm share/dict/wordnet-fpw/wordnet
@dirrm share/dict/wordnet-fpw
+share/doc/wordnet-fpw/readme
@dirrm share/doc/wordnet-fpw