summaryrefslogtreecommitdiff
path: root/japanese/migemo-xemacs21-mule/Makefile
blob: 0c5ad1fd18e928c7af4c4f6e4286a4020ac7bc04 (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
# 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}

MASTERDIR=      ${.CURDIR}/../../japanese/migemo
PKGDIR=         ${.CURDIR}
PLIST=          ${MASTERDIR}/pkg-plist
PKGMESSAGE=     ${MASTERDIR}/pkg-message

EMACS_PORT_NAME=	xemacs21-mule
EMACS_PACKAGESDIR=	lib/xemacs/site-packages
BUILD_DEPENDS=	${LOCALBASE}/${EMACS_PACKAGESDIR}/lisp/apel/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT_NAME}
RUN_DEPENDS=	${LOCALBASE}/${EMACS_PACKAGESDIR}/lisp/apel/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT_NAME} \
		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/migemo
	${INSTALL_DATA} ${WRKSRC}/migemo.el ${PREFIX}/${EMACS_LIBDIR}/site-lisp
	${INSTALL_DATA} ${WRKSRC}/migemo.elc ${PREFIX}/${EMACS_LIBDIR}/site-lisp

post-install:
	@${CAT} ${PKGMESSAGE}

.include "${MASTERDIR}/Makefile"