pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/ocaml-zip Import ocaml-zip-1.03 as archivers...
details: https://anonhg.NetBSD.org/pkgsrc/rev/423fa73db810
branches: trunk
changeset: 546477:423fa73db810
user: obache <obache%pkgsrc.org@localhost>
date: Tue Sep 02 11:45:32 2008 +0000
description:
Import ocaml-zip-1.03 as archivers/ocaml-zip.
Packaged by Jaap Boender and provided by PR 39113.
This Objective Caml library provides easy access to compressed files in ZIP
and GZIP format, as well as to Java JAR files. It provides functions
for reading from and writing to compressed files in these formats.
diffstat:
archivers/ocaml-zip/DESCR | 3 +++
archivers/ocaml-zip/Makefile | 30 ++++++++++++++++++++++++++++++
archivers/ocaml-zip/PLIST | 14 ++++++++++++++
archivers/ocaml-zip/PLIST.opt | 6 ++++++
archivers/ocaml-zip/distinfo | 6 ++++++
archivers/ocaml-zip/files/META | 7 +++++++
archivers/ocaml-zip/patches/patch-aa | 26 ++++++++++++++++++++++++++
7 files changed, 92 insertions(+), 0 deletions(-)
diffs (120 lines):
diff -r 35d108f37ef2 -r 423fa73db810 archivers/ocaml-zip/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/ocaml-zip/DESCR Tue Sep 02 11:45:32 2008 +0000
@@ -0,0 +1,3 @@
+This Objective Caml library provides easy access to compressed files in ZIP
+and GZIP format, as well as to Java JAR files. It provides functions
+for reading from and writing to compressed files in these formats.
diff -r 35d108f37ef2 -r 423fa73db810 archivers/ocaml-zip/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/ocaml-zip/Makefile Tue Sep 02 11:45:32 2008 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/02 11:45:32 obache Exp $
+#
+
+DISTNAME= camlzip-${VERSION}
+PKGNAME= ocaml-zip-${VERSION}
+VERSION= 1.03
+CATEGORIES= archivers
+MASTER_SITES= http://caml.inria.fr/distrib/bazar-ocaml/
+
+MAINTAINER= jaapb%kerguelen.org@localhost
+HOMEPAGE= http://cristal.inria.fr/~xleroy/software.html
+COMMENT= OCaml library to manipulate ZIP/GZIP/JAR archives
+
+DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
+
+BUILD_TARGET= all
+
+.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
+ (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
+BUILD_TARGET+= allopt
+PLIST_SRC+= PLIST.opt
+.endif
+
+PLIST_SRC+= PLIST
+
+post-extract:
+ ${CP} ${FILESDIR}/META ${WRKSRC}/META
+
+.include "../../lang/ocaml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 35d108f37ef2 -r 423fa73db810 archivers/ocaml-zip/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/ocaml-zip/PLIST Tue Sep 02 11:45:32 2008 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/02 11:45:32 obache Exp $
+@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/zip
+lib/ocaml/site-lib/zip/META
+lib/ocaml/site-lib/zip/dllcamlzip.so
+lib/ocaml/site-lib/zip/gzip.cmi
+lib/ocaml/site-lib/zip/gzip.mli
+lib/ocaml/site-lib/zip/libcamlzip.a
+lib/ocaml/site-lib/zip/zip.cma
+lib/ocaml/site-lib/zip/zip.cmi
+lib/ocaml/site-lib/zip/zip.mli
+lib/ocaml/site-lib/zip/zlib.cmi
+lib/ocaml/site-lib/zip/zlib.mli
+@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/zip
+@dirrm lib/ocaml/site-lib/zip
diff -r 35d108f37ef2 -r 423fa73db810 archivers/ocaml-zip/PLIST.opt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/ocaml-zip/PLIST.opt Tue Sep 02 11:45:32 2008 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST.opt,v 1.1.1.1 2008/09/02 11:45:32 obache Exp $
+lib/ocaml/site-lib/zip/gzip.cmx
+lib/ocaml/site-lib/zip/zip.a
+lib/ocaml/site-lib/zip/zip.cmx
+lib/ocaml/site-lib/zip/zip.cmxa
+lib/ocaml/site-lib/zip/zlib.cmx
diff -r 35d108f37ef2 -r 423fa73db810 archivers/ocaml-zip/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/ocaml-zip/distinfo Tue Sep 02 11:45:32 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/02 11:45:32 obache Exp $
+
+SHA1 (camlzip-1.03.tar.gz) = ecb4cbbdeb673d0aacdc961f38e4a14d5cf1627b
+RMD160 (camlzip-1.03.tar.gz) = fc773c0e351863538817f5c803a1b1d6cf9bc6e5
+Size (camlzip-1.03.tar.gz) = 24562 bytes
+SHA1 (patch-aa) = 1065dd91a8482d283db81e1fa24353f55eb1861f
diff -r 35d108f37ef2 -r 423fa73db810 archivers/ocaml-zip/files/META
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/ocaml-zip/files/META Tue Sep 02 11:45:32 2008 +0000
@@ -0,0 +1,7 @@
+name="camlzip"
+version="1.03"
+description="reading and writing ZIP, JAR and GZIP files"
+requires="unix"
+archive(byte)="camlzip.cma"
+archive(native)="camlzip.cmxa"
+linkopts = ""
diff -r 35d108f37ef2 -r 423fa73db810 archivers/ocaml-zip/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/ocaml-zip/patches/patch-aa Tue Sep 02 11:45:32 2008 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/09/02 11:45:32 obache Exp $
+
+--- Makefile.orig 2002-04-22 17:28:57.000000000 +0200
++++ Makefile 2008-02-18 14:25:56.000000000 +0100
+@@ -55,18 +55,9 @@
+ rm -f *.o *.a
+
+ install:
+- mkdir -p $(INSTALLDIR)
+- cp zip.cma zip.cmi gzip.cmi zip.mli gzip.mli libcamlzip.a $(INSTALLDIR)
+- if test -f dllcamlzip.so; then \
+- cp dllcamlzip.so $(INSTALLDIR); \
+- ldconf=`$(OCAMLC) -where`/ld.conf; \
+- installdir=$(INSTALLDIR); \
+- if test `grep -s -c $$installdir'$$' $$ldconf || :` = 0; \
+- then echo $$installdir >> $$ldconf; fi \
+- fi
+-
+-installopt:
+- cp zip.cmxa zip.a zip.cmx gzip.cmx $(INSTALLDIR)
++ ocamlfind install -optional zip META zip.cma zip.cmi gzip.cmi zip.mli \
++ gzip.mli libcamlzip.a dllcamlzip.so zip.cmxa zip.a zip.cmx gzip.cmx \
++ zlib.mli zlib.cmi zlib.cmx
+
+ depend:
+ gcc -MM -I$(ZLIB_INCLUDE) *.c > .depend
Home |
Main Index |
Thread Index |
Old Index