head 1.10; access; symbols pkgsrc-2022Q4:1.9.0.8 pkgsrc-2022Q4-base:1.9 pkgsrc-2022Q3:1.9.0.6 pkgsrc-2022Q3-base:1.9 pkgsrc-2022Q2:1.9.0.4 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.2 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.7.0.8 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.6 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.4 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.2 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.6.0.28 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.26 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.22 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.2 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.24 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.20 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.18 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.16 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.14 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.12 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.10 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.8 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.6 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.4 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.5.0.6 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.4 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.2 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.4.0.4 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.2 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.3.0.2 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.2.0.10 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.8 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.6 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.4 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.2 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.1.0.18 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.16 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.14 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.12 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.10 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.8 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.6 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.4 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.2 pkgsrc-2012Q3-base:1.1; locks; strict; comment @# @; 1.10 date 2023.01.09.14.24.40; author wiz; state dead; branches; next 1.9; commitid IruH0b5YzZK3iS8E; 1.9 date 2022.02.02.14.45.18; author wiz; state Exp; branches; next 1.8; commitid 4KsZK0XA0DrLm3rD; 1.8 date 2022.02.02.14.35.34; author wiz; state Exp; branches; next 1.7; commitid E4onHh6g0IAnj3rD; 1.7 date 2021.03.18.08.30.43; author jaapb; state Exp; branches; next 1.6; commitid qldqtwdzUJOoBLLC; 1.6 date 2017.07.11.09.57.11; author jaapb; state Exp; branches; next 1.5; commitid C8u7w8zkC6OglNYz; 1.5 date 2016.11.30.13.46.14; author wiz; state Exp; branches; next 1.4; commitid bEsMgW57voP2N9wz; 1.4 date 2016.05.05.09.42.19; author jaapb; state Exp; branches; next 1.3; commitid WiaGMn12VsPD9h5z; 1.3 date 2016.02.02.11.41.46; author jaapb; state Exp; branches; next 1.2; commitid y6AKet4w21AsNkTy; 1.2 date 2014.10.09.20.53.15; author jaapb; state Exp; branches; next 1.1; commitid nNs5XXR3hn8QhzTx; 1.1 date 2012.07.06.09.22.04; author wiz; state Exp; branches; next ; desc @@ 1.10 log @ocaml-findlib: update to 1.9.6. Summary of changes not found, 9 months of commits. @ text @$NetBSD: patch-Makefile,v 1.9 2022/02/02 14:45:18 wiz Exp $ use BSD_INSTALL_* instead of mkdir and cp --- Makefile.orig 2022-01-24 14:15:03.000000000 +0000 +++ Makefile @@@@ -24,7 +24,7 @@@@ install: check-installation for p in $(PARTS); do ( cd src/$$p; $(MAKE) install ); done $(MAKE) install-meta test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; $(MAKE) install-num-top; } - test ! -f 'site-lib-src/camlp4/META' || cp tools/safe_camlp4 "$(prefix)$(OCAMLFIND_BIN)" + test ! -f 'site-lib-src/camlp4/META' || $(BSD_INSTALL_SCRIPT) tools/safe_camlp4 "$(prefix)$(OCAMLFIND_BIN)" $(MAKE) install-doc uninstall: check-installation @@@@ -70,9 +70,9 @@@@ findlib.conf: findlib.conf.in .PHONY: install-doc install-doc: - mkdir -p "$(prefix)$(OCAMLFIND_MAN)/man1" "$(prefix)$(OCAMLFIND_MAN)/man3" "$(prefix)$(OCAMLFIND_MAN)/man5" - -cp doc/ref-man/ocamlfind.1 "$(prefix)$(OCAMLFIND_MAN)/man1" - -cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "$(prefix)$(OCAMLFIND_MAN)/man5" + $(BSD_INSTALL_MAN_DIR) "$(prefix)$(OCAMLFIND_MAN)/man1" "$(prefix)$(OCAMLFIND_MAN)/man3" "$(prefix)$(OCAMLFIND_MAN)/man5" + -$(BSD_INSTALL_MAN) doc/ref-man/ocamlfind.1 "$(prefix)$(OCAMLFIND_MAN)/man1" + -$(BSD_INSTALL_MAN) doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "$(prefix)$(OCAMLFIND_MAN)/man5" .PHONY: uninstall-doc uninstall-doc: @@@@ -102,8 +102,8 @@@@ check-installation: .PHONY: install-meta install-meta: - for x in $(SITELIB_META); do mkdir -p "$(prefix)$(OCAML_SITELIB)/$$x"; cp site-lib-src/$$x/META "$(prefix)$(OCAML_SITELIB)/$$x/META.tmp" && mv "$(prefix)$(OCAML_SITELIB)/$$x/META.tmp" "$(prefix)$(OCAML_SITELIB)/$$x/META"; done - mkdir -p "$(prefix)$(OCAML_SITELIB)/findlib"; cp Makefile.packages "$(prefix)$(OCAML_SITELIB)/findlib/Makefile.packages" + for x in $(SITELIB_META); do $(BSD_INSTALL_LIB_DIR) -p "$(prefix)$(OCAML_SITELIB)/$$x"; cp site-lib-src/$$x/META "$(prefix)$(OCAML_SITELIB)/$$x/META.tmp" && mv "$(prefix)$(OCAML_SITELIB)/$$x/META.tmp" "$(prefix)$(OCAML_SITELIB)/$$x/META"; done + $(BSD_INSTALL_LIB_DIR) -p "$(prefix)$(OCAML_SITELIB)/findlib"; $(BSD_INSTALL_DATA) Makefile.packages "$(prefix)$(OCAML_SITELIB)/findlib/Makefile.packages" .PHONY: uninstall-meta uninstall-meta: @@@@ -111,9 +111,9 @@@@ uninstall-meta: .PHONY: install-config install-config: - mkdir -p "`dirname \"$(prefix)$(OCAMLFIND_CONF)\"`" + $(BSD_INSTALL_DATA_DIR) "`dirname \"$(prefix)$(OCAMLFIND_CONF)\"`" @@if [ -f "$(prefix)$(OCAMLFIND_CONF)" ]; then echo "!!! Keeping old $(prefix)$(OCAMLFIND_CONF) !!!"; fi - test -f "$(prefix)$(OCAMLFIND_CONF)" || cp findlib.conf "$(prefix)$(OCAMLFIND_CONF)" + test -f "$(prefix)$(OCAMLFIND_CONF)" || $(BSD_INSTALL_DATA) findlib.conf "$(prefix)$(OCAMLFIND_CONF)" .PHONY: uninstall-config uninstall-config: @ 1.9 log @ocaml-findlib: update to 1.9.3. Changes not found. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.8 2022/02/02 14:35:34 wiz Exp $ @ 1.8 log @ocaml-findlib: use upstream DESTDIR variable called 'prefix' Bump PKGREVISION to be on the safe side. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.7 2021/03/18 08:30:43 jaapb Exp $ d5 1 a5 1 --- Makefile.orig 2022-01-19 22:39:27.000000000 +0000 d33 1 a33 1 - for x in $(SITELIB_META); do mkdir -p "$(prefix)$(OCAML_SITELIB)/$$x"; cp site-lib-src/$$x/META "$(prefix)$(OCAML_SITELIB)/$$x"; done d35 1 a35 1 + for x in $(SITELIB_META); do $(BSD_INSTALL_LIB_DIR) -p "$(prefix)$(OCAML_SITELIB)/$$x"; $(BSD_INSTALL_DATA) site-lib-src/$$x/META "$(prefix)$(OCAML_SITELIB)/$$x"; done @ 1.7 log @Updated devel/ocaml-findlib to version 1.9.1. Changes are mostly incremental (compatibility issues, bugfixes). @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 make package support DESTDIR; use BSD_INSTALL_* instead of mkdir and cp d5 1 a5 1 --- Makefile.orig 2021-03-16 11:43:00.000000000 +0000 d7 1 a7 9 @@@@ -18,13 +18,13 @@@@ opt: for p in $(PARTS); do ( cd src/$$p; $(MAKE) opt ) || exit; done install: check-installation - mkdir -p "$(prefix)$(OCAMLFIND_BIN)" - mkdir -p "$(prefix)$(OCAMLFIND_MAN)" + mkdir -p "$(DESTDIR)$(prefix)$(OCAMLFIND_BIN)" + mkdir -p "$(DESTDIR)$(prefix)$(OCAMLFIND_MAN)" $(MAKE) install-config d12 1 a12 1 + test ! -f 'site-lib-src/camlp4/META' || $(BSD_INSTALL_SCRIPT) tools/safe_camlp4 "$(DESTDIR)$(prefix)$(OCAMLFIND_BIN)" d23 3 a25 3 + $(BSD_INSTALL_MAN_DIR) "$(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man1" "$(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man3" "$(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man5" + -$(BSD_INSTALL_MAN) doc/ref-man/ocamlfind.1 "$(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man1" + -$(BSD_INSTALL_MAN) doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "$(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man5" d35 2 a36 2 + for x in $(SITELIB_META); do $(BSD_INSTALL_LIB_DIR) -p "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$$x"; $(BSD_INSTALL_DATA) site-lib-src/$$x/META "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$$x"; done + $(BSD_INSTALL_LIB_DIR) -p "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/findlib"; $(BSD_INSTALL_DATA) Makefile.packages "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/findlib/Makefile.packages" d45 2 a46 1 - @@if [ -f "$(prefix)$(OCAMLFIND_CONF)" ]; then echo "!!! Keeping old $(prefix)$(OCAMLFIND_CONF) !!!"; fi d48 1 a48 3 + $(BSD_INSTALL_DATA_DIR) "`dirname \"$(DESTDIR)$(prefix)$(OCAMLFIND_CONF)\"`" + @@if [ -f "$(DESTDIR)$(prefix)$(OCAMLFIND_CONF)" ]; then echo "!!! Keeping old $(prefix)$(OCAMLFIND_CONF) !!!"; fi + test -f "$(DESTDIR)$(prefix)$(OCAMLFIND_CONF)" || $(BSD_INSTALL_DATA) findlib.conf "$(DESTDIR)$(prefix)$(OCAMLFIND_CONF)" @ 1.6 log @Updated package to latest version, 1.7.3. Apart from a pkgsrc patch that allows for installation of .cmxs files, changes include: 1.7.3: Fix regarding num-top: this library is now also optional, as num. 1.7.2: Trying to protect against failures when several package installs are done in parallel. New subpackage "findlib.top" for the toploop (Jeremie Dimino). The "num" library is now optional. Shell scripts are started via "sh" command when there is no /bin/sh (ygrek) @ text @d4 2 a5 1 --- Makefile.orig 2017-06-05 14:32:28.000000000 +0000 d7 1 a7 1 @@@@ -17,14 +17,14 @@@@ opt: d10 1 a10 1 install: d13 2 a14 2 + $(BSD_INSTALL_PROGRAM_DIR) "$(DESTDIR)$(prefix)$(OCAMLFIND_BIN)" + $(BSD_INSTALL_MAN_DIR) "$(DESTDIR)$(prefix)$(OCAMLFIND_MAN)" d18 3 a20 5 test -z "$(NUMTOP)" || { cd src/findlib; $(MAKE) install-num-top; } if [ $(INSTALL_CAMLP4) -eq 1 ]; then \ - cp tools/safe_camlp4 "$(prefix)$(OCAMLFIND_BIN)"; \ + $(BSD_INSTALL_SCRIPT) tools/safe_camlp4 "$(DESTDIR)$(prefix)$(OCAMLFIND_BIN)"; \ fi d23 2 a24 1 @@@@ -71,9 +71,9 @@@@ findlib.conf: findlib.conf.in d37 1 a37 1 @@@@ -86,7 +86,7 @@@@ uninstall-doc: d41 4 a44 2 - for x in `ls site-lib-src`; do if [ -f "site-lib-src/$$x/META" ]; then mkdir -p "$(prefix)$(OCAML_SITELIB)/$$x"; cp site-lib-src/$$x/META "$(prefix)$(OCAML_SITELIB)/$$x"; fi; done + for x in `ls site-lib-src`; do if [ -f "site-lib-src/$$x/META" ]; then $(BSD_INSTALL_DATA_DIR) "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$$x"; $(BSD_INSTALL_DATA) site-lib-src/$$x/META "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$$x"; fi; done d48 1 a48 1 @@@@ -94,9 +94,9 @@@@ uninstall-meta: @ 1.5 log @Updated ocaml-findlib to 1.7.1. Fix man page installation. Changes: 1.7.1: added missing file to tarball 1.7.0: New command "ocamlfind printppx" that outputs how the ppx preprocessor would be called (Hendrik Tews). Support for the raw_spacetime library that comes with OCaml 4.04 (Gerd Stolpmann with help from Mark Shinwell). Require that ocamlc and ocamlc.opt are installed to the same directory for emitting the "opt" setting in the generated config file - same for ocamlopt.opt, ocamldep.opt, ocamldoc.opt. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.4 2016/05/05 09:42:19 jaapb Exp $ d4 1 a4 1 --- Makefile.orig 2016-11-18 13:04:45.000000000 +0000 d17 1 a17 1 cd src/findlib; $(MAKE) install-num-top @ 1.4 log @Updated package to latest version, 1.6.2. Changes include: Uninstalling findlib no longer uninstalls the ocamlbuild library by accident (Gabriel Scherer, Edwin Török) Adding an "ocamldoc" library, providing the cmi's for ocamldoc plugins (suggested by Armaël Guéneau) Support for OCaml-4.03: recognize that the new -color option has an argument (reported by Guillaume Bury) @ text @d1 1 a1 1 $NetBSD$ d4 1 a4 1 --- Makefile.orig 2016-03-07 13:46:34.000000000 +0000 d28 1 a28 1 - mkdir -p "$(prefix)$(OCAMLFIND_MAN)/man1" "$(prefix)$(OCAMLFIND_MAN)/man3 $(prefix)$(OCAMLFIND_MAN)/man5" d31 3 a33 3 + $(BSD_INSTALL_MAN_DIR( "$(prefix)$(OCAMLFIND_MAN)/man1" "$(prefix)$(OCAMLFIND_MAN)/man3 $(prefix)$(OCAMLFIND_MAN)/man5" + -$(BSD_INSTALL_MAN) doc/ref-man/ocamlfind.1 "$(prefix)$(OCAMLFIND_MAN)/man1" + -$(BSD_INSTALL_MAN) doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "$(prefix)$(OCAMLFIND_MAN)/man5" @ 1.3 log @Updated package to latest version, 1.6.1. Changes include: - 1.6.1: Just an important doc fix. - 1.6.0: Adding support for dynamically loading packages (François Bobot): new "plugin" variable, new Fl_dynload module. New command "ocamlfind lint" for checking META files (François Bobot). Also support MSYS_NT on Windows. Permit spaces in install paths (Christophe Troestler). Allow to query the location of the META file of a package: "ocamlfind query -format '%m'" (Gerd Stolpmann). Get the install path for the META file of packages: "ocamlfind printconf metapath" (Gerd Stolpmann). - 1.5.6: for MSVC build fixing bad filename suffix (Dmitry Bely). The switch -only-show did not work as described. (Error report from Bob Atkey.)

