forked from Lainports/freebsd-ports
Replace GNU configure to dune builds system. Add do-test target. Submitter takes maintainership. Update WWW. Switch to DISTVERSION. The last update of alt-ergo in ports tree was about 10 years ago, the newest version requires many new libraries in ports tree. New ports: devel/ocaml-dolmen devel/ocaml-gen devel/ocaml-hmap devel/ocaml-linol devel/ocaml-lsp devel/ocaml-octavius devel/ocaml-pp_loc devel/ocaml-ppx_blob devel/ocaml-ppx_compare devel/ocaml-ppx_deriving devel/ocaml-ppx_hash devel/ocaml-ppx_js_style devel/ocaml-ppx_yojson_conv devel/ocaml-ppx_yojson_conv_lib devel/ocaml-psmt2-frontend devel/ocaml-trace math/ocaml-farith math/ocaml-ocplib-simplex textproc/ocaml-spelll PR: 279337
35 lines
740 B
Makefile
35 lines
740 B
Makefile
PORTNAME= spelll
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.4
|
|
CATEGORIES= textproc
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
MAINTAINER= freebsd@dev.thsi.be
|
|
COMMENT= Fuzzy search library for OCaml
|
|
WWW= https://github.com/c-cube/spell
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= ocaml:dune
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= c-cube
|
|
USE_OCAML= yes
|
|
|
|
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
|
|
PORTDOCS= LICENSE README.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e "s/(lang dune.*/&\n(version ${DISTVERSION})/" \
|
|
${WRKSRC}/dune-project
|
|
@${REINPLACE_CMD} -e "s/(libraries seq stdlib-shims)//" \
|
|
${WRKSRC}/src/dune
|
|
|
|
post-install:
|
|
@${STRIP_CMD} \
|
|
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/${PORTNAME}.cmxs
|
|
|
|
.include <bsd.port.mk>
|