aboutsummaryrefslogtreecommitdiff
path: root/japanese/web1913-fpw/Makefile
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>2000-06-23 18:29:40 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>2000-06-23 18:29:40 +0000
commitdcda47e2260347370012e59889010dbf2ae39c4d (patch)
tree8a1a63de3f364432fee12df33e026c5e81e2d8c1 /japanese/web1913-fpw/Makefile
parent1f431bc274a92e666979b27a50ad5c947c7a48f0 (diff)
downloadports-dcda47e2260347370012e59889010dbf2ae39c4d.tar.gz
ports-dcda47e2260347370012e59889010dbf2ae39c4d.zip
Notes
Diffstat (limited to 'japanese/web1913-fpw/Makefile')
-rw-r--r--japanese/web1913-fpw/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/japanese/web1913-fpw/Makefile b/japanese/web1913-fpw/Makefile
new file mode 100644
index 000000000000..ef049cba8198
--- /dev/null
+++ b/japanese/web1913-fpw/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: Web1913 - JIS X 4081 format version
+# Date created: 00/06/19
+# Whom: Satoshi Taoka <taoka@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= web1913-fpw
+PORTVERSION= ${WEB_VER}.${WEBFPW_VER}
+CATEGORIES= japanese
+MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/freepwing/fpwbooks/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}
+
+MAINTAINER= taoka@FreeBSD.org
+
+BUILD_DEPENDS= fpwmake:${PORTSDIR}/japanese/freepwing \
+ catdump:${PORTSDIR}/japanese/epwutil
+
+WRKSRC= ${WRKDIR}/web1913-fpw${WEBFPW_VER}
+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
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/dict/web-fpw/web/data
+ ${INSTALL_DATA} ${WRKSRC}/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
+.endif
+
+.include <bsd.port.mk>