pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-react Package uses ocamlbuild - also clean...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d0f6108d324
branches:  trunk
changeset: 349051:5d0f6108d324
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Sat Jun 25 14:29:01 2016 +0000

description:
Package uses ocamlbuild - also cleaned up Makefile a bit. No upstream
changes.

diffstat:

 devel/ocaml-react/Makefile |  12 ++++--------
 devel/ocaml-react/PLIST    |   4 +---
 2 files changed, 5 insertions(+), 11 deletions(-)

diffs (49 lines):

diff -r ed78c3291a1e -r 5d0f6108d324 devel/ocaml-react/Makefile
--- a/devel/ocaml-react/Makefile        Sat Jun 25 14:19:45 2016 +0000
+++ b/devel/ocaml-react/Makefile        Sat Jun 25 14:29:01 2016 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2016/05/05 11:45:39 jaapb Exp $
+# $NetBSD: Makefile,v 1.12 2016/06/25 14:29:01 jaapb Exp $
 
 DISTNAME=      react-1.2.0
 PKGNAME=       ocaml-${DISTNAME}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    devel
 MASTER_SITES=  http://erratique.ch/software/react/releases/
 EXTRACT_SUFX=  .tbz
@@ -15,11 +15,7 @@
 CONFIGURE_ARGS+=       --prefix "${PREFIX}" --destdir "${DESTDIR}"
 INSTALLATION_DIRS+=    ${OCAML_SITELIBDIR}/react
 
-#SUBST_CLASSES+=   destdir
-#SUBST_STAGE.destdir=  post-configure
-#SUBST_MESSAGE.destdir=  Changing install location to DESTDIR
-#SUBST_FILES.destdir=  setup.ml
-#SUBST_SED.destdir=      -e 's,"install" :: findlib_name,"install" :: "-destdir ${DESTDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /dev/null" :: findlib_name,'
+OCAML_USE_FINDLIB=     yes
 
 .include "../../mk/ocaml.mk"
 
@@ -45,5 +41,5 @@
        ${INSTALL_DATA} ${WRKSRC}/_build/pkg/META \
                ${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/react
 
-.include "../../devel/ocaml-findlib/buildlink3.mk"
+.include "../../devel/ocamlbuild/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ed78c3291a1e -r 5d0f6108d324 devel/ocaml-react/PLIST
--- a/devel/ocaml-react/PLIST   Sat Jun 25 14:19:45 2016 +0000
+++ b/devel/ocaml-react/PLIST   Sat Jun 25 14:29:01 2016 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2014/10/09 21:38:49 jaapb Exp $
-@unexec %D/libexec/ocaml-findlib-register del %D/${OCAML_SITELIB}/react
+@comment $NetBSD: PLIST,v 1.4 2016/06/25 14:29:01 jaapb Exp $
 ${OCAML_SITELIB}/react/META
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/react/react.a
 ${OCAML_SITELIB}/react/react.cmi
@@ -12,4 +11,3 @@
 ${OCAML_SITELIB}/react/react_top.cma
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/react/react_top.cmxa
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/react/react_top.cmxs
-@exec %D/libexec/ocaml-findlib-register add %D/${OCAML_SITELIB}/react



Home | Main Index | Thread Index | Old Index