pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/ocaml-opaline Added new package misc/ocaml-opaline.
details: https://anonhg.NetBSD.org/pkgsrc/rev/aab57e552488
branches: trunk
changeset: 378416:aab57e552488
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Sat Apr 07 10:33:39 2018 +0000
description:
Added new package misc/ocaml-opaline.
I basically wrote this to get rid of opam-installer, which has a lot of
circular dependencies.
diffstat:
misc/ocaml-opaline/DESCR | 2 ++
misc/ocaml-opaline/Makefile | 27 +++++++++++++++++++++++++++
misc/ocaml-opaline/PLIST | 2 ++
misc/ocaml-opaline/buildlink3.mk | 16 ++++++++++++++++
misc/ocaml-opaline/distinfo | 6 ++++++
5 files changed, 53 insertions(+), 0 deletions(-)
diffs (73 lines):
diff -r c9b8dd1f63da -r aab57e552488 misc/ocaml-opaline/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ocaml-opaline/DESCR Sat Apr 07 10:33:39 2018 +0000
@@ -0,0 +1,2 @@
+This is a lightweight version of opam-installer that does not depend on
+any packages that need opam to be installed.
diff -r c9b8dd1f63da -r aab57e552488 misc/ocaml-opaline/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ocaml-opaline/Makefile Sat Apr 07 10:33:39 2018 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2018/04/07 10:33:39 jaapb Exp $
+
+GITHUB_PROJECT= opaline
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= ${GITHUB_PROJECT}-0.2.2
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jaapb/}
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= http://github.com/jaapb/opaline
+COMMENT= Lightweight OCaml/opam installer
+LICENSE= mit
+
+INSTALLATION_DIRS+= bin
+
+.include "../../mk/ocaml.mk"
+
+.if ${OCAML_USE_OPT_COMPILER} == "yes"
+MAKE_ENV+= OPTNESS=native
+.else
+MAKE_ENV+= OPTNESS=byte
+.endif
+
+.include "../../devel/ocamlbuild/buildlink3.mk"
+.include "../../misc/ocaml-opam-file-format/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c9b8dd1f63da -r aab57e552488 misc/ocaml-opaline/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ocaml-opaline/PLIST Sat Apr 07 10:33:39 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/04/07 10:33:39 jaapb Exp $
+bin/opaline
diff -r c9b8dd1f63da -r aab57e552488 misc/ocaml-opaline/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ocaml-opaline/buildlink3.mk Sat Apr 07 10:33:39 2018 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/04/07 10:33:39 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-opaline
+
+.if !defined(OCAML_OPALINE_BUILDLINK3_MK)
+OCAML_OPALINE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-opaline+= ocaml-opaline>=0.2.2
+BUILDLINK_PKGSRCDIR.ocaml-opaline?= ../../misc/ocaml-opaline
+
+# We only need this to install
+BUILDLINK_DEPMETHOD.ocaml-opaline?= build
+
+.endif # OCAML_OPALINE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-opaline
diff -r c9b8dd1f63da -r aab57e552488 misc/ocaml-opaline/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ocaml-opaline/distinfo Sat Apr 07 10:33:39 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/04/07 10:33:39 jaapb Exp $
+
+SHA1 (opaline-0.2.2.tar.gz) = 709bcf2501bb4f3d9bc1a16a8a9f352682b88bec
+RMD160 (opaline-0.2.2.tar.gz) = 1e4373c8ec9d030a8a7cb27e5ddb340b57e8eeb8
+SHA512 (opaline-0.2.2.tar.gz) = 3c60a9fac45fd3b947c44283e603d4cbbc0789383b77c41c4d1a923f2f8e6b04b94c28d0548db4a5492e85d63d5d5410ed9b1b04a9817ea07ba59273e6ab4e9d
+Size (opaline-0.2.2.tar.gz) = 2701 bytes
Home |
Main Index |
Thread Index |
Old Index