diff options
Diffstat (limited to 'devel/ocaml-stdio/Makefile')
-rw-r--r-- | devel/ocaml-stdio/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/devel/ocaml-stdio/Makefile b/devel/ocaml-stdio/Makefile new file mode 100644 index 000000000000..847e2f0eeb50 --- /dev/null +++ b/devel/ocaml-stdio/Makefile @@ -0,0 +1,32 @@ +PORTNAME= stdio +PORTVERSION= 0.16.0 +DISTVERSIONPREFIX= v +CATEGORIES= devel +PKGNAMEPREFIX= ocaml- + +MAINTAINER= freebsd@dev.thsi.be +COMMENT= Standard IO library for Objective-Caml +WWW= https://github.com/janestreet/stdio + +LICENSE= MIT + +BUILD_DEPENDS= ${SA_DIR}/base/META:devel/ocaml-base +RUN_DEPENDS= ${SA_DIR}/base/META:devel/ocaml-base + +USES= ocaml:dune +USE_GITHUB= yes +GH_ACCOUNT= janestreet +USE_OCAML= yes +USE_OCAML_LDCONFIG= yes + +DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} +PORTDOCS= CHANGES.md LICENSE.md README.md odoc-pages + +OPTIONS_DEFINE= DOCS + +SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/${PORTNAME}.cmxs + +.include <bsd.port.mk> |