pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocaml-seq



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Mon May 13 11:30:24 UTC 2019

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ocaml-seq/DESCR \
    pkgsrc/devel/ocaml-seq/Makefile pkgsrc/devel/ocaml-seq/PLIST \
    pkgsrc/devel/ocaml-seq/buildlink3.mk pkgsrc/devel/ocaml-seq/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ocaml-seq/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-seq/DESCR
diff -u /dev/null pkgsrc/devel/ocaml-seq/DESCR:1.1
--- /dev/null   Mon May 13 11:30:24 2019
+++ pkgsrc/devel/ocaml-seq/DESCR        Mon May 13 11:30:24 2019
@@ -0,0 +1,2 @@
+This is a compatibility package for the seq library introduced in
+OCaml 4.07.
Index: pkgsrc/devel/ocaml-seq/Makefile
diff -u /dev/null pkgsrc/devel/ocaml-seq/Makefile:1.1
--- /dev/null   Mon May 13 11:30:24 2019
+++ pkgsrc/devel/ocaml-seq/Makefile     Mon May 13 11:30:24 2019
@@ -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"
Index: pkgsrc/devel/ocaml-seq/PLIST
diff -u /dev/null pkgsrc/devel/ocaml-seq/PLIST:1.1
--- /dev/null   Mon May 13 11:30:24 2019
+++ pkgsrc/devel/ocaml-seq/PLIST        Mon May 13 11:30:24 2019
@@ -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
Index: pkgsrc/devel/ocaml-seq/buildlink3.mk
diff -u /dev/null pkgsrc/devel/ocaml-seq/buildlink3.mk:1.1
--- /dev/null   Mon May 13 11:30:24 2019
+++ pkgsrc/devel/ocaml-seq/buildlink3.mk        Mon May 13 11:30:24 2019
@@ -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
Index: pkgsrc/devel/ocaml-seq/distinfo
diff -u /dev/null pkgsrc/devel/ocaml-seq/distinfo:1.1
--- /dev/null   Mon May 13 11:30:24 2019
+++ pkgsrc/devel/ocaml-seq/distinfo     Mon May 13 11:30:24 2019
@@ -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

Index: pkgsrc/devel/ocaml-seq/patches/patch-Makefile
diff -u /dev/null pkgsrc/devel/ocaml-seq/patches/patch-Makefile:1.1
--- /dev/null   Mon May 13 11:30:24 2019
+++ pkgsrc/devel/ocaml-seq/patches/patch-Makefile       Mon May 13 11:30:24 2019
@@ -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