summaryrefslogtreecommitdiffstats
path: root/devel/xtla/Makefile
blob: 5e8973917279fb1a6bed9bc7bb6b4630bbbd8961 (plain)
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
# Created by: Dryice Liu <dryice@liu.com.cn>
# $FreeBSD$

PORTNAME=	xtla
PORTVERSION=	1.2.1
PORTREVISION=	15
PORTEPOCH=	1
CATEGORIES=	devel elisp
MASTER_SITES=	http://download.gna.org/xtla-el/ \
		http://dryice.name/computer/FreeBSD/distfiles/
PKGNAMESUFFIX=	-${EMACS_PORT_NAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Emacs front-end to tla

BROKEN=		Fails to package

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

USE_EMACS=	yes

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

HAS_CONFIGURE=	yes
CONFIGURE_ARGS+=	--with-emacs=${EMACS_NAME} --with-diff=gdiff --with-patch=gpatch
USES=		gmake makeinfo
INFO=		xtla

OPTIONS_DEFINE=	DOCS

do-install:
	@${MKDIR} ${LISPDIR}
	(cd ${WRKSRC}/lisp && ${INSTALL_DATA} *.el *.elc ${LISPDIR})
	${INSTALL_DATA} ${WRKSRC}/texinfo/xtla.info ${STAGEDIR}${PREFIX}/info
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC}/docs && ${INSTALL_DATA} ANNOUNCEMENTS BINDINGS FEATURES \
		HACKING TODO ${STAGEDIR}${DOCSDIR})

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud