blob: e49d0bb27ba4b9de7240b544493b53bdca2ae7f0 (
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
|
# New ports collection makefile for: ocaml-tyxml
# Date created: December 14, 2011
# Whom: 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
.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>
|