b9dd37022f
From: Christopher Zimmermann <madroach@gmerlin.de> -- Xmlm is an OCaml module for streaming XML IO. It aims at making XML processing robust and painless. The streaming interface can process documents without building an in-memory representation. It lets the programmer translate its data structures to XML documents and vice-versa. Functions are provided to easily transform arborescent data structures to/from XML documents.
39 lines
915 B
Makefile
39 lines
915 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2012/08/18 22:51:21 avsm Exp $
|
|
|
|
COMMENT = streaming XML input/output for OCaml
|
|
CATEGORIES = textproc
|
|
|
|
V = 1.1.0
|
|
DISTNAME = xmlm-${V}
|
|
PKGNAME = ocaml-${DISTNAME}
|
|
EXTRACT_SUFX = .tbz
|
|
MASTER_SITES = http://erratique.ch/software/xmlm/releases/
|
|
|
|
MAINTAINER = Anil Madhavapeddy <avsm@openbsd.org>
|
|
HOMEPAGE = http://erratique.ch/software/xmlm
|
|
|
|
# 3-clause BSD
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
MODULES = lang/ocaml
|
|
|
|
WANTLIB = c m
|
|
BUILD_DEPENDS = sysutils/findlib
|
|
|
|
CONFIGURE_STYLE = oasis
|
|
CONFIGURE_ARGS = --enable-tests
|
|
ALL_TARGET = -build
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} \
|
|
${PREFIX}/share/doc/ocaml-xmlm \
|
|
${PREFIX}/share/examples/ocaml-xmlm
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/ocaml-xmlm/
|
|
${INSTALL_DATA} ${WRKSRC}/test/* ${PREFIX}/share/examples/ocaml-xmlm/
|
|
|
|
|
|
.include <bsd.port.mk>
|