blob: b4f7d4169f64c51cc3c31bf8993d0c835f31a737 (
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
|
# Created by: Jaap Boender <jaapb@kerguelen.org>
# $FreeBSD$
PORTNAME= tyxml
PORTVERSION= 2.0.1
CATEGORIES= textproc
MASTER_SITES= http://ocsigen.org/download/
PKGNAMEPREFIX= ocaml-
MAINTAINER= jaapb@kerguelen.org
COMMENT= OCaml XML typing library
USE_GMAKE= yes
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes
USE_OCAMLFIND_PLIST= yes
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
BUILD_DEPENDS+= ${SA_DIR}/netstring/netstring.a:${PORTSDIR}/www/ocaml-net
RUN_DEPENDS+= ${SA_DIR}/netstring/netstring.a:${PORTSDIR}/www/ocaml-net
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-extract:
# For nonstandard prefixes
.if !exists(${OCAMLFIND_DESTDIR})
${MKDIR} ${OCAMLFIND_DESTDIR}
.endif
.if !exists(${OCAMLFIND_LDCONF})
${TOUCH} ${OCAMLFIND_LDCONF}
.endif
.include <bsd.port.post.mk>
|