pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocaml-js-build-tools



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Mon Jun 20 14:50:12 UTC 2016

Added Files:
        pkgsrc/devel/ocaml-js-build-tools: DESCR Makefile PLIST buildlink3.mk
            distinfo
        pkgsrc/devel/ocaml-js-build-tools/patches: patch-Makefile

Log Message:
Added package devel/ocaml-js-build-tools, some Jane Street build tools for
OCaml.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ocaml-js-build-tools/DESCR \
    pkgsrc/devel/ocaml-js-build-tools/Makefile \
    pkgsrc/devel/ocaml-js-build-tools/PLIST \
    pkgsrc/devel/ocaml-js-build-tools/buildlink3.mk \
    pkgsrc/devel/ocaml-js-build-tools/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/ocaml-js-build-tools/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/ocaml-js-build-tools/DESCR
diff -u /dev/null pkgsrc/devel/ocaml-js-build-tools/DESCR:1.1
--- /dev/null   Mon Jun 20 14:50:12 2016
+++ pkgsrc/devel/ocaml-js-build-tools/DESCR     Mon Jun 20 14:50:11 2016
@@ -0,0 +1,5 @@
+The package contains two libraries:
+opam2oasis_install, a small library that we use to generate opam .install files
+from the steup.log file generated by oasis;
+js-build-tools.ocamlbuild_goodies, an ocamlbuild plugin containing several
+hacks and utilities that we often need.
Index: pkgsrc/devel/ocaml-js-build-tools/Makefile
diff -u /dev/null pkgsrc/devel/ocaml-js-build-tools/Makefile:1.1
--- /dev/null   Mon Jun 20 14:50:12 2016
+++ pkgsrc/devel/ocaml-js-build-tools/Makefile  Mon Jun 20 14:50:11 2016
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2016/06/20 14:50:11 jaapb Exp $
+
+VERSION=       113.33.04
+GITHUB_PROJECT=        js-build-tools
+DISTNAME=      ${GITHUB_PROJECT}-${VERSION}
+PKGNAME=       ${GITHUB_PROJECT}-${DISTNAME}
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=janestreet/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/janestreet/js-build-tools/
+COMMENT=       OCaml build helper tools from Jane Street
+LICENSE=       apache-2.0
+
+HAS_CONFIGURE= yes
+USE_LANGUAGES= # none
+OCAML_USE_FINDLIB=     yes
+
+.include "../../devel/ocaml-oasis/buildlink3.mk"
+.include "../../devel/ocamlbuild/buildlink3.mk"
+.include "../../misc/ocaml-opam/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/ocaml-js-build-tools/PLIST
diff -u /dev/null pkgsrc/devel/ocaml-js-build-tools/PLIST:1.1
--- /dev/null   Mon Jun 20 14:50:12 2016
+++ pkgsrc/devel/ocaml-js-build-tools/PLIST     Mon Jun 20 14:50:12 2016
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2016/06/20 14:50:12 jaapb Exp $
+${OCAML_SITELIB}/js-build-tools/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/js-build-tools/jane_street_ocamlbuild_goodies.a
+${OCAML_SITELIB}/js-build-tools/jane_street_ocamlbuild_goodies.annot
+${OCAML_SITELIB}/js-build-tools/jane_street_ocamlbuild_goodies.cma
+${OCAML_SITELIB}/js-build-tools/jane_street_ocamlbuild_goodies.cmi
+${OCAML_SITELIB}/js-build-tools/jane_street_ocamlbuild_goodies.cmt
+${OCAML_SITELIB}/js-build-tools/jane_street_ocamlbuild_goodies.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/js-build-tools/jane_street_ocamlbuild_goodies.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/js-build-tools/jane_street_ocamlbuild_goodies.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/js-build-tools/jane_street_ocamlbuild_goodies.cmxs
+${PLIST.ocaml-opt}${OCAML_SITELIB}/js-build-tools/oasis2opam_install.a
+${OCAML_SITELIB}/js-build-tools/oasis2opam_install.annot
+${OCAML_SITELIB}/js-build-tools/oasis2opam_install.cma
+${OCAML_SITELIB}/js-build-tools/oasis2opam_install.cmi
+${OCAML_SITELIB}/js-build-tools/oasis2opam_install.cmt
+${OCAML_SITELIB}/js-build-tools/oasis2opam_install.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/js-build-tools/oasis2opam_install.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/js-build-tools/oasis2opam_install.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/js-build-tools/oasis2opam_install.cmxs
Index: pkgsrc/devel/ocaml-js-build-tools/buildlink3.mk
diff -u /dev/null pkgsrc/devel/ocaml-js-build-tools/buildlink3.mk:1.1
--- /dev/null   Mon Jun 20 14:50:12 2016
+++ pkgsrc/devel/ocaml-js-build-tools/buildlink3.mk     Mon Jun 20 14:50:12 2016
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/06/20 14:50:12 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-js-build-tools
+
+.if !defined(OCAML_JS_BUILD_TOOLS_BUILDLINK3_MK)
+OCAML_JS_BUILD_TOOLS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-js-build-tools+=   ocaml-js-build-tools>=113.33.04
+BUILDLINK_PKGSRCDIR.ocaml-js-build-tools?=     ../../devel/ocaml-js-build-tools
+
+.endif # OCAML_JS_BUILD_TOOLS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-js-build-tools
Index: pkgsrc/devel/ocaml-js-build-tools/distinfo
diff -u /dev/null pkgsrc/devel/ocaml-js-build-tools/distinfo:1.1
--- /dev/null   Mon Jun 20 14:50:12 2016
+++ pkgsrc/devel/ocaml-js-build-tools/distinfo  Mon Jun 20 14:50:12 2016
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/06/20 14:50:12 jaapb Exp $
+
+SHA1 (js-build-tools-113.33.04.tar.gz) = ab2efaaad4942f5414831566a07fd8cfdd680d01
+RMD160 (js-build-tools-113.33.04.tar.gz) = c8d03ef1e11d39173f0c9d45b0873ef16bec8639
+SHA512 (js-build-tools-113.33.04.tar.gz) = 232c376d09fef5d6e7a7e4eb72f0123eda8a20ee7f0a64c4db5f237294a3755cb539d4d165cbbbb31d5396a182a2f94543eeb265235b4dd5866682a1ab49536b
+Size (js-build-tools-113.33.04.tar.gz) = 10782 bytes
+SHA1 (patch-Makefile) = 73347a64a29a0fde8ccc0cbae967a954b142ee71

