aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ocaml-tyxml/Makefile
blob: 01fcd2ae90862abee74b25a8f88eea1d9f9ba6f2 (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
# Created by: Jaap Boender <jaapb@kerguelen.org>
# $FreeBSD$

PORTNAME=   tyxml
PORTVERSION=    2.2.0
CATEGORIES= textproc
MASTER_SITES=   http://ocsigen.org/download/
PKGNAMEPREFIX=  ocaml-

MAINTAINER= ports@FreeBSD.org
COMMENT=    OCaml XML typing library

LICENSE=    LGPL21_SSLEX
LICENSE_NAME=   Lesser GPL 2.1 with a special OpenSSL exception clause
LICENSE_FILE=   ${WRKSRC}/COPYING
LICENSE_PERMS=  dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

BUILD_DEPENDS=  ${SA_DIR}/netstring/netstring.a:${PORTSDIR}/www/ocaml-net
RUN_DEPENDS=    ${SA_DIR}/netstring/netstring.a:${PORTSDIR}/www/ocaml-net

USES=           gmake
USE_OCAML=      yes
USE_OCAML_FINDLIB=  yes
USE_OCAML_LDCONFIG= yes
USE_OCAML_CAMLP4=   yes
USE_OCAMLFIND_PLIST=    yes

SA_DIR=         ${LOCALBASE}/${OCAML_SITELIBDIR}
MAKE_ENV+=      INSTALLDIR="${STAGEDIR}${SA_DIR}"

.include <bsd.port.mk>