freebsd-ports/japanese/migemo-emacs22/Makefile
2010-01-27 17:05:16 +00:00

34 lines
1.1 KiB
Makefile

# New ports collection makefile for: Migemo (for emacs)
# Date created: 4 August 2007
# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org>
#
# $FreeBSD$
#
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
COMMENT= Japanese incremental search tool for emacs
MASTERDIR= ${.CURDIR}/../../japanese/migemo
PKGDIR= ${.CURDIR}
PLIST= ${MASTERDIR}/pkg-plist
PKGMESSAGE= ${MASTERDIR}/pkg-message
USE_EMACS= yes
EMACS_PORT_NAME= emacs22
BUILD_DEPENDS= ${LOCALBASE}/${EMACS_LIBDIR_WITH_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT_NAME}
RUN_DEPENDS= ${LOCALBASE}/${EMACS_LIBDIR_WITH_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT_NAME} \
migemo:${PORTSDIR}/japanese/migemo
CONFLICTS= ja-migemo-emacs23-[0-9]* \
ja-migemo-emacs21-[0-9]*
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-emacs=${EMACS_CMD}
ALL_TARGET= migemo.elc
PLIST_SUB= MIGEMO="@comment " ELISP=""
SLAVE_PORT= yes
do-install:
${INSTALL_DATA} ${WRKSRC}/migemo.el ${PREFIX}/${EMACS_LIBDIR}/site-lisp
${INSTALL_DATA} ${WRKSRC}/migemo.elc ${PREFIX}/${EMACS_LIBDIR}/site-lisp
.include "${MASTERDIR}/Makefile"