1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/textproc/ocaml-tyxml/Makefile
Martin Wilke e87b9d93af TyXML is an OCaml library that allows you to build XML trees whose validity is
insured by the typechecker. It supports XHTML 1.0 and 1.1, HTML5 and SVG
(partial).

WWW: http://ocsigen.org/tyxml/

PR:		ports/163313
Submitted by:	Jaap Boender <jaapb@kerguelen.org>
2012-01-28 10:30:15 +00:00

40 lines
876 B
Makefile

# 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>