summaryrefslogtreecommitdiff
path: root/time/ocaml-calendar/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-08-12 17:40:59 +0000
committerwiz <wiz@pkgsrc.org>2012-08-12 17:40:59 +0000
commit355a78dfd04e5452ba0a772979cc770521e1cbe7 (patch)
tree30e97d6fdb04b323745a0bff3bac5ce8e89df8f1 /time/ocaml-calendar/Makefile
parente4419086a085d32b044dca696ab990f948e36d71 (diff)
downloadpkgsrc-355a78dfd04e5452ba0a772979cc770521e1cbe7.tar.gz
Update to 2.03.2, from maintainer Jaap Boender.
version 2.03.2, 2012-06-26: =========================== o [Compilation] Compatibility with OCaml 4 version 2.03.1, 2011-03-24: =========================== * [Calendar] Fixed bug in Calendar.prev and Fcalendar.prev: mostly raised exception Date.Out_of_bounds before. * [Printer] `Thurday' was printed instead of `Thursday' version 2.03, 2010-07-05: ========================= o [Date] new function Date.precise_sub o [Calendar] new function Calendar.precise_sub (from Dario Teixeira's suggestion) * [Compilation] detect whether native dynlink works (prevents compilation bug on Mac OS X) version 2.02, 2009-12-11: ========================= o [License] add the usual Ocaml linking exception in the license o [Calendar] Calendar_sig.Period.to_time is deprecated. Replaced by a new function Calendar_sig.Period.safe_to_time o [Date] Date.Period.nb_days is deprecated. Replaced by a new function Date.Period.safe_nb_days o [Compilation] calendarLib.cmxs provided if ocaml >= 3.11 is installed (patch of Mehdi Dogguy) o [Date] new functions Date.make_year and Date.make_year_month o [Date] improve memory representation of Date.Period.t * [Compilation] remove installation of packed *.cmi * [Compilation] bug fixed under Cygwin * [Compilation] META files was incorrect, so "ocamlfind ocamlopt" did not work * [Compilation] file date_sig.mli, time_sig.mli and calendar_sig.mli was not properly linked version 2.01.1, 2009-02-23: =========================== o [Date] add a missing coercion rule for months (e.g. "Date.make 2008 18 1" is now equal to "Date.make 2009 6 1") * [Date] bug fixed in date arithmetic operations due to the missing above feature version 2.01, 2009-01-26: ========================= o [Printer] new formats available for printers and parsers - %C century: as %Y without the two last digits - %F replace %i which is now deprecated - %P am or pm - %R shortcut for %H:%M - %s number of seconds since 1970/1/1 - %z time zone in the form +hhmm (from Warren Harris' suggestion) - %:z time zone in the form +hh:mm (from Warren Harris' suggestion) - %::z time zone in the form +hh:mm:ss (from Warren Harris' suggestion) - %:::z time zone in the form +hh (from Warren Harris' suggestion) o [Printer] new paddings available for printers - 0 (zero): pad fields with zeroes like by default - ^: use uppercase if possible o [Compilation] calendarLib.cma and calendarLib.cmxa are now installed (Janne Hellsten and Guillaume Yziquel's suggestion) * [Tests] test suite now uses Utils.Float.equal if required (patch of Richard Jones) * [Compilation] small bug fixed in make install * [Compilation] support of win64 (patch of David Allsopp)
Diffstat (limited to 'time/ocaml-calendar/Makefile')
-rw-r--r--time/ocaml-calendar/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/time/ocaml-calendar/Makefile b/time/ocaml-calendar/Makefile
index 1667f5e4074..01ca8e0bbcc 100644
--- a/time/ocaml-calendar/Makefile
+++ b/time/ocaml-calendar/Makefile
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.4 2011/12/06 00:19:25 sbd Exp $
+# $NetBSD: Makefile,v 1.5 2012/08/12 17:40:59 wiz Exp $
#
-DISTNAME= calendar-2.0.4
+DISTNAME= calendar-2.03.2
PKGNAME= ocaml-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= time devel
-MASTER_SITES= # http://www.lri.fr/~signoles/prog/calendar/
+MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/915/
MAINTAINER= jaapb@kerguelen.org
-HOMEPAGE= http://www.lri.fr/~signoles/prog.en.html/
+HOMEPAGE= http://calendar.forge.ocamlcore.org/
COMMENT= OCaml library managing dates and times
+LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
@@ -19,16 +19,19 @@ GNU_CONFIGURE= yes
USE_TOOLS+= gmake
.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS= opt
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
-PLIST_SRC+= PLIST.opt
+PLIST.opt= yes
.endif
-PLIST_SRC+= PLIST
-
TEST_TARGET= tests
INSTALLATION_DIRS+= lib/ocaml/site-lib
+pre-install:
+ ${MKDIR} ${DESTDIR}${PREFIX}/lib/ocaml/site-lib
+
.include "../../lang/ocaml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"