aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/sdic/Makefile
blob: 8e830f999388c12985abe9c70be8d85579dd1ab2 (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
# New ports collection makefile for:    sdic
# Date created:         09 Sep 1999
# Whom:         Kazumasa Nishizawa <kazumasa@selab.tutkie.tut.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   sdic
PORTVERSION=    2.1.2
CATEGORIES= japanese elisp
MASTER_SITES=   http://www-nagao.kuee.kyoto-u.ac.jp/member/tsuchiya/sdic/

MAINTAINER= taoka@FreeBSD.org
COMMENT=    A look up mode on Emacsen for a English - Japanese Dictionary

RUN_DEPENDS=    ${LOCALBASE}/share/dict/jedict.sdic:${PORTSDIR}/japanese/edict-sdic

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-emacs=mule \
        --with-lispdir=${PREFIX}/share/emacs/site-lisp \
        --with-dictdir=${PREFIX}/share/dict
XELISPDIR=  ${PREFIX}/lib/xemacs/site-lisp
NO_BUILD=   yes

do-install:
    ${MKDIR} ${PREFIX}/share/emacs/site-lisp
    ${MKDIR} ${PREFIX}/lib/xemacs/site-lisp
    ${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${PREFIX}/share/emacs/site-lisp
    for f in ${WRKSRC}/lisp/*.el; do \
        file=`basename $$f`; \
        ${LN} -sf ${PREFIX}/share/emacs/site-lisp/$$file \
            ${PREFIX}/lib/xemacs/site-lisp; \
    done

.include <bsd.port.mk>