aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/elisp-info/Makefile
blob: 3c621c521c788b1bd2e81caacc2fa8058a2bb245 (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
# New ports collection makefile for:    elisp-info.el
# Date Created:     21 Jan 2002
# Whom:         Yoichi NAKAYAMA <yoichi@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   elisp-info
PORTVERSION=    2.11
CATEGORIES= japanese elisp
MASTER_SITES=   http://namazu.org/~tsuchiya/elisp/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .el

MAINTAINER= yoichi@FreeBSD.org

BUILD_DEPENDS=  ${LOCALBASE}/info/elisp-ja:${PORTSDIR}/japanese/elisp-manual
RUN_DEPENDS=    ${LOCALBASE}/info/elisp-ja:${PORTSDIR}/japanese/elisp-manual

NO_WRKSUBDIR=   yes
EXTRACT_CMD=    ${CP}
EXTRACT_BEFORE_ARGS=    -p
EXTRACT_AFTER_ARGS= ./

EMACS_PORT_NAME?=   emacs21
EMACS_NO_RUN_DEPENDS=   yes
LISPDIR?=   ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}

post-extract:
    ${CP} ${FILESDIR}/ELISP_CFG ${WRKDIR}
do-build:
    (cd ${WRKDIR}; \
    ${EMACS_CMD} -batch -l ./ELISP_CFG -l ./${PORTNAME}.el -f ${PORTNAME}-make-index)
do-install:
    ${MKDIR} ${LISPDIR}
    ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.el ${LISPDIR}
    ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-index.el ${LISPDIR}
    ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}-setup.el ${LISPDIR}

.include <bsd.port.mk>