aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/weather-emacs20/Makefile
blob: 5de05c5e7e9f095769cbb747a2ff3fa124b4c67f (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
# New ports collection makefile for:   weather
# Date Created:         5 Mar 2001
# Whom:             Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   weather
PORTVERSION=    0.31
CATEGORIES= japanese elisp
MASTER_SITES=   ftp://ftp.opaopa.org/pub/elisp/ \
        ftp://ftp.ring.gr.jp/pub/text/elisp/jaist/ftp.opaopa.org/elisp/ \
        ftp://ftp.jaist.ac.jp/pub/GNU/elisp/ftp.opaopa.org/elisp/
PKGNAMESUFFIX=  -${EMACS_PORT_NAME}

MAINTAINER= yoichi@FreeBSD.org

EMACS_PORT_NAME?=   emacs20

.if ${EMACS_PORT_NAME} != "emacs21"
PORTNAMESUFFIX= ${PKGNAMESUFFIX}
.endif

BUILD_DEPENDS=  ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emu/emu.el:${PORTSDIR}/editors/apel${PORTNAMESUFFIX}
RUN_DEPENDS=    ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emu/emu.el:${PORTSDIR}/editors/apel${PORTNAMESUFFIX}

DOCS=       README

DOCSDIR=    ${PREFIX}/share/doc/${PORTNAME}
MAKE_ARGS+= LISPDIR=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>