summaryrefslogtreecommitdiff
path: root/inputmethod/uim-elisp/Makefile
blob: 3401702c3acd53be3ecae19aab317aa18e2f67e1 (plain)
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
# $NetBSD: Makefile,v 1.11 2013/04/08 11:17:15 rodent Exp $

.include		"../../inputmethod/uim/Makefile.common"
PKGNAME=		${EMACS_PKGNAME_PREFIX}uim-elisp-${UIM_VERSION}
CATEGORIES=		inputmethod editors

COMMENT=		Emacs LISP for inputmethod/uim
LICENSE=		modified-bsd

USE_TOOLS+=		gmake intltool msgfmt pkg-config
USE_LANGUAGES=		c c++
GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--with-libgcroots=installed
CONFIGURE_ARGS+=	--with-lispdir=${EMACS_LISPPREFIX}
CONFIGURE_ARGS+=	--without-x
CONFIGURE_ARGS+=	--with-libedit=no

EMACS_MODULES=		base leim

BUILD_DIRS=		emacs

INSTALLATION_DIRS+=	share/doc/uim/emacs

post-configure:
	${LN} -s ${BUILDLINK_PREFIX.uim}/lib/libuim-scm.la ${WRKSRC}/uim
	${LN} -s ${BUILDLINK_PREFIX.uim}/lib/libuim.la ${WRKSRC}/uim

post-install:
	${INSTALL_DATA} ${WRKSRC}/emacs/README ${DESTDIR}${PREFIX}/share/doc/uim/emacs
	${INSTALL_DATA} ${WRKSRC}/emacs/README.ja ${DESTDIR}${PREFIX}/share/doc/uim/emacs

.include "../../editors/emacs/modules.mk"
.include "../../inputmethod/uim/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"