blob: ed899e1f4124b2f84c5f8f3ce47eb1cca528e5e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# 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= 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}
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
# 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}/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>
|