Index: pkgsrc/devel/ocaml-js-build-tools/patches/patch-Makefile
diff -u /dev/null pkgsrc/devel/ocaml-js-build-tools/patches/patch-Makefile:1.1
--- /dev/null   Mon Jun 20 14:50:12 2016
+++ pkgsrc/devel/ocaml-js-build-tools/patches/patch-Makefile    Mon Jun 20 14:50:12 2016
@@ -0,0 +1,23 @@
+$NetBSD: patch-Makefile,v 1.1 2016/06/20 14:50:12 jaapb Exp $
+
+Install into the proper directory
+--- Makefile.orig      2016-05-09 12:01:24.000000000 +0000
++++ Makefile
+@@ -2,7 +2,7 @@
+ 
+ SETUP := setup.exe
+ NAME := js-build-tools
+-PREFIX = $(shell grep ^prefix= setup.data | cut -d\" -f 2)
++#PREFIX = $(shell grep ^prefix= setup.data | cut -d\" -f 2)
+ 
+ # Default rule
+ default: build
+@@ -30,7 +30,7 @@ $(NAME).install: install.ml setup.log se
+       ocaml -I "$(OCAML_TOPLEVEL_PATH)" install.ml
+ 
+ install: $(NAME).install
+-      opam-installer -i --prefix $(PREFIX) $(NAME).install
++      opam-installer -i --prefix ${DESTDIR}$(PREFIX) --libdir ${OCAML_SITELIBDIR} $(NAME).install
+ 
+ uninstall: $(NAME).install
+       opam-installer -u --prefix $(PREFIX) $(NAME).install



Home | Main Index | Thread Index | Old Index