aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/boiled-mozc/Makefile
blob: 1a01aa4713550ab1291d66e19fc1505b26b4b282 (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
# $FreeBSD$

PORTNAME=   boiled-mozc
PORTVERSION=    0.7
#PORTREVISION=  0
DISTVERSIONPREFIX=v
CATEGORIES= japanese editors elisp

MAINTAINER= ume@FreeBSD.org
COMMENT=    Wrapper to mozc.el that offers modeless ("boil"ed) input style

LICENSE=    BSD2CLAUSE

BUILD_DEPENDS=  ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/mozc/mozc.el.gz:japanese/mozc-el
RUN_DEPENDS=    ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/mozc/mozc.el.gz:japanese/mozc-el

GH_ACCOUNT= tadanagao

USE_GITHUB= yes
USE_EMACS=  yes

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>