aboutsummaryrefslogtreecommitdiff
path: root/japanese/boiled-mozc/Makefile
blob: 9ff1ff3b8065561b63f0771318c4984072554786 (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
PORTNAME=	boiled-mozc
PORTVERSION=	0.7
DISTVERSIONPREFIX=v
PORTREVISION=	12
CATEGORIES=	japanese editors elisp
PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}

MAINTAINER=	ume@FreeBSD.org
COMMENT=	Wrapper to mozc.el that offers modeless ("boil"ed) input style
WWW=		https://github.com/tadanagao/boiled-mozc

LICENSE=	BSD2CLAUSE

BUILD_DEPENDS=	ja-mozc-el${EMACS_PKGNAMESUFFIX}>0:japanese/mozc-el@${EMACS_FLAVOR}
RUN_DEPENDS=	ja-mozc-el${EMACS_PKGNAMESUFFIX}>0:japanese/mozc-el@${EMACS_FLAVOR}

USES=		emacs
USE_GITHUB=	yes
GH_ACCOUNT=	tadanagao

PLIST_FILES=	${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}.el \
		${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}.elc

do-build:
	@(cd ${WRKSRC} && ${EMACS_CMD} -batch -q -no-site-file -no-init-file \
		-f batch-byte-compile ${PORTNAME}.el)

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.el \
		${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.elc \
		${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}

.include <bsd.port.mk>