mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
devel/ocaml-curses: New port: OCaml bindings to ncurses
PR: 279508
This commit is contained in:
parent
b394656452
commit
9668ddabff
@ -1722,6 +1722,7 @@
|
||||
SUBDIR += ocaml-cppo
|
||||
SUBDIR += ocaml-csexp
|
||||
SUBDIR += ocaml-cstruct
|
||||
SUBDIR += ocaml-curses
|
||||
SUBDIR += ocaml-domain-name
|
||||
SUBDIR += ocaml-dune
|
||||
SUBDIR += ocaml-extlib
|
||||
|
34
devel/ocaml-curses/Makefile
Normal file
34
devel/ocaml-curses/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
PORTNAME= curses
|
||||
PORTVERSION= 1.0.11
|
||||
CATEGORIES= devel
|
||||
PKGNAMEPREFIX= ocaml-
|
||||
|
||||
MAINTAINER= freebsd@dev.thsi.be
|
||||
COMMENT= (N)curses binding for OCaml
|
||||
WWW= https://github.com/mbacarella/curses
|
||||
|
||||
LICENSE= LGPL21+ # with a special exception to clause 6
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= ncurses ocaml:dune pkgconfig
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= mbacarella
|
||||
USE_OCAML= yes
|
||||
USE_OCAML_LDCONFIG= yes
|
||||
|
||||
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
|
||||
PORTDOCS= CHANGES.md README.md
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} \
|
||||
-e "s/(name ${PORTNAME})/&\n(version ${PORTVERSION})/" \
|
||||
${WRKSRC}/dune-project
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} \
|
||||
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/curses/dllcurses_stubs.so \
|
||||
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/curses/curses.cmxs
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/ocaml-curses/distinfo
Normal file
3
devel/ocaml-curses/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1717440498
|
||||
SHA256 (mbacarella-curses-1.0.11_GH0.tar.gz) = 603c08e816b22e200f7818544ffd016620a808945cfa757dd1aeb245e0b51c0e
|
||||
SIZE (mbacarella-curses-1.0.11_GH0.tar.gz) = 28807
|
3
devel/ocaml-curses/pkg-descr
Normal file
3
devel/ocaml-curses/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
This OCaml library provides bindings to the (n)curses library. All the
|
||||
the types and all the functions available in the Curses module are
|
||||
direct translations of the ncurses(3X) concepts.
|
15
devel/ocaml-curses/pkg-plist
Normal file
15
devel/ocaml-curses/pkg-plist
Normal file
@ -0,0 +1,15 @@
|
||||
%%OCAML_SITELIBDIR%%/curses/META
|
||||
%%OCAML_SITELIBDIR%%/curses/curses.a
|
||||
%%OCAML_SITELIBDIR%%/curses/curses.cma
|
||||
%%OCAML_SITELIBDIR%%/curses/curses.cmi
|
||||
%%OCAML_SITELIBDIR%%/curses/curses.cmt
|
||||
%%OCAML_SITELIBDIR%%/curses/curses.cmti
|
||||
%%OCAML_SITELIBDIR%%/curses/curses.cmx
|
||||
%%OCAML_SITELIBDIR%%/curses/curses.cmxa
|
||||
%%OCAML_SITELIBDIR%%/curses/curses.ml
|
||||
%%OCAML_SITELIBDIR%%/curses/curses.mli
|
||||
%%OCAML_SITELIBDIR%%/curses/dune-package
|
||||
%%OCAML_SITELIBDIR%%/curses/libcurses_stubs.a
|
||||
%%OCAML_SITELIBDIR%%/curses/opam
|
||||
%%OCAML_SITELIBDIR%%/curses/curses.cmxs
|
||||
%%OCAML_SITELIBDIR%%/curses/dllcurses_stubs.so
|
Loading…
Reference in New Issue
Block a user