aboutsummaryrefslogblamecommitdiff
path: root/japanese/migemo-emacs20/Makefile
blob: 9f6f497a78ab4e056d27b9f5d4e4dfe05e88471e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                            





                                                                

                                   



                                                
 
                               
                                                                                                                      

                                                                                                                        
 


                                         
 
                                           
 



                                                                                



                             
                                
# New ports collection makefile for:	Migemo (for emacs20)
# Date created:		19 February 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=	emacs20
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

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-emacs=${EMACS_CMD}
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"