aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/diclookup-mule/Makefile
blob: 5547ec9c02c34813d72763d9151aff9623d35cb4 (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
34
35
36
37
# New ports collection makefile for:    diclookup-mule
# Date created:     31 Jan 1998
# Whom:         Mita Yoshio <mita@jp.FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   diclookup-mule
PORTVERSION=    2.3.3
CATEGORIES= japanese elisp
MASTER_SITES=   ftp://ftp.math.s.chiba-u.ac.jp/tools/diclookup-mule/

PATCH_SITES=    ${MASTER_SITES}
PATCHFILES= diclookup-mule-${PORTVERSION}-wave-patch.gz

MAINTAINER= mita@jp.FreeBSD.org
COMMENT=    CDROM dictionary client for mule

RUN_DEPENDS=    ${X11BASE}/lib/X11/fonts/non-cjk/fonts.dir:${PORTSDIR}/x11-fonts/etlfonts
BUILD_DEPENDS=  mule:${PORTSDIR}/japanese/mule-freewnn

post-install:
    ${MKDIR} ${PREFIX}/lib/dserver/doc
    @${SED} s!PREFIX_DIR!${PREFIX}!g ${FILESDIR}/setup-diclookup.sh \
                > ${PREFIX}/lib/dserver/setup-diclookup.sh
    @${SED} s!PREFIX_DIR!${PREFIX}!g ${FILESDIR}/deinstall-diclookup.sh \
                > ${PREFIX}/lib/dserver/deinstall-diclookup.sh
    ${INSTALL_DATA} ${FILESDIR}/README.diclookup-setup.txt \
                ${PREFIX}/lib/dserver/doc
    ${INSTALL_DATA} ${WRKSRC}/README \
                ${PREFIX}/lib/dserver/doc/README.diclookup-mule
    ${INSTALL_DATA} ${WRKSRC}/README.sirup \
                ${PREFIX}/lib/dserver/doc/
    ${INSTALL_DATA} ${WRKSRC}/lib/README \
            ${PREFIX}/lib/dserver/doc/README.diclookup-mule.lib

.include <bsd.port.mk>