pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocaml-dune



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Mar 28 17:08:09 UTC 2022

Modified Files:
        pkgsrc/devel/ocaml-dune: Makefile

Log Message:
ocaml-dune: honour PKGMANDIR


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/ocaml-dune/Makefile

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

Modified files:

Index: pkgsrc/devel/ocaml-dune/Makefile
diff -u pkgsrc/devel/ocaml-dune/Makefile:1.11 pkgsrc/devel/ocaml-dune/Makefile:1.12
--- pkgsrc/devel/ocaml-dune/Makefile:1.11       Tue Mar  1 09:33:09 2022
+++ pkgsrc/devel/ocaml-dune/Makefile    Mon Mar 28 17:08:09 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2022/03/01 09:33:09 jaapb Exp $
+# $NetBSD: Makefile,v 1.12 2022/03/28 17:08:09 tnn Exp $
 
 .include "Makefile.common"
 
@@ -34,6 +34,11 @@ OPAM_INSTALL_FILES=  dune-glob \
                        dune \
                        dune-private-libs
 
+SUBST_CLASSES+=                mandir
+SUBST_STAGE.mandir=    pre-configure
+SUBST_FILES.mandir=    src/dune_engine/install.ml
+SUBST_SED.mandir=      -e 's,sprintf "man%c",sprintf  "${PKGMANDIR}%c",'
+
 post-build:
        ${RUN} cd ${WRKSRC} && ./dune.exe build -p dune,dune-action-plugin,dune-build-info,dune-glob,dune-private-libs @install
 



Home | Main Index | Thread Index | Old Index