aboutsummaryrefslogtreecommitdiff
path: root/lang/ocaml-mode.el/Makefile
blob: bcab7e7eb794490ad21450741a112199431433e6 (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
# New ports collection makefile for:	caml-mode.el
# Date created:		23 October 2001
# Whom:			J Koshy <jkoshy@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=	caml-mode
PORTVERSION=	3.01
PORTREVISION=	3
CATEGORIES=	lang elisp
MASTER_SITES=	http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/ \
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	jkoshy
DISTNAME=	ocaml-mode-3.01

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An EMACS mode for editing OCaml programs

BUILD_DEPENDS=	emacs:${PORTSDIR}/editors/emacs
RUN_DEPENDS=	emacs:${PORTSDIR}/editors/emacs

NO_BUILD=	yes

#
# Install configuration
#

ELISP_SUBDIR=	${PREFIX}/share/emacs/site-lisp/
CAMLMODE_ELISPDIR= ${ELISP_SUBDIR}/caml-mode
CAMLMODE_DOCDIR=	share/doc/caml-mode
CAMLMODE_DIR_ENTRY=* Caml-mode: (caml-mode).         A mode for editing CAML programs.

INSTALL_TARGET=	install install-ocamltags
MAKE_ENV+=	EMACSDIR=${CAMLMODE_ELISPDIR}

.include <bsd.port.pre.mk>

.if ${ARCH} == "ia64"
BROKEN=		"Does not build on ia64"
.endif

.include <bsd.port.post.mk>