summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/vera-fpw/Makefile46
-rw-r--r--japanese/vera-fpw/distinfo3
-rw-r--r--japanese/vera-fpw/pkg-plist8
3 files changed, 20 insertions, 37 deletions
diff --git a/japanese/vera-fpw/Makefile b/japanese/vera-fpw/Makefile
index 2821136..e16da3a 100644
--- a/japanese/vera-fpw/Makefile
+++ b/japanese/vera-fpw/Makefile
@@ -8,47 +8,29 @@
PORTNAME= vera-fpw
PORTVERSION= ${VERA_VER}.${VERAFPW_VER}
CATEGORIES= japanese
-MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/vera/ \
- ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= vera
-DISTNAME= vera-${VERA_VER}-fpw${VERAFPW_VER}-src
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- vera-${VERA_VER}.tar.gz
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/vera/
+DISTNAME= vera-${VERA_VER}-fpw${VERAFPW_VER}
MAINTAINER= taoka@FreeBSD.org
-BUILD_DEPENDS= fpwmake:${PORTSDIR}/japanese/freepwing \
- catdump:${PORTSDIR}/japanese/epwutil
-
-WRKSRC= ${WRKDIR}/vera-${VERA_VER}-fpw${VERAFPW_VER}
-VERAFPW_VER= 1.0
-VERA_VER= 1.6
-
-post-extract:
- cd ${WRKSRC}; \
- ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
- ${_DISTDIR}/vera-${VERA_VER}.tar.gz \
- ${EXTRACT_AFTER_ARGS}
-
-pre-build:
- cd ${WRKSRC}/vera-${VERA_VER}; \
- makeinfo --no-split vera.texi
-
-do-build:
- cd ${WRKSRC}; \
- fpwmake > /dev/null; \
- fpwmake catalogs
+USE_ZIP= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/vera
+EXTRACT_BEFORE_ARGS= -qL
+VERA_VER= 1.7
+VERAFPW_VER= 1.0.2
do-install:
${MKDIR} ${PREFIX}/share/dict/vera-fpw/vera/data
- ${INSTALL_DATA} ${WRKSRC}/honmon ${PREFIX}/share/dict/vera-fpw/vera/data
+ ${MKDIR} ${PREFIX}/share/dict/vera-fpw/vera/gaiji
+ ${INSTALL_DATA} ${WRKSRC}/vera/data/honmon ${PREFIX}/share/dict/vera-fpw/vera/data
+ ${INSTALL_DATA} ${WRKSRC}/vera/gaiji/gai16h ${PREFIX}/share/dict/vera-fpw/vera/gaiji
${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/vera-fpw
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/vera-fpw
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/vera-fpw
- ${INSTALL_DATA} ${WRKSRC}/vera-${VERA_VER}/vera.texi \
- ${PREFIX}/share/doc/vera-fpw
+.for i in readme.txt vera.tex
+ ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/vera-fpw
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/japanese/vera-fpw/distinfo b/japanese/vera-fpw/distinfo
index e1a86ea..dd1e379 100644
--- a/japanese/vera-fpw/distinfo
+++ b/japanese/vera-fpw/distinfo
@@ -1,2 +1 @@
-MD5 (vera-1.6-fpw1.0-src.tar.gz) = a2e5c50906b03b3e1169e635d3aae1e6
-MD5 (vera-1.6.tar.gz) = 3ad7fe02032f3ba0d69a60b5a66dbe4d
+MD5 (vera-1.7-fpw1.0.2.zip) = 693eeea3e1674475e58d5818cb37db28
diff --git a/japanese/vera-fpw/pkg-plist b/japanese/vera-fpw/pkg-plist
index 4378fa3..c5e39a2 100644
--- a/japanese/vera-fpw/pkg-plist
+++ b/japanese/vera-fpw/pkg-plist
@@ -1,8 +1,10 @@
-share/dict/vera-fpw/vera/data/honmon
share/dict/vera-fpw/catalogs
-share/doc/vera-fpw/README
-share/doc/vera-fpw/vera.texi
+share/dict/vera-fpw/vera/data/honmon
+share/dict/vera-fpw/vera/gaiji/gai16h
@dirrm share/dict/vera-fpw/vera/data
+@dirrm share/dict/vera-fpw/vera/gaiji
@dirrm share/dict/vera-fpw/vera
@dirrm share/dict/vera-fpw
+share/doc/vera-fpw/readme.txt
+share/doc/vera-fpw/vera.tex
@dirrm share/doc/vera-fpw
OpenPOWER on IntegriCloud