where needed. The next step towards Ocaml 4.3.0. Bulk build by sthen@ identified several laggards which are included here. ok anil@ sthen@ so final 4.3.0 polishing can be done in-tree.
42 lines
878 B
Makefile
42 lines
878 B
Makefile
# $OpenBSD: Makefile,v 1.3 2016/06/23 19:23:53 krw Exp $
|
|
|
|
COMMENT = non-blocking streaming JSON codec
|
|
CATEGORIES = devel
|
|
|
|
V = 0.9.1
|
|
NAME = jsonm
|
|
DISTNAME = ${NAME}-${V}
|
|
EXTRACT_SUFX = .tbz
|
|
PKGNAME = ocaml-${DISTNAME}
|
|
MASTER_SITES = http://erratique.ch/software/${NAME}/releases/
|
|
REVISION = 2
|
|
|
|
HOMEPAGE = http://erratique.ch/software/${NAME}
|
|
|
|
|
|
# BSD3
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODULES = lang/ocaml
|
|
|
|
WANTLIB += c m
|
|
|
|
RUN_DEPENDS = devel/ocaml-uutf
|
|
BUILD_DEPENDS = devel/ocaml-uutf devel/ocaml-ocamlbuild
|
|
|
|
CONFIGURE_STYLE = oasis
|
|
|
|
ALL_TARGET = -build
|
|
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ocaml-${NAME}
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ocaml-${NAME}/api
|
|
${INSTALL_DATA} ${WRKDIST}/doc/* \
|
|
${PREFIX}/share/doc/ocaml-${NAME}/api/
|
|
${INSTALL_DATA} ${WRKDIST}/{CHANGES,README} \
|
|
${PREFIX}/share/doc/ocaml-${NAME}/
|
|
|
|
|
|
.include <bsd.port.mk>
|