blob: da975293549a29867213fa802659b3c10af87f5a (
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: Marwan Burelle <marwan.burelle@lri.fr
# $FreeBSD$
PORTNAME= expat
PORTVERSION= 0.9.1
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://www.xs4all.nl/~mmzeeman/ocaml/
PKGNAMEPREFIX= ocaml-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Stub for the expat parser in OCaml
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
USES= gmake
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes
MAKE_ARGS= EXPAT_LIBDIR=${LOCALBASE}/lib \
EXPAT_INCDIR=${LOCALBASE}/include \
CAML_INCDIR=${LOCALBASE}/lib/ocaml
ALL_TARGET= all allopt doc
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|