aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/wnn7egg/Makefile
blob: a168a3bfb82c26563c31ad52983690df584003b9 (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
37
38
39
40
41
42
# Created by: Satoshi Taoka <taoka@FreeBSD.org>
# $FreeBSD$

PORTNAME=   wnn7egg
PORTVERSION=    1.02
#PORTREVISION=  1
CATEGORIES= japanese elisp
MASTER_SITES=   http://www.omronsoft.co.jp/SP/pcunix/wnn7/support/modules/wnn7egg/
DISTNAME=   wnn7-elisp-el-1.02-1
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Wnn7 elisp client

EMACSDIR=   ${STAGEDIR}${PREFIX}/share/emacs/site-lisp
ELISPDIR=   ${EMACSDIR}/wnn7egg
SITEPKGDIR= ${STAGEDIR}${PREFIX}/lib/xemacs/site-packages
XELISPDIR=  ${SITEPKGDIR}/lisp/wnn7egg
DOCSDIR=    ${PREFIX}/share/doc/wnn7egg
MANIFEST=   MANIFEST.wnn7egg
WRKSRC=     ${WRKDIR}/wnn7/elisp

NO_BUILD=   yes

PORTDOCS=   README Setup_wnn7egg

OPTIONS_DEFINE= DOCS

do-install:
    ${MKDIR} ${ELISPDIR} ${XELISPDIR}
    ${MKDIR} ${ELISPDIR}/its-v309 ${XELISPDIR}/its-v309
    ${INSTALL_DATA} ${WRKSRC}/emacs20/*.el ${ELISPDIR}
    ${INSTALL_DATA} ${WRKSRC}/emacs20/its-v309/*.el ${ELISPDIR}/its-v309

    ${INSTALL_DATA} ${WRKSRC}/emacs20/eggrc-wnn7 ${ELISPDIR}
    ${INSTALL_DATA} ${WRKSRC}/xemacs21/*.el ${XELISPDIR}
    ${INSTALL_DATA} ${WRKSRC}/xemacs21/its-v309/*.el ${XELISPDIR}/its-v309
    ${INSTALL_DATA} ${WRKSRC}/xemacs21/eggrc-wnn7 ${XELISPDIR}
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>