1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/textproc/ocaml-tyxml/Makefile
John Marino ad7d492f2b textproc/ocaml-tyxml: Upgrade 2.0.1 -> 2.2.0 and support stage
The implements the referenced PR and then stage support was added.
The latter largely came from the pkgsrc version of this port which
has the same maintainer.  The modified LGPL license (with an OpenSSL
exception) was annotated as well.

PR:		ports/176065
Submitted by:	maintainer (Jaap Boender)
Stage support:	Taken from pkgsrc
2014-03-27 00:51:33 +00:00

31 lines
805 B
Makefile

# 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= jaapb@kerguelen.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_OCAMLFIND_PLIST= yes
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
MAKE_ENV+= INSTALLDIR="${STAGEDIR}${SA_DIR}"
.include <bsd.port.mk>