freebsd-ports/devel/ocaml-sexplib/Makefile
Martin Wilke 317972c21a - Update to version 111.03.00
PR:		188357
Submitted by:	Ports Fury
2014-05-17 16:38:14 +00:00

41 lines
960 B
Makefile

# Created by: Stanislav Sedov <ssedov@mbsd.msk.ru>
# $FreeBSD$
PORTNAME= sexplib
PORTVERSION= 111.03.00
CATEGORIES= devel
MASTER_SITES= https://ocaml.janestreet.com/ocaml-core/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTVERSION}/individual
PKGNAMEPREFIX= ocaml-
MAINTAINER= ports@FreeBSD.org
COMMENT= OCaml library for working with S-expressions
LICENSE= BSD
BUILD_DEPENDS= ocaml-type-conv>0:${PORTSDIR}/devel/ocaml-typeconv
RUN_DEPENDS= ocaml-type-conv>0:${PORTSDIR}/devel/ocaml-typeconv
USE_OCAML= yes
USE_OCAML_FINDLIB=yes
USE_OCAMLFIND_PLIST=yes
OCAML_PKGDIRS= ${PORTNAME} ${PORTNAME}_num ${PORTNAME}_unix
USES= gmake
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs
MAKE_JOBS_UNSAFE= yes
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in CHANGES.txt README.md
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor
.include <bsd.port.mk>