aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/mypaedia-fpw-package/Makefile
blob: 9223ee00265e31e1afd02e903ea9cdcef831393a (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
32
33
# Created by: Satoshi Taoka <taoka@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mypaedia-fpw-package
PORTVERSION=    1.0.7
PORTREVISION=   6
CATEGORIES= japanese elisp
MASTER_SITES=   http://openlab.ring.gr.jp/edict/fpw/dist/mypaedia/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Supplement file to use "mypaedia" on lookup

RUN_DEPENDS=    sox:audio/sox \
        timidity:audio/timidity++ \
        xanim:multimedia/xanim \
        display:graphics/ImageMagick

NO_BUILD=   yes
PLIST_SUB=  PKGNAME=${PKGNAME}

PKG_DIR=    ${STAGEDIR}${PREFIX}/share/dict/lookup-package

OPTIONS_DEFINE= DOCS

do-install:
    @${MKDIR} ${PKG_DIR}
    ${INSTALL_DATA} ${WRKSRC}/mypaedia-fpw.el ${PKG_DIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/extract-mypaedia.pl ${PKG_DIR}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog README.TXT \
        ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>