aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/wnn7egg/Makefile
blob: adc1044eb39da359972d759685dcc2c3b16fd975 (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
43
44
45
# New ports collection makefile for:    wnn7egg
# Date created:     01/07/16
# Whom:         Satoshi Taoka <taoka@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   wnn7egg
PORTVERSION=    1.02
#PORTREVISION=  1
CATEGORIES= japanese elisp
MASTER_SITES=   ftp://ftp.omronsoft.co.jp/pub/Wnn7/client/lisp/
DISTNAME=   wnn7-elisp-el-1.02-1
EXTRACT_SUFX=   .tgz

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

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

NO_BUILD=   yes

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}
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
    ${INSTALL_DATA} ${WRKSRC}/Setup_wnn7egg ${DOCSDIR}
.endif

.include <bsd.port.mk>