summaryrefslogtreecommitdiff
path: root/misc/elscreen/Makefile
blob: 8f673ef503b5a933f0beffa48659c3451f326d6f (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
# New ports collection makefile for:	elscreen
# Date created:		27 May 2002
# Whom:			Yoichi NAKAYAMA <yoichi@FreeBSD.org>
#
# $FreeBSD$
#

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

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

EMACS_PORT_NAME?=	emacs21
.if (${EMACS_PORT_NAME} == "emacs21")
DEPPORT_SUFFIX=	
.else
DEPPORT_SUFFIX=	-${EMACS_PORT_NAME}
.endif

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

EMACS_NO_BUILD_DEPENDS=	YES
NO_BUILD=	YES

do-install:
	${INSTALL_DATA} ${WRKSRC}/elscreen.el ${PREFIX}/${EMACS_SITE_LISPDIR}
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in ChangeLog README
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>