pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/ocaml-easy-format Added textproc/ocaml-easy-f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9a6ec73a805
branches:  trunk
changeset: 365167:a9a6ec73a805
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Tue Jul 11 11:20:12 2017 +0000

description:
Added textproc/ocaml-easy-format, a pretty-printing library for OCaml.

diffstat:

 textproc/ocaml-easy-format/DESCR         |   5 +++++
 textproc/ocaml-easy-format/Makefile      |  25 +++++++++++++++++++++++++
 textproc/ocaml-easy-format/PLIST         |   8 ++++++++
 textproc/ocaml-easy-format/buildlink3.mk |  12 ++++++++++++
 textproc/ocaml-easy-format/distinfo      |   6 ++++++
 5 files changed, 56 insertions(+), 0 deletions(-)

diffs (76 lines):

diff -r b9f29cc8907e -r a9a6ec73a805 textproc/ocaml-easy-format/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ocaml-easy-format/DESCR  Tue Jul 11 11:20:12 2017 +0000
@@ -0,0 +1,5 @@
+This module offers a high-level and functional interface to the Format module
+of the OCaml standard library. It is a pretty-printing facility, i.e. it takes
+as input some code represented as a tree and formats this code into the most
+visually satisfying result, breaking and indenting lines of code where
+appropriate.
diff -r b9f29cc8907e -r a9a6ec73a805 textproc/ocaml-easy-format/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ocaml-easy-format/Makefile       Tue Jul 11 11:20:12 2017 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2017/07/11 11:20:12 jaapb Exp $
+
+GITHUB_PROJECT=        easy-format
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      ${GITHUB_PROJECT}-1.2.0
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    textproc
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=mjambon/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/mjambon/easy-format/
+COMMENT=       Pretty-printing library for OCaml
+LICENSE=       modified-bsd
+
+USE_TOOLS+=    gmake
+BUILD_TARGET=  all
+OCAML_USE_FINDLIB=     yes
+
+.include "../../mk/ocaml.mk"
+
+.if ${OCAML_USE_OPT_COMPILER} == "yes"
+BUILD_TARGET+= opt
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff -r b9f29cc8907e -r a9a6ec73a805 textproc/ocaml-easy-format/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ocaml-easy-format/PLIST  Tue Jul 11 11:20:12 2017 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/11 11:20:12 jaapb Exp $
+${OCAML_SITELIB}/easy-format/META
+${OCAML_SITELIB}/easy-format/easy_format.cmi
+${OCAML_SITELIB}/easy-format/easy_format.cmo
+${PLIST.ocaml-opt}${OCAML_SITELIB}/easy-format/easy_format.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/easy-format/easy_format.cmxs
+${OCAML_SITELIB}/easy-format/easy_format.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/easy-format/easy_format.o
diff -r b9f29cc8907e -r a9a6ec73a805 textproc/ocaml-easy-format/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ocaml-easy-format/buildlink3.mk  Tue Jul 11 11:20:12 2017 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/07/11 11:20:12 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-easy-format
+
+.if !defined(OCAML_EASY_FORMAT_BUILDLINK3_MK)
+OCAML_EASY_FORMAT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-easy-format+=      ocaml-easy-format>=1.2.0
+BUILDLINK_PKGSRCDIR.ocaml-easy-format?=        ../../textproc/ocaml-easy-format
+.endif # OCAML_EASY_FORMAT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-easy-format
diff -r b9f29cc8907e -r a9a6ec73a805 textproc/ocaml-easy-format/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ocaml-easy-format/distinfo       Tue Jul 11 11:20:12 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/11 11:20:12 jaapb Exp $
+
+SHA1 (easy-format-1.2.0.tar.gz) = 7cb9e7213aa11bf8482fbb3f10047be22c62a498
+RMD160 (easy-format-1.2.0.tar.gz) = 7ce399d920d7c4714fdfda08124edf1d14124e1a
+SHA512 (easy-format-1.2.0.tar.gz) = 375849b1ecd2e37f4b32d1ee12197a95856b17a47e3eb06a7e7320a82234c241156c3c8bfb18ce17bbe73b93d31d755675478860505470aa7ab866277a99603f
+Size (easy-format-1.2.0.tar.gz) = 15632 bytes



Home | Main Index | Thread Index | Old Index