pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/ocaml-xml-light
Module Name: pkgsrc
Committed By: jaapb
Date: Thu Nov 29 10:45:38 UTC 2018
Added Files:
pkgsrc/textproc/ocaml-xml-light: DESCR Makefile PLIST buildlink3.mk
distinfo
pkgsrc/textproc/ocaml-xml-light/patches: patch-Makefile
Log Message:
Added textproc/ocaml-xml-light, an XML parser for OCaml.
This is needed as a dependency for ocsigenserver.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/ocaml-xml-light/DESCR \
pkgsrc/textproc/ocaml-xml-light/Makefile \
pkgsrc/textproc/ocaml-xml-light/PLIST \
pkgsrc/textproc/ocaml-xml-light/buildlink3.mk \
pkgsrc/textproc/ocaml-xml-light/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/ocaml-xml-light/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/textproc/ocaml-xml-light/DESCR
diff -u /dev/null pkgsrc/textproc/ocaml-xml-light/DESCR:1.1
--- /dev/null Thu Nov 29 10:45:38 2018
+++ pkgsrc/textproc/ocaml-xml-light/DESCR Thu Nov 29 10:45:37 2018
@@ -0,0 +1,7 @@
+Xml Light is a minimal Xml parser & printer for OCaml.
+It provides a few functions to parse a basic Xml document into
+an OCaml data structure and to print back the data structures
+to an Xml document.
+
+Xml Light also has support for DTDs (Document Type Definitions).
+
Index: pkgsrc/textproc/ocaml-xml-light/Makefile
diff -u /dev/null pkgsrc/textproc/ocaml-xml-light/Makefile:1.1
--- /dev/null Thu Nov 29 10:45:38 2018
+++ pkgsrc/textproc/ocaml-xml-light/Makefile Thu Nov 29 10:45:37 2018
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2018/11/29 10:45:37 jaapb Exp $
+
+GITHUB_PROJECT= xml-light
+DISTNAME= ${GITHUB_PROJECT}-2.4
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ncannasse/}
+DIST_SUBDIR= ocaml-${GITHUB_PROJECT}
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/ncannasse/xml-light/
+COMMENT= Minimal Xml parser and printer
+LICENSE= gnu-lgpl-v2.1
+
+USE_LANGUAGES= # none
+USE_TOOLS+= gmake
+MAKE_JOBS_SAFE= no
+
+OCAML_USE_FINDLIB= yes
+
+.include "../../mk/ocaml.mk"
+
+BUILD_TARGET= all
+.if ${OCAML_USE_OPT_COMPILER} == "yes"
+BUILD_TARGET+= opt
+MAKE_ENV+= NATDYNLINK=YES
+.else
+MAKE_ENV+= NATDYNLINK=NO
+.endif
+INSTALL_TARGET= install_ocamlfind
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/ocaml-xml-light/PLIST
diff -u /dev/null pkgsrc/textproc/ocaml-xml-light/PLIST:1.1
--- /dev/null Thu Nov 29 10:45:38 2018
+++ pkgsrc/textproc/ocaml-xml-light/PLIST Thu Nov 29 10:45:37 2018
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/29 10:45:37 jaapb Exp $
+${OCAML_SITELIB}/xml-light/META
+${OCAML_SITELIB}/xml-light/dtd.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/xml-light/dtd.cmx
+${OCAML_SITELIB}/xml-light/dtd.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/xml-light/xml-light.a
+${OCAML_SITELIB}/xml-light/xml-light.cma
+${PLIST.ocaml-opt}${OCAML_SITELIB}/xml-light/xml-light.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/xml-light/xml-light.cmxs
+${OCAML_SITELIB}/xml-light/xml.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/xml-light/xml.cmx
+${OCAML_SITELIB}/xml-light/xml.mli
+${OCAML_SITELIB}/xml-light/xmlParser.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/xml-light/xmlParser.cmx
+${OCAML_SITELIB}/xml-light/xmlParser.mli
Index: pkgsrc/textproc/ocaml-xml-light/buildlink3.mk
diff -u /dev/null pkgsrc/textproc/ocaml-xml-light/buildlink3.mk:1.1
--- /dev/null Thu Nov 29 10:45:38 2018
+++ pkgsrc/textproc/ocaml-xml-light/buildlink3.mk Thu Nov 29 10:45:37 2018
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/11/29 10:45:37 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-xml-light
+
+.if !defined(OCAML_XML_LIGHT_BUILDLINK3_MK)
+OCAML_XML_LIGHT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-xml-light+= ocaml-xml-light>=2.4
+BUILDLINK_PKGSRCDIR.ocaml-xml-light?= ../../textproc/ocaml-xml-light
+.endif # OCAML_XML_LIGHT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-xml-light
Index: pkgsrc/textproc/ocaml-xml-light/distinfo
diff -u /dev/null pkgsrc/textproc/ocaml-xml-light/distinfo:1.1
--- /dev/null Thu Nov 29 10:45:38 2018
+++ pkgsrc/textproc/ocaml-xml-light/distinfo Thu Nov 29 10:45:37 2018
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/11/29 10:45:37 jaapb Exp $
+
+SHA1 (ocaml-xml-light/xml-light-2.4.tar.gz) = f46388fa4adbeb9bd40419a0f5c37c308c5b21a0
+RMD160 (ocaml-xml-light/xml-light-2.4.tar.gz) = e10e04f02e1ca6c1599365eba7a96bb7f54dce27
+SHA512 (ocaml-xml-light/xml-light-2.4.tar.gz) = 029068c6eb48cd1223438dc0f86e1c5e6fd0412d160ea4d79928eec5e5f5843af46260d7240e4260851e9580e7f92d578c764c63c8e0acab348637455493ef02
+Size (ocaml-xml-light/xml-light-2.4.tar.gz) = 16573 bytes
+SHA1 (patch-Makefile) = e0884127c5bf94af4f4f36d64dd50617e6c0695a
Index: pkgsrc/textproc/ocaml-xml-light/patches/patch-Makefile
diff -u /dev/null pkgsrc/textproc/ocaml-xml-light/patches/patch-Makefile:1.1
--- /dev/null Thu Nov 29 10:45:38 2018
+++ pkgsrc/textproc/ocaml-xml-light/patches/patch-Makefile Thu Nov 29 10:45:37 2018
@@ -0,0 +1,14 @@
+$NetBSD: patch-Makefile,v 1.1 2018/11/29 10:45:37 jaapb Exp $
+
+NATDYNLINK determined from pkgsrc settings
+--- Makefile.orig 2014-01-20 01:52:59.000000000 +0000
++++ Makefile
+@@ -12,7 +12,7 @@ CFLAGS=
+ LFLAGS= -a
+ LIBS=
+
+-NATDYNLINK := $(shell if [ -f `ocamlc -where`/dynlink.cmxa ]; then echo YES; else echo NO; fi)
++#NATDYNLINK := $(shell if [ -f `ocamlc -where`/dynlink.cmxa ]; then echo YES; else echo NO; fi)
+
+ ifeq "${NATDYNLINK}" "YES"
+ CMXS=xml-light.cmxs
Home |
Main Index |
Thread Index |
Old Index