pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ocaml-seq Added devel/ocaml-seq 0.1. Compatibili...
details: https://anonhg.NetBSD.org/pkgsrc/rev/18dd5192b73a
branches: trunk
changeset: 323569:18dd5192b73a
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Mon May 13 11:30:24 2019 +0000
description:
Added devel/ocaml-seq 0.1. Compatibility package for seq library.
This is a library introduced in 4.07; this is a compatibility package
for earlier versions.
diffstat:
devel/ocaml-seq/DESCR | 2 ++
devel/ocaml-seq/Makefile | 29 +++++++++++++++++++++++++++++
devel/ocaml-seq/PLIST | 14 ++++++++++++++
devel/ocaml-seq/buildlink3.mk | 13 +++++++++++++
devel/ocaml-seq/distinfo | 7 +++++++
devel/ocaml-seq/patches/patch-Makefile | 17 +++++++++++++++++
6 files changed, 82 insertions(+), 0 deletions(-)
diffs (106 lines):
diff -r eb6116f2544d -r 18dd5192b73a devel/ocaml-seq/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-seq/DESCR Mon May 13 11:30:24 2019 +0000
@@ -0,0 +1,2 @@
+This is a compatibility package for the seq library introduced in
+OCaml 4.07.
diff -r eb6116f2544d -r 18dd5192b73a devel/ocaml-seq/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-seq/Makefile Mon May 13 11:30:24 2019 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2019/05/13 11:30:24 jaapb Exp $
+
+GITHUB_PROJECT= seq
+DISTNAME= ${GITHUB_PROJECT}-0.1
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=c-cube/}
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/c-cube/seq/
+COMMENT= Ocaml seq library compatibility package
+LICENSE= gnu-lgpl-v2.1
+
+USE_LANGUAGES= # none
+USE_TOOLS+= gmake
+OCAML_USE_FINDLIB= yes
+
+BUILD_TARGET= build
+
+.include "../../mk/ocaml.mk"
+
+.if ${OCAML_USE_OPT_COMPILER} == "yes"
+MAKE_ENV+= OPT=true
+.else
+MAKE_ENV+= OPT=false
+.endif
+
+.include "../../devel/ocamlbuild/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r eb6116f2544d -r 18dd5192b73a devel/ocaml-seq/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-seq/PLIST Mon May 13 11:30:24 2019 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2019/05/13 11:30:24 jaapb Exp $
+${OCAML_SITELIB}/seq/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/seq/seq.a
+${OCAML_SITELIB}/seq/seq.cma
+${OCAML_SITELIB}/seq/seq.cmi
+${OCAML_SITELIB}/seq/seq.cmo
+${PLIST.ocaml-opt}${OCAML_SITELIB}/seq/seq.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/seq/seq.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/seq/seq.cmxs
+${OCAML_SITELIB}/seq/seq.ml
+${OCAML_SITELIB}/seq/seq.ml.depends
+${OCAML_SITELIB}/seq/seq.mli
+${OCAML_SITELIB}/seq/seq.mli.depends
+${PLIST.ocaml-opt}${OCAML_SITELIB}/seq/seq.o
diff -r eb6116f2544d -r 18dd5192b73a devel/ocaml-seq/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-seq/buildlink3.mk Mon May 13 11:30:24 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/05/13 11:30:24 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-seq
+
+.if !defined(OCAML_SEQ_BUILDLINK3_MK)
+OCAML_SEQ_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-seq+= ocaml-seq>=0.1
+BUILDLINK_PKGSRCDIR.ocaml-seq?= ../../devel/ocaml-seq
+
+.endif # OCAML_SEQ_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-seq
diff -r eb6116f2544d -r 18dd5192b73a devel/ocaml-seq/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-seq/distinfo Mon May 13 11:30:24 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/05/13 11:30:24 jaapb Exp $
+
+SHA1 (seq-0.1.tar.gz) = 59a174b5206fa327b9928f8f978bf47edc7a8fd9
+RMD160 (seq-0.1.tar.gz) = d5623f6f44a7cc59ce63bfbfa495a76a1b975082
+SHA512 (seq-0.1.tar.gz) = cf0df428408efd8f593765c419007c3b181c1234fa957bd09bd96bbbbc7950dcd329429a8a22573680fdfd46847e21befae29ade967509690428ba2b90fe83f2
+Size (seq-0.1.tar.gz) = 2452 bytes
+SHA1 (patch-Makefile) = 533ad35205709e432ff996461aebe4008f84b774
diff -r eb6116f2544d -r 18dd5192b73a devel/ocaml-seq/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-seq/patches/patch-Makefile Mon May 13 11:30:24 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile,v 1.1 2019/05/13 11:30:24 jaapb Exp $
+
+Only compile native code if OPT variable is set
+--- Makefile.orig 2018-04-19 02:18:40.000000000 +0000
++++ Makefile
+@@ -1,5 +1,11 @@
++OPT?=true
+
++ifeq ($(OPT),true)
+ TARGETS=$(addprefix src/, seq.cma seq.cmxa seq.cmxs)
++else
++TARGETS=$(addprefix src/, seq.cma)
++endif
++
+ build:
+ ocamlbuild $(TARGETS)
+
Home |
Main Index |
Thread Index |
Old Index