aboutsummaryrefslogtreecommitdiffstats
path: root/misc/elscreen/Makefile
blob: c961dfbf45e6970f72fb3074e31ac6479ef3fc0b (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
# Created by: Yoichi NAKAYAMA <yoichi@FreeBSD.org>
# $FreeBSD$

PORTNAME=   elscreen
PORTVERSION=    1.4.6
PORTREVISION=   7
CATEGORIES= misc elisp
MASTER_SITES=   ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/%SUBDIR%/
MASTER_SITE_SUBDIR= . old

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    GNU screen like utility on Emacsen

USE_EMACS=  yes
.include <bsd.port.pre.mk>
.if (${EMACS_PORT_NAME} == "emacs20")
DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
.else
DEPPORT_SUFFIX= 
.endif

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

EMACS_NO_BUILD_DEPENDS= YES
NO_BUILD=   YES

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_DATA} ${WRKSRC}/elscreen.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ChangeLog README
    ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.post.mk>