View | Details | Raw Unified | Return to bug 279508
Collapse All | Expand All

(-)b/devel/Makefile (+1 lines)
Lines 1722-1727 Link Here
1722
    SUBDIR += ocaml-cppo
1722
    SUBDIR += ocaml-cppo
1723
    SUBDIR += ocaml-csexp
1723
    SUBDIR += ocaml-csexp
1724
    SUBDIR += ocaml-cstruct
1724
    SUBDIR += ocaml-cstruct
1725
    SUBDIR += ocaml-curses
1725
    SUBDIR += ocaml-domain-name
1726
    SUBDIR += ocaml-domain-name
1726
    SUBDIR += ocaml-dune
1727
    SUBDIR += ocaml-dune
1727
    SUBDIR += ocaml-extlib
1728
    SUBDIR += ocaml-extlib
(-)b/devel/ocaml-curses/Makefile (+34 lines)
Added Link Here
1
PORTNAME=	curses
2
PORTVERSION=	1.0.11
3
CATEGORIES=	devel
4
PKGNAMEPREFIX=	ocaml-
5
6
MAINTAINER=	freebsd@dev.thsi.be
7
COMMENT=	(N)curses binding for OCaml
8
WWW=		https://github.com/mbacarella/curses
9
10
LICENSE=	LGPL21+ # with a special exception to clause 6
11
LICENSE_FILE=	${WRKSRC}/COPYING
12
13
USES=		ncurses ocaml:dune pkgconfig
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	mbacarella
16
USE_OCAML=		yes
17
USE_OCAML_LDCONFIG=	yes
18
19
DOCSDIR=	${OCAML_DOCSDIR}/${PORTNAME}
20
PORTDOCS=	CHANGES.md README.md
21
22
OPTIONS_DEFINE=	DOCS
23
24
post-patch:
25
	@${REINPLACE_CMD} \
26
		-e "s/(name ${PORTNAME})/&\n(version ${PORTVERSION})/" \
27
		${WRKSRC}/dune-project
28
29
post-install:
30
	@${STRIP_CMD} \
31
		${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/curses/dllcurses_stubs.so \
32
		${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/curses/curses.cmxs
33
34
.include <bsd.port.mk>
(-)b/devel/ocaml-curses/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1717440498
2
SHA256 (mbacarella-curses-1.0.11_GH0.tar.gz) = 603c08e816b22e200f7818544ffd016620a808945cfa757dd1aeb245e0b51c0e
3
SIZE (mbacarella-curses-1.0.11_GH0.tar.gz) = 28807
(-)b/devel/ocaml-curses/pkg-descr (+3 lines)
Added Link Here
1
This OCaml library provides bindings to the (n)curses library. All the
2
the types and all the functions available in the Curses module are
3
direct translations of the ncurses(3X) concepts.
(-)b/devel/ocaml-curses/pkg-plist (+15 lines)
Added Link Here
1
%%OCAML_SITELIBDIR%%/curses/META
2
%%OCAML_SITELIBDIR%%/curses/curses.a
3
%%OCAML_SITELIBDIR%%/curses/curses.cma
4
%%OCAML_SITELIBDIR%%/curses/curses.cmi
5
%%OCAML_SITELIBDIR%%/curses/curses.cmt
6
%%OCAML_SITELIBDIR%%/curses/curses.cmti
7
%%OCAML_SITELIBDIR%%/curses/curses.cmx
8
%%OCAML_SITELIBDIR%%/curses/curses.cmxa
9
%%OCAML_SITELIBDIR%%/curses/curses.ml
10
%%OCAML_SITELIBDIR%%/curses/curses.mli
11
%%OCAML_SITELIBDIR%%/curses/dune-package
12
%%OCAML_SITELIBDIR%%/curses/libcurses_stubs.a
13
%%OCAML_SITELIBDIR%%/curses/opam
14
%%OCAML_SITELIBDIR%%/curses/curses.cmxs
15
%%OCAML_SITELIBDIR%%/curses/dllcurses_stubs.so

Return to bug 279508