aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/migemo-xemacs21-mule/Makefile
blob: 1b5dc631ca8cfde3b3507076b3d32b099c92befb (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
# New ports collection makefile for:   Migemo (for xemacs21-mule)
# Date Created:         24 Mar 2001
# Whom:             MANTANI Nobutaka <nobutaka@nobutaka.com>
#
# $FreeBSD$
#

PKGNAMESUFFIX=  -${EMACS_PORT_NAME}
COMMENT=    Japanese incremental search tool for xemacs21-mule
MASTERDIR=      ${.CURDIR}/../../japanese/migemo
PKGDIR=         ${.CURDIR}
PLIST=          ${MASTERDIR}/pkg-plist
PKGMESSAGE=     ${MASTERDIR}/pkg-message

USE_EMACS=  yes
EMACS_PORT_NAME=    xemacs21-mule
EMACS_PACKAGESDIR=  lib/xemacs/site-packages
BUILD_DEPENDS=  ${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/apel/emu.el:${PORTSDIR}/editors/xemacs-packages
RUN_DEPENDS=    ${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/apel/emu.el:${PORTSDIR}/editors/xemacs-packages \
        migemo:${PORTSDIR}/japanese/migemo

HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \
        --with-lispdir=${PREFIX}/${EMACS_LIBDIR}/site-lisp
ALL_TARGET= migemo.elc

PLIST_SUB=  MIGEMO="@comment " ELISP=""

do-install:
    ${MKDIR} ${PREFIX}/${EMACS_LIBDIR}/site-lisp
    ${INSTALL_DATA} ${WRKSRC}/migemo.el ${PREFIX}/${EMACS_LIBDIR}/site-lisp
    ${INSTALL_DATA} ${WRKSRC}/migemo.elc ${PREFIX}/${EMACS_LIBDIR}/site-lisp
.include "${MASTERDIR}/Makefile"