aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/weather-emacs20/Makefile
blob: 0ca7d4043db9b4a6d11eaa4d4f1745b42fd0ad5a (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
# 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.32
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
COMMENT=    Weather Report in Japanese Regions

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>