summaryrefslogtreecommitdiff
path: root/devel/xtla/Makefile
blob: f41f7b4a8243a10f9d60260f805f5d357710e89f (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
41
42
43
44
45
46
47
48
49
50
51
52
53
# New ports collection makefile for:   xtla
# Date created:                27 June 2004
# Whom:                        Dryice Liu <dryice@liu.com.cn>
#
# $FreeBSD$
#

PORTNAME=	xtla
PORTVERSION=	20040719
PORTREVISION=	1
CATEGORIES=	devel elisp
MASTER_SITES=	http://xsteve.nit.at/prg/emacs/
PKGNAMESUFFIX=	-${EMACS_PORT_NAME}
DISTNAME=	${PORTNAME}

MAINTAINER=	dryice@liu.com.cn
COMMENT=	An Emacs front-end to tla

BUILD_DEPENDS+=	tla:${PORTSDIR}/devel/tla \
		${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/tree-widget/tree-widget.el:${PORTSDIR}/editors/tree-widget
RUN_DEPENDS=	${BUILD_DEPENDS}

EMACS_PORT_NAME?=	emacs21

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

LISPDIR=	${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-emacs=${EMACS_NAME}
USE_GMAKE=	yes
INFO=		xtla

do-install:
	${MKDIR} ${LISPDIR}
.for i in *.el *.elc
	${INSTALL_DATA} ${WRKSRC}/lisp/${i} ${LISPDIR}
.endfor
	${INSTALL_DATA} ${WRKSRC}/texinfo/xtla.info ${PREFIX}/info

.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in BINDINGS FEATURES HACKING TODO
	${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
.endfor
.endif

post-install:
	install-info --dir ${PREFIX}/info/dir ${PREFIX}/info/xtla.info

.include <bsd.port.mk>