Also support mingw64 as system type (Matthieu Dubuget). Also some changes to wrapper scripts, needed for lang/coq. @ text @d4 1 a4 1 --- Makefile.orig 2015-12-07 14:35:24.000000000 +0000 d41 2 a42 2 - for x in `ls site-lib-src`; do if [ "$$x" != "CVS" -a -f "site-lib-src/$$x/META" ]; then mkdir -p "$(prefix)$(OCAML_SITELIB)/$$x"; cp site-lib-src/$$x/META "$(prefix)$(OCAML_SITELIB)/$$x"; fi; done + for x in `ls site-lib-src`; do if [ "$$x" != "CVS" -a -f "site-lib-src/$$x/META" ]; then $(BSD_INSTALL_DATA_DIR) "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$$x"; $(BSD_INSTALL_DATA) site-lib-src/$$x/META "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$$x"; fi; done @ 1.2 log @Updated package to latest version, 1.5.3. Package now uses ocaml.mk framework, and the buildlink wrapper has been modified to deal with quoted arguments properly. Changes: - 1.5.3: The installation of "bytes" respects now $prefix and the configured destination. New option -pp for "ocamlfind query", to get preprocessor packages. Updated the compatibility Bytes module to support extend, init, mapi, blit_string (Gabriel Scherer). - 1.5.2: support for the query formats "%+a" and "%+A". Fix: the "ppx" property is now also path-expanded when interpreted in a toploop. Fix: implicit "ppx" is not path-expanded anymore. Fix: Build bytes.cmxs only if natdynlink is enabled (Andy Ray). - 1.5.1: includes a file that was missing in 1.5 - 1.5: Including the "bytes" package that is either a compat package for ocaml < 4.02 or a fake package for ocaml >= 4.02. The package aims at helping to support the transition to the new "bytes" type for mutable strings. Also installing findlib.cmxs if OCaml supports it. Allowing to disable camlp4 (in prep for OCaml-4.02). The "ppx" package property can be specified for constructing ppx-type preprocessors (patches from Peter Zotov). @ text @d4 1 a4 1 --- Makefile.orig 2014-09-16 11:21:45.000000000 +0000 d28 6 a33 6 - mkdir -p $(prefix)$(OCAMLFIND_MAN)/man1 $(prefix)$(OCAMLFIND_MAN)/man3 $(prefix)$(OCAMLFIND_MAN)/man5 - -cp doc/ref-man/ocamlfind.1 $(prefix)$(OCAMLFIND_MAN)/man1 - -cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 $(prefix)$(OCAMLFIND_MAN)/man5 + $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man1 $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man3 $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man5 + -$(BSD_INSTALL_MAN) doc/ref-man/ocamlfind.1 $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man1 + -$(BSD_INSTALL_MAN) doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man5 @ 1.1 log @Update to 1.3.2. From Jaap Boender. - 1.3.2: Handling of empty arguments (Wojciech Meyer). Added entry for camlp4.fulllib. New switch -add for "ocamlfind install" (Hans Ole Rafaelsen). Further fixes for ocaml-4.00. Fixing the recognition of double .cmi interface files. Fixing -dontlink (it is now deeply interpreted). - 1.3.1: Fixing a bug with ocamlmklib that slipped through in 1.3.0 - 1.3.0: Fixes for ocaml-4.00 (especially topfind). Emitting an error if the configuration file does not exist. Emitting a warning if the selected toolchain does not exist. camlp4 is referenced by "+camlp4" in META. Including the sources for the documentation in the tarball. License change (simplification) for num_top_printers.mli. Fix ocamlmklib wrapper: processing contracted args (like -L/dir) correctly. Many wrappers get a new option -passrest instructing to pass all remaining options on the command-line unchanged to the invoked tool. Prettified -help output. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2010/08/21 15:27:31 asau Exp $ d3 5 a7 5 make package support DESTDIR --- Makefile.orig 2010-08-17 22:50:28.000000000 +0400 +++ Makefile 2010-08-21 19:10:59.000000000 +0400 @@@@ -17,13 +17,13 @@@@ for p in $(PARTS); do ( cd src/$$p; $(MAKE) opt ); done d12 3 a14 2 + mkdir -p "$(DESTDIR)$(prefix)$(OCAMLFIND_BIN)" + mkdir -p "$(DESTDIR)$(prefix)$(OCAMLFIND_MAN)" d18 4 a21 3 $(MAKE) install-config - cp tools/safe_camlp4 "$(prefix)$(OCAMLFIND_BIN)" + cp tools/safe_camlp4 "$(DESTDIR)$(prefix)$(OCAMLFIND_BIN)" d24 1 a24 2 uninstall: @@@@ -66,9 +66,9 @@@@ d31 3 a33 3 + mkdir -p $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man1 $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man3 $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man5 + -cp doc/ref-man/ocamlfind.1 $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man1 + -cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man5 d37 1 a37 1 @@@@ -81,7 +81,7 @@@@ d42 1 a42 1 + for x in `ls site-lib-src`; do if [ "$$x" != "CVS" -a -f "site-lib-src/$$x/META" ]; then mkdir -p "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$$x"; cp site-lib-src/$$x/META "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$$x"; fi; done d46 1 a46 1 @@@@ -89,9 +89,9 @@@@ d53 1 a53 1 + mkdir -p "`dirname \"$(DESTDIR)$(prefix)$(OCAMLFIND_CONF)\"`" d55 1 a55 1 + test -f "$(DESTDIR)$(prefix)$(OCAMLFIND_CONF)" || cp findlib.conf "$(DESTDIR)$(prefix)$(OCAMLFIND_CONF)" @