diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-02-26 20:17:13 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-02-26 20:17:13 +0000 |
commit | 344f2dbb469bf55c2a0e7079ed631eb9fb7595ea (patch) | |
tree | 9ebb319092adef6af22546e06ec640df2e9cdc88 /devel/ocaml-calendar | |
parent | d8c6173b29ea4b742b8eaf801d0f28a99314315c (diff) |
Notes
Diffstat (limited to 'devel/ocaml-calendar')
-rw-r--r-- | devel/ocaml-calendar/Makefile | 24 | ||||
-rw-r--r-- | devel/ocaml-calendar/distinfo | 3 | ||||
-rw-r--r-- | devel/ocaml-calendar/files/patch-configure | 11 | ||||
-rw-r--r-- | devel/ocaml-calendar/pkg-descr | 3 | ||||
-rw-r--r-- | devel/ocaml-calendar/pkg-plist | 16 |
5 files changed, 57 insertions, 0 deletions
diff --git a/devel/ocaml-calendar/Makefile b/devel/ocaml-calendar/Makefile new file mode 100644 index 000000000000..0244c984c9bb --- /dev/null +++ b/devel/ocaml-calendar/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: ocaml-calendar +# Date created: Feb 26, 2007 +# Whom: Jaap Boender <jaapb@kerguelen.org> +# +# $FreeBSD$ +# + +PORTNAME= calendar +PORTVERSION= 1.09.6 +CATEGORIES= devel +MASTER_SITES= http://www.lri.fr/~signoles/prog/calendar/ +PKGNAMEPREFIX= ocaml- + +MAINTAINER= jaapb@kerguelen.org +COMMENT= A date and time library for OCaml + +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_OCAML= yes +USE_OCAML_FINDLIB= yes + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/lang/ocaml/bsd.ocaml.mk" +.include <bsd.port.post.mk> diff --git a/devel/ocaml-calendar/distinfo b/devel/ocaml-calendar/distinfo new file mode 100644 index 000000000000..2dcf375964ed --- /dev/null +++ b/devel/ocaml-calendar/distinfo @@ -0,0 +1,3 @@ +MD5 (calendar-1.09.6.tar.gz) = 3244aeeb27907dd6bcfc6c9de1fa3b21 +SHA256 (calendar-1.09.6.tar.gz) = 385add0e71dfb8d666379d9ce6a6db530c3d99f018e6ee9703c24f482c38d3cf +SIZE (calendar-1.09.6.tar.gz) = 155405 diff --git a/devel/ocaml-calendar/files/patch-configure b/devel/ocaml-calendar/files/patch-configure new file mode 100644 index 000000000000..4d42b194df0d --- /dev/null +++ b/devel/ocaml-calendar/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Fri Jul 7 15:49:01 2006 ++++ configure Mon Feb 26 14:08:55 2007 +@@ -1267,7 +1267,7 @@ + OCAMLLIB=`$OCAMLC -v | tail -1 | cut -f 4 -d " "` + echo "ocaml library path is $OCAMLLIB" + +-if [[ "$OCAMLVERSION" < "3.06" ]]; then ++if [ $OCAMLVERSION \< "3.06" ]; then + { { echo "$as_me:$LINENO: error: calendar needs ocaml version 3.06" >&5 + echo "$as_me: error: calendar needs ocaml version 3.06" >&2;} + { (exit 1); exit 1; }; } diff --git a/devel/ocaml-calendar/pkg-descr b/devel/ocaml-calendar/pkg-descr new file mode 100644 index 000000000000..4ae28778a48c --- /dev/null +++ b/devel/ocaml-calendar/pkg-descr @@ -0,0 +1,3 @@ +ocaml-calendar is an OCaml library for managing dates and times. + +WWW: http://www.lri.fr/~signoles/prog.en.html diff --git a/devel/ocaml-calendar/pkg-plist b/devel/ocaml-calendar/pkg-plist new file mode 100644 index 000000000000..b28b2780f853 --- /dev/null +++ b/devel/ocaml-calendar/pkg-plist @@ -0,0 +1,16 @@ +%%OCAML_SITELIBDIR%%/calendar/META +%%OCAML_SITELIBDIR%%/calendar/calendar.a +%%OCAML_SITELIBDIR%%/calendar/calendar.cma +%%OCAML_SITELIBDIR%%/calendar/calendar.cmi +%%OCAML_SITELIBDIR%%/calendar/calendar.cmxa +%%OCAML_SITELIBDIR%%/calendar/calendar.mli +%%OCAML_SITELIBDIR%%/calendar/date.cmi +%%OCAML_SITELIBDIR%%/calendar/date.mli +%%OCAML_SITELIBDIR%%/calendar/period.cmi +%%OCAML_SITELIBDIR%%/calendar/period.mli +%%OCAML_SITELIBDIR%%/calendar/printer.cmi +%%OCAML_SITELIBDIR%%/calendar/printer.mli +%%OCAML_SITELIBDIR%%/calendar/time.cmi +%%OCAML_SITELIBDIR%%/calendar/time.mli +%%OCAML_SITELIBDIR%%/calendar/time_Zone.cmi +%%OCAML_SITELIBDIR%%/calendar/time_Zone.mli |