pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/ocaml-uchar



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Fri Dec 30 12:02:10 UTC 2016

Added Files:
        pkgsrc/textproc/ocaml-uchar: DESCR Makefile PLIST buildlink3.mk
            distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/ocaml-uchar/DESCR \
    pkgsrc/textproc/ocaml-uchar/Makefile pkgsrc/textproc/ocaml-uchar/PLIST \
    pkgsrc/textproc/ocaml-uchar/buildlink3.mk \
    pkgsrc/textproc/ocaml-uchar/distinfo

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

Added files:

Index: pkgsrc/textproc/ocaml-uchar/DESCR
diff -u /dev/null pkgsrc/textproc/ocaml-uchar/DESCR:1.1
--- /dev/null   Fri Dec 30 12:02:10 2016
+++ pkgsrc/textproc/ocaml-uchar/DESCR   Fri Dec 30 12:02:10 2016
@@ -0,0 +1,2 @@
+This package provides a compatibility library for the Uchar module introduced
+in OCaml 4.03.
Index: pkgsrc/textproc/ocaml-uchar/Makefile
diff -u /dev/null pkgsrc/textproc/ocaml-uchar/Makefile:1.1
--- /dev/null   Fri Dec 30 12:02:10 2016
+++ pkgsrc/textproc/ocaml-uchar/Makefile        Fri Dec 30 12:02:10 2016
@@ -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"
Index: pkgsrc/textproc/ocaml-uchar/PLIST
diff -u /dev/null pkgsrc/textproc/ocaml-uchar/PLIST:1.1
--- /dev/null   Fri Dec 30 12:02:10 2016
+++ pkgsrc/textproc/ocaml-uchar/PLIST   Fri Dec 30 12:02:10 2016
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/12/30 12:02:10 jaapb Exp $
+${OCAML_SITELIB}/uchar/META
Index: pkgsrc/textproc/ocaml-uchar/buildlink3.mk
diff -u /dev/null pkgsrc/textproc/ocaml-uchar/buildlink3.mk:1.1
--- /dev/null   Fri Dec 30 12:02:10 2016
+++ pkgsrc/textproc/ocaml-uchar/buildlink3.mk   Fri Dec 30 12:02:10 2016
@@ -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
Index: pkgsrc/textproc/ocaml-uchar/distinfo
diff -u /dev/null pkgsrc/textproc/ocaml-uchar/distinfo:1.1
--- /dev/null   Fri Dec 30 12:02:10 2016
+++ pkgsrc/textproc/ocaml-uchar/distinfo        Fri Dec 30 12:02:10 2016
@@ -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