ports/devel/ocaml-ppx_yojson_conv_lib/Makefile
Benjamin Jacobs a8c9290c83 devel/ocaml-seq: Mark DEPRECATED and set EXPIRATION_DATE to 2024-12-10
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
2024-10-10 08:14:48 +02:00

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>