aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ocamlduce/Makefile
blob: 4f32519366be9989fb679818e52cbd44b8793e43 (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
# New ports collection makefile for:    ocamlduce
# Date created:             Feb 24, 2007
# Whom:                 Jaap Boender <jaapb@kerguelen.rg>
#
# $FreeBSD$
#

PORTNAME=   ocamlduce
PORTVERSION=    3.11.1.0
CATEGORIES= lang
MASTER_SITES=   https://forge.ocamlcore.org/frs/download.php/225/

MAINTAINER= jaapb@kerguelen.org
COMMENT=    Library to integrate XML features into OCaml

BUILD_DEPENDS=  ${NONEXISTENT}:${PORTSDIR}/lang/ocaml:extract

BROKEN=     does not build

ALL_TARGET= prepare config/Makefile world world.opt
INSTALL_TARGET= installbyte installopt

.include <bsd.port.pre.mk>

OCAML_WRKSRC!=  (cd ${PORTSDIR}/lang/ocaml && ${MAKE} -V WRKSRC)

USE_GMAKE=  yes
USE_OCAML=  yes
MAKE_ENV+=  PORTSDIR="${PORTSDIR}" OCAML_SOURCE="${OCAML_WRKSRC}" BINDIR="${LOCALBASE}/bin" SA_DIR="${LOCALBASE}/lib/ocaml/site-lib"
OCAMLC_DEPEND=  ocaml>=3.11.1:${OCAMLC_PORT}
USE_OCAML_FINDLIB=  yes
USE_OCAML_LDCONFIG= yes
USE_OCAML_PLIST=    yes

.include <bsd.port.post.mk>