Thu Sep 28 09:15:24 2017 UTC ()
Updated devel/ocaml-re package to install documentation
(jaapb)
diff -r1.11 -r1.12 pkgsrc/devel/ocaml-re/Makefile
diff -r1.2 -r1.3 pkgsrc/devel/ocaml-re/PLIST
diff -r1.3 -r1.4 pkgsrc/devel/ocaml-re/buildlink3.mk
--- pkgsrc/devel/ocaml-re/Makefile 2017/09/08 09:51:22 1.11
+++ pkgsrc/devel/ocaml-re/Makefile 2017/09/28 09:15:24 1.12
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2017/09/08 09:51:22 jaapb Exp $
+# $NetBSD: Makefile,v 1.12 2017/09/28 09:15:24 jaapb Exp $
VERSION= 1.7.1
GITHUB_PROJECT= ocaml-re
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=ocaml/}
@@ -14,6 +14,11 @@
USE_TOOLS+= gmake
OCAML_USE_OASIS= yes
+CONFIGURE_ARGS+= --docdir ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+
+post-build:
+ ${RUN} cd ${WRKSRC} && \
+ ${SETENV} ${MAKE_ENV} ${OASIS_EXEC} -doc ${OASIS_BUILD_ARGS}
.include "../../mk/ocaml.mk"
.include "../../mk/bsd.pkg.mk"
--- pkgsrc/devel/ocaml-re/PLIST 2016/06/17 11:45:47 1.2
+++ pkgsrc/devel/ocaml-re/PLIST 2017/09/28 09:15:24 1.3
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2016/06/17 11:45:47 jaapb Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/09/28 09:15:24 jaapb Exp $
${OCAML_SITELIB}/re/META
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re.a
${OCAML_SITELIB}/re/re.annot
@@ -73,3 +73,35 @@
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_str.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_str.cmxs
${OCAML_SITELIB}/re/re_str.mli
+share/doc/ocaml-re/api/Re.Group.html
+share/doc/ocaml-re/api/Re.Mark.Set.html
+share/doc/ocaml-re/api/Re.Mark.html
+share/doc/ocaml-re/api/Re.html
+share/doc/ocaml-re/api/Re_emacs.html
+share/doc/ocaml-re/api/Re_glob.html
+share/doc/ocaml-re/api/Re_pcre.html
+share/doc/ocaml-re/api/Re_perl.html
+share/doc/ocaml-re/api/Re_posix.html
+share/doc/ocaml-re/api/Re_str.html
+share/doc/ocaml-re/api/index.html
+share/doc/ocaml-re/api/index_attributes.html
+share/doc/ocaml-re/api/index_class_types.html
+share/doc/ocaml-re/api/index_classes.html
+share/doc/ocaml-re/api/index_exceptions.html
+share/doc/ocaml-re/api/index_extensions.html
+share/doc/ocaml-re/api/index_methods.html
+share/doc/ocaml-re/api/index_module_types.html
+share/doc/ocaml-re/api/index_modules.html
+share/doc/ocaml-re/api/index_types.html
+share/doc/ocaml-re/api/index_values.html
+share/doc/ocaml-re/api/style.css
+share/doc/ocaml-re/api/type_Re.Group.html
+share/doc/ocaml-re/api/type_Re.Mark.Set.html
+share/doc/ocaml-re/api/type_Re.Mark.html
+share/doc/ocaml-re/api/type_Re.html
+share/doc/ocaml-re/api/type_Re_emacs.html
+share/doc/ocaml-re/api/type_Re_glob.html
+share/doc/ocaml-re/api/type_Re_pcre.html
+share/doc/ocaml-re/api/type_Re_perl.html
+share/doc/ocaml-re/api/type_Re_posix.html
+share/doc/ocaml-re/api/type_Re_str.html
--- pkgsrc/devel/ocaml-re/buildlink3.mk 2017/07/11 10:13:14 1.3
+++ pkgsrc/devel/ocaml-re/buildlink3.mk 2017/09/28 09:15:24 1.4
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2017/07/11 10:13:14 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2017/09/28 09:15:24 jaapb Exp $
BUILDLINK_TREE+= ocaml-re
@@ -6,7 +6,7 @@
OCAML_RE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ocaml-re+= ocaml-re>=1.6.0
-BUILDLINK_ABI_DEPENDS.ocaml-re+= ocaml-re>=1.7.1
+BUILDLINK_ABI_DEPENDS.ocaml-re+= ocaml-re>=1.7.1nb2
BUILDLINK_PKGSRCDIR.ocaml-re?= ../../devel/ocaml-re
.endif # OCAML_RE_BUILDLINK3_MK