pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/ocaml-uchar Added new package ocaml-uchar. Th...
details: https://anonhg.NetBSD.org/pkgsrc/rev/121941e6d3d9
branches: trunk
changeset: 356394:121941e6d3d9
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Fri Dec 30 12:02:10 2016 +0000
description:
Added new package ocaml-uchar. This is a compatibility library so that
pre-4.03 versions of OCaml can use the uchar library. Given that pkgsrc
uses 4.04 now, this library will always be empty, but it is needed for
dependency purposes.
diffstat:
textproc/ocaml-uchar/DESCR | 2 ++
textproc/ocaml-uchar/Makefile | 34 ++++++++++++++++++++++++++++++++++
textproc/ocaml-uchar/PLIST | 2 ++
textproc/ocaml-uchar/buildlink3.mk | 13 +++++++++++++
textproc/ocaml-uchar/distinfo | 6 ++++++
5 files changed, 57 insertions(+), 0 deletions(-)
diffs (77 lines):
diff -r d4265d3af9a0 -r 121941e6d3d9 textproc/ocaml-uchar/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ocaml-uchar/DESCR Fri Dec 30 12:02:10 2016 +0000
@@ -0,0 +1,2 @@
+This package provides a compatibility library for the Uchar module introduced
+in OCaml 4.03.
diff -r d4265d3af9a0 -r 121941e6d3d9 textproc/ocaml-uchar/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ocaml-uchar/Makefile Fri Dec 30 12:02:10 2016 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2016/12/30 12:02:10 jaapb Exp $
+
+VERSION= 0.0.1
+GITHUB_PROJECT= uchar
+GITHUB_TAG= v${VERSION}
+DISTNAME= ${GITHUB_PROJECT}-${VERSION}
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ocaml/}
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/ocaml/uchar/
+COMMENT= Compatibility library for the OCaml UChar module
+LICENSE= gnu-lgpl-v2.1
+
+INSTALLATION_DIRS= ${OCAML_SITELIBDIR}/uchar
+
+.include "../../mk/ocaml.mk"
+
+.if ${OCAML_USE_OPT_COMPILER} == "yes"
+NATIVE= true
+.else
+NATIVE= false
+.endif
+
+do-build:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ocaml ./pkg/build.ml \
+ native=${NATIVE} native-dynlink=${NATIVE}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/pkg/META.empty ${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/uchar/META
+
+.include "../../devel/ocamlbuild/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d4265d3af9a0 -r 121941e6d3d9 textproc/ocaml-uchar/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ocaml-uchar/PLIST Fri Dec 30 12:02:10 2016 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/12/30 12:02:10 jaapb Exp $
+${OCAML_SITELIB}/uchar/META
diff -r d4265d3af9a0 -r 121941e6d3d9 textproc/ocaml-uchar/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ocaml-uchar/buildlink3.mk Fri Dec 30 12:02:10 2016 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/12/30 12:02:10 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-uchar
+
+.if !defined(OCAML_UCHAR_BUILDLINK3_MK)
+OCAML_UCHAR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-uchar+= ocaml-uchar>=0.0.1
+BUILDLINK_PKGSRCDIR.ocaml-uchar?= ../../textproc/ocaml-uchar
+
+.endif # OCAML_UCHAR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-uchar
diff -r d4265d3af9a0 -r 121941e6d3d9 textproc/ocaml-uchar/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ocaml-uchar/distinfo Fri Dec 30 12:02:10 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/12/30 12:02:10 jaapb Exp $
+
+SHA1 (uchar-0.0.1.tar.gz) = 3b22f264be8ceda428d7fa22a813e65d96e6dc83
+RMD160 (uchar-0.0.1.tar.gz) = 5024476db24145e05766660edc926d50c111f9cb
+SHA512 (uchar-0.0.1.tar.gz) = 6bdc3646cb959af1a289e22f5202da2f3e3462b42a563ec4a999e96ba7b2d0c95e2d42ef06b35cd9c477eebfadef5bba4abdb60997faa7e6848aa6bcb5d729c2
+Size (uchar-0.0.1.tar.gz) = 23471 bytes
Home |
Main Index |
Thread Index |
Old Index