aboutsummaryrefslogtreecommitdiffstats
path: root/editors/iiimecf/Makefile
blob: 36b17d645f13be0e89ac43e974eac7fcb060ffec (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
46
47
48
49
# New ports collection makefile for:    IIIMECF for GNU Emacs 20
# Date created:     11 Sep 2000
# Whom:         OKAZAKI Tetsurou
#
# $FreeBSD$
#

PORTNAME=   iiimecf
PORTVERSION=    0.6
CATEGORIES= editors elisp
MASTER_SITES=   ftp://ftp.kddlabs.co.jp/Japan/m17n.org/mule/IIIM/
PKGNAMESUFFIX=  -${EMACS_PORT_NAME}
DISTNAME=   IIIMECF-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Internet/Intranet Input Method Emacs Client Framework for GNU Emacs 20

BUILD_DEPENDS=  ${UN_DEFINE}:${PORTSDIR}/converters/mule-ucs-emacs20
RUN_DEPENDS=    ${UN_DEFINE}:${PORTSDIR}/converters/mule-ucs-emacs20

USE_EMACS=  yes
EMACS_PORT_NAME=    emacs20

UN_DEFINE=  ${LOCALBASE}/${EMACS_LIBDIR_WITH_VER}/site-lisp/mule-ucs/un-define.el
PLIST_SUB=  PORTDOCDIR=${PORTDOCDIR}
PORTDOCDIR= share/doc/iiimecf
IIIMECF_DESTDIR=    ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/iiimecf
EMACS_ARGS= -q --no-site-file -batch

do-build:
    cd ${WRKSRC}; \
        ${EMACS_CMD} ${EMACS_ARGS} -l iiimcf-comp.el

do-install:
    @${MKDIR} ${IIIMECF_DESTDIR}
    cd ${WRKSRC}/lisp; \
        ${INSTALL_DATA} *.el *.elc ${IIIMECF_DESTDIR}

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/${PORTDOCDIR}
    cd ${WRKSRC} ; \
    for i in lisp/ChangeLog README* ; do \
        ${INSTALL_DATA} $${i} ${PREFIX}/${PORTDOCDIR} ; \
    done
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>