aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/yasou-fpw/Makefile
blob: b0585a69d4be685b9316a90d3a9f7c735751ddbb (plain) (blame)
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
# Created by: Hideyuki KURASHINA <rushani@FreeBSD.org>
# $FreeBSD$

PORTNAME=   yasou-fpw
PORTVERSION=    1.0.b0
CATEGORIES= japanese
MASTER_SITES=   http://openlab.jp/edict/fpw/dist/yasou/
DISTNAME=   ${PORTNAME}${PORTVERSION:S/.b0/beta0/}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Yasou picture book (EPWING V1 format) by SAS

NO_CDROM=   No commercial use, and no redistribution allowed with fee except media and/or shipping cost

USE_ZIP=    yes
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/yasou
EXTRACT_BEFORE_ARGS=    -qL

do-install:
    ${MKDIR} ${PREFIX}/share/dict/yasou-fpw/yasou/data
    ${INSTALL_DATA} ${WRKSRC}/yasou/data/honmon ${PREFIX}/share/dict/yasou-fpw/yasou/data
    ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/yasou-fpw
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for i in readme.fpw yasoufpw.txt
    ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>