freebsd-ports/japanese/wwasw-fpw/Makefile

31 lines
789 B
Makefile

# Created by: Satoshi Taoka <taoka@FreeBSD.org>
# $FreeBSD$
PORTNAME= wwasw-fpw
PORTVERSION= 1.0.2
PORTREVISION= 0
CATEGORIES= japanese
MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/wwasw/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A biographical dictionary (EPWING V1 format)
USE_ZIP= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/wwasw
EXTRACT_BEFORE_ARGS= -qL
NO_STAGE= yes
do-install:
${MKDIR} ${PREFIX}/share/dict/wwasw-fpw/wwasw/data
${INSTALL_DATA} ${WRKSRC}/wwasw/data/honmon ${PREFIX}/share/dict/wwasw-fpw/wwasw/data
${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/wwasw-fpw
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in readme.pkg readme.txt
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>