head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.2 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.4.0.6 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.4 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.2 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.3.0.20 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.18 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.16 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.14 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.12 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.10 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.8 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.6 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.4 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.2 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.1.1.1.0.14 pkgsrc-2009Q4-base:1.1.1.1 pkgsrc-2009Q3:1.1.1.1.0.12 pkgsrc-2009Q3-base:1.1.1.1 pkgsrc-2009Q2:1.1.1.1.0.10 pkgsrc-2009Q2-base:1.1.1.1 pkgsrc-2009Q1:1.1.1.1.0.8 pkgsrc-2009Q1-base:1.1.1.1 pkgsrc-2008Q4:1.1.1.1.0.6 pkgsrc-2008Q4-base:1.1.1.1 pkgsrc-2008Q3:1.1.1.1.0.4 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.2 cube-native-xorg-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2013.04.03.12.29.40; author jaapb; state dead; branches; next 1.4; 1.4 date 2012.08.16.11.50.46; author wiz; state Exp; branches; next 1.3; 1.3 date 2010.02.19.22.21.30; author joerg; state Exp; branches; next 1.2; 1.2 date 2010.01.30.17.43.42; author joerg; state Exp; branches; next 1.1; 1.1 date 2008.09.02.11.45.32; author obache; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.09.02.11.45.32; author obache; state Exp; branches; next ; desc @@ 1.5 log @Updated package to version 1.05, which adds native support for ocaml-findlib. @ text @$NetBSD: patch-aa,v 1.4 2012/08/16 11:50:46 wiz Exp $ Install in correct location using ocamlfind --- Makefile.orig 2002-04-22 15:28:57.000000000 +0000 +++ Makefile @@@@ -11,7 +11,7 @@@@ ZLIB_INCLUDE=/usr/local/include # Where to install the library. By default: sub-directory 'zip' of # OCaml's standard library directory. -INSTALLDIR=`$(OCAMLC) -where`/zip +INSTALLDIR=`$(OCAMLC) -where`/site-lib ### End of configuration section @@@@ -55,18 +55,10 @@@@ clean: 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) + ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(INSTALLDIR) + ocamlfind install -ldconf /dev/null -destdir ${DESTDIR}$(INSTALLDIR) -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 @ 1.4 log @Update to 1.04, provided by Jaap Boender in PR 46805: This is an upgrade to the latest version. Changes include: - Added function Zip.add_entry_generator. (Contributed by A. Frisch.) - The "level" optional argument was sometimes not honored; fixed. - Relicensed under LGPL 2.1 or above, with Caml's special exception for static linking. The package itself has been revamped as well, with destdir support, use of PLIST_VARS, and some more minor improvements. It's also been tested to work with ocaml 4.00. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2010/02/19 22:21:30 joerg Exp $ @ 1.3 log @Don't mess with ldconf. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2010/01/30 17:43:42 joerg Exp $ d3 1 @ 1.2 log @DESTDIR support @ text @d1 1 a1 1 $NetBSD$ d31 1 a31 1 + ocamlfind install -destdir ${DESTDIR}$(INSTALLDIR) -optional zip META zip.cma zip.cmi gzip.cmi zip.mli \ @ 1.1 log @Initial revision @ text @d3 12 a14 3 --- Makefile.orig 2002-04-22 17:28:57.000000000 +0200 +++ Makefile 2008-02-18 14:25:56.000000000 +0100 @@@@ -55,18 +55,9 @@@@ d30 2 a31 1 + ocamlfind install -optional zip META zip.cma zip.cmi gzip.cmi zip.mli \ @ 1.1.1.1 log @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. @ text @@