mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 00:31:51 -04:00
Seq the ocaml module is part of lang/ocaml since 4.07. This package is a compatibility shims that is needed for people using 4.06 and earlier. PR: 280761 Approved by: submitter is maintainer
39 lines
857 B
Makefile
39 lines
857 B
Makefile
PORTNAME= ppx_yojson_conv_lib
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.17.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
MAINTAINER= freebsd@dev.thsi.be
|
|
COMMENT= Runtime library for ppx_yojson_conv
|
|
WWW= https://github.com/janestreet/ppx_yojson_conv_lib
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
BUILD_DEPENDS= ${SA_DIR}/yojson/META:textproc/ocaml-yojson
|
|
RUN_DEPENDS= ${SA_DIR}/yojson/META:textproc/ocaml-yojson
|
|
|
|
USES= ocaml:dune
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= janestreet
|
|
USE_OCAML= yes
|
|
|
|
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
|
|
PORTDOCS= LICENSE.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e "s/(lang dune 3.11)/(lang dune 3.7)/" \
|
|
${WRKSRC}/dune-project
|
|
|
|
post-install:
|
|
@${STRIP_CMD} \
|
|
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/${PORTNAME}.cmxs
|
|
|
|
.include <bsd.port.mk>
|