aboutsummaryrefslogtreecommitdiff
path: root/japanese/web1913-fpw
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>2001-08-23 01:57:35 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>2001-08-23 01:57:35 +0000
commitef25253be277ccc1a307fb868586b1d059d46e25 (patch)
tree8aee2ea4cda6deb553505b1ee2bae1fa9072c8fc /japanese/web1913-fpw
parent316868bdd88d83128935e755a195b48bb9524ba9 (diff)
downloadports-ef25253be277ccc1a307fb868586b1d059d46e25.tar.gz
ports-ef25253be277ccc1a307fb868586b1d059d46e25.zip
Use the converted file on the master site
instead of converting the original file by its converting script in this port.
Notes
Notes: svn path=/head/; revision=46672
Diffstat (limited to 'japanese/web1913-fpw')
-rw-r--r--japanese/web1913-fpw/Makefile40
-rw-r--r--japanese/web1913-fpw/distinfo3
-rw-r--r--japanese/web1913-fpw/pkg-plist4
3 files changed, 12 insertions, 35 deletions
diff --git a/japanese/web1913-fpw/Makefile b/japanese/web1913-fpw/Makefile
index adc701889e09..ce0a1c38b5e4 100644
--- a/japanese/web1913-fpw/Makefile
+++ b/japanese/web1913-fpw/Makefile
@@ -6,48 +6,26 @@
#
PORTNAME= web1913-fpw
-PORTVERSION= ${WEB_VER}.${WEBFPW_VER}
+PORTVERSION= ${WEBFPW_VER}
CATEGORIES= japanese
-MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/web1913/ \
- ftp://ftp.dict.org/pub/dict/pre/
-DISTNAME= web1913-fpw${WEBFPW_VER}-src
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- dict-web1913-${WEB_VER}-pre.tar.gz
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/web1913/
+DISTNAME= ${PORTNAME}${WEBFPW_VER}
MAINTAINER= taoka@FreeBSD.org
-BUILD_DEPENDS= fpwmake:${PORTSDIR}/japanese/freepwing \
- catdump:${PORTSDIR}/japanese/epwutil
-
-WRKSRC= ${WRKDIR}/web1913-fpw${WEBFPW_VER}
+USE_ZIP= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/web
+EXTRACT_BEFORE_ARGS= -qL
WEBFPW_VER= 1.1.1
-WEB_VER= 1.4
-
-post-extract:
- cd ${WRKSRC}; \
- ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
- ${_DISTDIR}/dict-web1913-${WEB_VER}-pre.tar.gz \
- ${EXTRACT_AFTER_ARGS}; \
- ${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} web1913.dict.dz > web1913.dict
-
-post-patch:
- cd ${WRKSRC}; \
- ${PATCH} ${PATCH_ARGS} < web1913.patch
-
-do-build:
- cd ${WRKSRC}; \
- fpwmake ;\
- fpwmake catalogs
-# fpwmake > /dev/null; \
do-install:
${MKDIR} ${PREFIX}/share/dict/web-fpw/web/data
- ${INSTALL_DATA} ${WRKSRC}/honmon ${PREFIX}/share/dict/web-fpw/web/data
+ ${INSTALL_DATA} ${WRKSRC}/web/data/honmon ${PREFIX}/share/dict/web-fpw/web/data
${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/web-fpw
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/web-fpw
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/web-fpw
+ ${INSTALL_DATA} ${WRKSRC}/readme ${PREFIX}/share/doc/web-fpw
.endif
.include <bsd.port.mk>
diff --git a/japanese/web1913-fpw/distinfo b/japanese/web1913-fpw/distinfo
index 56dcdef0a746..d640e0496354 100644
--- a/japanese/web1913-fpw/distinfo
+++ b/japanese/web1913-fpw/distinfo
@@ -1,2 +1 @@
-MD5 (web1913-fpw1.1.1-src.tar.gz) = 962484ca6c226890c38b15d03b8588c6
-MD5 (dict-web1913-1.4-pre.tar.gz) = 63a8d25ace68dff135185a8c96dd5f3c
+MD5 (web1913-fpw1.1.1.zip) = f5fa2e2af89cfe9dc7e227e6fc19b10b
diff --git a/japanese/web1913-fpw/pkg-plist b/japanese/web1913-fpw/pkg-plist
index 0575b359032f..667beb8bc936 100644
--- a/japanese/web1913-fpw/pkg-plist
+++ b/japanese/web1913-fpw/pkg-plist
@@ -1,7 +1,7 @@
-share/dict/web-fpw/web/data/honmon
share/dict/web-fpw/catalogs
-share/doc/web-fpw/README
+share/dict/web-fpw/web/data/honmon
@dirrm share/dict/web-fpw/web/data
@dirrm share/dict/web-fpw/web
@dirrm share/dict/web-fpw
+share/doc/web-fpw/readme
@dirrm share/doc/web-fpw