Hi, this diff will install documentation for ocaml-calendar and fix the META file. OK?
Christopher
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/ocaml-calendar/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile 22 Aug 2014 22:21:54 -0000 1.13
+++ Makefile 21 Oct 2014 18:17:05 -0000
@@ -6,7 +6,7 @@ CATEGORIES= devel
V= 2.03.2
DISTNAME= calendar-${V}
PKGNAME= ocaml-calendar-${V}
-REVISION= 4
+REVISION= 5
# You need to update MASTER_SITES too, when changing the version
number. MASTER_SITES=
https://forge.ocamlcore.org/frs/download.php/915/
@@ -25,7 +25,14 @@ CONFIGURE_STYLE= gnu
USE_GMAKE= yes
-pre-fake:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/ocaml
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ocaml-calendar/api
+ ${INSTALL_DATA} \
+ ${WRKDIST}/CHANGES \
+ ${PREFIX}/share/doc/ocaml-calendar/
+ ${INSTALL_DATA} \
+ ${WRKDIST}/doc/* \
+ ${PREFIX}/share/doc/ocaml-calendar/api/
+
.include <bsd.port.mk>
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/devel/ocaml-calendar/patches/patch-Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile_in
--- patches/patch-Makefile_in 18 Aug 2012 22:06:49 -0000
1.2 +++ patches/patch-Makefile_in 21 Oct 2014 18:17:05 -0000
@@ -1,7 +1,22 @@
$OpenBSD: patch-Makefile_in,v 1.2 2012/08/18 22:06:49 avsm Exp $
---- Makefile.in.orig Fri Aug 10 03:46:25 2012
-+++ Makefile.in Fri Aug 10 03:46:58 2012
-@@ -209,7 +209,7 @@ headers:
+
+ocamlfind is only usable if the library has a name!
+
+the target/*.cmx[as] would fail on bytecode only archs
+
+--- Makefile.in.orig Wed Jun 27 10:13:31 2012
++++ Makefile.in Thu Oct 2 10:36:32 2014
+@@ -120,7 +120,8 @@ src/version.ml: Makefile
+ echo "let date = \"`date`\"" >> $@
+
+ META: Makefile
+- echo "description = \"$(NAME) library\"" > $@
++ echo "name = \"$(NAME)\"" > $@
++ echo "description = \"$(NAME) library\"" >> $@
+ echo "version = \"$(VERSION)\"" >> $@
+ echo "archive(byte) = \"$(NAMELIB).cma\"" >> $@
+ echo "archive(native) = \"$(NAMELIB).cmxa\"" >> $@
+@@ -209,7 +210,7 @@ headers:
install: $(LIBS) $(CLIBS) META
@if [ "`sed -n -e 's/version = "\([0-9.+dev]*\)"/\1/p' META`"
= "$(VERSION)" ]; then \ (if test -d `ocamlfind install -help | grep
destdir | sed -e "s/.*default: \(.*\))/\1/"`/$(NAME); then $(MAKE)
uninstall; fi;\ Index: pkg/PLIST
=================================================================== RCS
file: /cvs/ports/devel/ocaml-calendar/pkg/PLIST,v retrieving revision
1.2 diff -u -p -r1.2 PLIST
--- pkg/PLIST 18 Aug 2012 22:06:49 -0000 1.2
+++ pkg/PLIST 21 Oct 2014 18:17:05 -0000
@@ -19,3 +19,103 @@ lib/ocaml/calendar/time_Zone.mli
lib/ocaml/calendar/time_sig.mli
lib/ocaml/calendar/utils.mli
lib/ocaml/calendar/version.mli
+share/doc/ocaml-calendar/
+share/doc/ocaml-calendar/CHANGES
+share/doc/ocaml-calendar/api/
+share/doc/ocaml-calendar/api/Calendar.Precise.html
+share/doc/ocaml-calendar/api/Calendar.html
+share/doc/ocaml-calendar/api/Calendar_builder.Make.html
+share/doc/ocaml-calendar/api/Calendar_builder.Make_Precise.html
+share/doc/ocaml-calendar/api/Calendar_builder.html
+share/doc/ocaml-calendar/api/Calendar_sig.S.Date.html
+share/doc/ocaml-calendar/api/Calendar_sig.S.Period.html
+share/doc/ocaml-calendar/api/Calendar_sig.S.Time.html
+share/doc/ocaml-calendar/api/Calendar_sig.S.html
+share/doc/ocaml-calendar/api/Calendar_sig.html
+share/doc/ocaml-calendar/api/Date.html
+share/doc/ocaml-calendar/api/Date_sig.S.Period.html
+share/doc/ocaml-calendar/api/Date_sig.S.html
+share/doc/ocaml-calendar/api/Date_sig.html
+share/doc/ocaml-calendar/api/Fcalendar.Precise.html
+share/doc/ocaml-calendar/api/Fcalendar.html
+share/doc/ocaml-calendar/api/Ftime.html
+share/doc/ocaml-calendar/api/Period.S.html
+share/doc/ocaml-calendar/api/Period.html
+share/doc/ocaml-calendar/api/Printer.Calendar.html
+share/doc/ocaml-calendar/api/Printer.CalendarPrinter.html
+share/doc/ocaml-calendar/api/Printer.Date.html
+share/doc/ocaml-calendar/api/Printer.DatePrinter.html
+share/doc/ocaml-calendar/api/Printer.Fcalendar.html
+share/doc/ocaml-calendar/api/Printer.Ftime.html
+share/doc/ocaml-calendar/api/Printer.Precise_Calendar.html
+share/doc/ocaml-calendar/api/Printer.Precise_Fcalendar.html
+share/doc/ocaml-calendar/api/Printer.S.html
+share/doc/ocaml-calendar/api/Printer.Time.html
+share/doc/ocaml-calendar/api/Printer.TimePrinter.html
+share/doc/ocaml-calendar/api/Printer.html
+share/doc/ocaml-calendar/api/Time.html
+share/doc/ocaml-calendar/api/Time_Zone.html
+share/doc/ocaml-calendar/api/Time_sig.S.Period.html
+share/doc/ocaml-calendar/api/Time_sig.S.Second.html
+share/doc/ocaml-calendar/api/Time_sig.S.html
+share/doc/ocaml-calendar/api/Time_sig.Second.html
+share/doc/ocaml-calendar/api/Time_sig.html
+share/doc/ocaml-calendar/api/Utils.Comparable.html
+share/doc/ocaml-calendar/api/Utils.Float.html
+share/doc/ocaml-calendar/api/Utils.Int.html
+share/doc/ocaml-calendar/api/Utils.html
+share/doc/ocaml-calendar/api/Version.html
+share/doc/ocaml-calendar/api/index.html
+share/doc/ocaml-calendar/api/index_attributes.html
+share/doc/ocaml-calendar/api/index_class_types.html
+share/doc/ocaml-calendar/api/index_classes.html
+share/doc/ocaml-calendar/api/index_exceptions.html
+share/doc/ocaml-calendar/api/index_methods.html
+share/doc/ocaml-calendar/api/index_module_types.html
+share/doc/ocaml-calendar/api/index_modules.html
+share/doc/ocaml-calendar/api/index_types.html
+share/doc/ocaml-calendar/api/index_values.html
+share/doc/ocaml-calendar/api/style.css
+share/doc/ocaml-calendar/api/type_Calendar.Precise.html
+share/doc/ocaml-calendar/api/type_Calendar.html
+share/doc/ocaml-calendar/api/type_Calendar_builder.Make.html
+share/doc/ocaml-calendar/api/type_Calendar_builder.Make_Precise.html
+share/doc/ocaml-calendar/api/type_Calendar_builder.html
+share/doc/ocaml-calendar/api/type_Calendar_sig.S.Date.html
+share/doc/ocaml-calendar/api/type_Calendar_sig.S.Period.html
+share/doc/ocaml-calendar/api/type_Calendar_sig.S.Time.html
+share/doc/ocaml-calendar/api/type_Calendar_sig.S.html
+share/doc/ocaml-calendar/api/type_Calendar_sig.html
+share/doc/ocaml-calendar/api/type_Date.html
+share/doc/ocaml-calendar/api/type_Date_sig.S.Period.html
+share/doc/ocaml-calendar/api/type_Date_sig.S.html
+share/doc/ocaml-calendar/api/type_Date_sig.html
+share/doc/ocaml-calendar/api/type_Fcalendar.Precise.html
+share/doc/ocaml-calendar/api/type_Fcalendar.html
+share/doc/ocaml-calendar/api/type_Ftime.html
+share/doc/ocaml-calendar/api/type_Period.S.html
+share/doc/ocaml-calendar/api/type_Period.html
+share/doc/ocaml-calendar/api/type_Printer.Calendar.html
+share/doc/ocaml-calendar/api/type_Printer.CalendarPrinter.html
+share/doc/ocaml-calendar/api/type_Printer.Date.html
+share/doc/ocaml-calendar/api/type_Printer.DatePrinter.html
+share/doc/ocaml-calendar/api/type_Printer.Fcalendar.html
+share/doc/ocaml-calendar/api/type_Printer.Ftime.html
+share/doc/ocaml-calendar/api/type_Printer.Precise_Calendar.html
+share/doc/ocaml-calendar/api/type_Printer.Precise_Fcalendar.html
+share/doc/ocaml-calendar/api/type_Printer.S.html
+share/doc/ocaml-calendar/api/type_Printer.Time.html
+share/doc/ocaml-calendar/api/type_Printer.TimePrinter.html
+share/doc/ocaml-calendar/api/type_Printer.html
+share/doc/ocaml-calendar/api/type_Time.html
+share/doc/ocaml-calendar/api/type_Time_Zone.html
+share/doc/ocaml-calendar/api/type_Time_sig.S.Period.html
+share/doc/ocaml-calendar/api/type_Time_sig.S.Second.html
+share/doc/ocaml-calendar/api/type_Time_sig.S.html
+share/doc/ocaml-calendar/api/type_Time_sig.Second.html
+share/doc/ocaml-calendar/api/type_Time_sig.html
+share/doc/ocaml-calendar/api/type_Utils.Comparable.html
+share/doc/ocaml-calendar/api/type_Utils.Float.html
+share/doc/ocaml-calendar/api/type_Utils.Int.html
+share/doc/ocaml-calendar/api/type_Utils.html
+share/doc/ocaml-calendar/api/type_Version.html
--
http://gmerlin.de
OpenPGP: http://gmerlin.de/christopher.pub
F190 D013 8F01 AA53 E080 3F3C F17F B0A1 D44E 4FEE
signature.asc
Description: PGP signature
