pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/ocaml-opaline
Module Name: pkgsrc
Committed By: jaapb
Date: Sat Apr 7 10:33:39 UTC 2018
Added Files:
pkgsrc/misc/ocaml-opaline: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
Added new package misc/ocaml-opaline.
I basically wrote this to get rid of opam-installer, which has a lot of
circular dependencies.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/ocaml-opaline/DESCR \
pkgsrc/misc/ocaml-opaline/Makefile pkgsrc/misc/ocaml-opaline/PLIST \
pkgsrc/misc/ocaml-opaline/buildlink3.mk \
pkgsrc/misc/ocaml-opaline/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/misc/ocaml-opaline/DESCR
diff -u /dev/null pkgsrc/misc/ocaml-opaline/DESCR:1.1
--- /dev/null Sat Apr 7 10:33:39 2018
+++ pkgsrc/misc/ocaml-opaline/DESCR Sat Apr 7 10:33:39 2018
@@ -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.
Index: pkgsrc/misc/ocaml-opaline/Makefile
diff -u /dev/null pkgsrc/misc/ocaml-opaline/Makefile:1.1
--- /dev/null Sat Apr 7 10:33:39 2018
+++ pkgsrc/misc/ocaml-opaline/Makefile Sat Apr 7 10:33:39 2018
@@ -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"
Index: pkgsrc/misc/ocaml-opaline/PLIST
diff -u /dev/null pkgsrc/misc/ocaml-opaline/PLIST:1.1
--- /dev/null Sat Apr 7 10:33:39 2018
+++ pkgsrc/misc/ocaml-opaline/PLIST Sat Apr 7 10:33:39 2018
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/04/07 10:33:39 jaapb Exp $
+bin/opaline
Index: pkgsrc/misc/ocaml-opaline/buildlink3.mk
diff -u /dev/null pkgsrc/misc/ocaml-opaline/buildlink3.mk:1.1
--- /dev/null Sat Apr 7 10:33:39 2018
+++ pkgsrc/misc/ocaml-opaline/buildlink3.mk Sat Apr 7 10:33:39 2018
@@ -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
Index: pkgsrc/misc/ocaml-opaline/distinfo
diff -u /dev/null pkgsrc/misc/ocaml-opaline/distinfo:1.1
--- /dev/null Sat Apr 7 10:33:39 2018
+++ pkgsrc/misc/ocaml-opaline/distinfo Sat Apr 7 10:33:39 2018
@@ -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