ports/109565: New port: devel/ocaml-calendar (date/time library for OCaml)

Jaap Boener jaapb at kerguelen.org
Mon Feb 26 13:40:08 UTC 2007


>Number:         109565
>Category:       ports
>Synopsis:       New port: devel/ocaml-calendar (date/time library for OCaml)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 26 13:40:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Jaap Boener
>Release:        6.2-STABLE
>Organization:
>Environment:
FreeBSD marion-dufresne.pps.jussieu.fr 6.2-STABLE FreeBSD 6.2-STABLE #1: Mon Jan 15 13:16:55 CET 2007     root at marion-dufresne.pps.jussieu.fr:/usr/obj/usr/src/sys/MARION-DUFRESNE  i386
>Description:
ocaml-calendar is an OCaml library for managing dates and times.

>How-To-Repeat:

>Fix:
shar file attached:

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/devel/ocaml-calendar
#	/usr/ports/devel/ocaml-calendar/Makefile
#	/usr/ports/devel/ocaml-calendar/distinfo
#	/usr/ports/devel/ocaml-calendar/files
#	/usr/ports/devel/ocaml-calendar/files/patch-configure
#	/usr/ports/devel/ocaml-calendar/pkg-descr
#	/usr/ports/devel/ocaml-calendar/pkg-plist
#
echo c - /usr/ports/devel/ocaml-calendar
mkdir -p /usr/ports/devel/ocaml-calendar > /dev/null 2>&1
echo x - /usr/ports/devel/ocaml-calendar/Makefile
sed 's/^X//' >/usr/ports/devel/ocaml-calendar/Makefile << 'END-of-/usr/ports/devel/ocaml-calendar/Makefile'
X# New ports collection makefile for:	ocaml-calendar
X# Date created:				Feb 26, 2007
X# Whom:					Jaap Boender <jaapb at kerguelen.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	calendar
XPORTVERSION=	1.09.6
XCATEGORIES=	devel
XMASTER_SITES=	http://www.lri.fr/~signoles/prog/calendar/
XPKGNAMEPREFIX=	ocaml-
X#DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	jaapb at kerguelen.org
XCOMMENT=	A date and time library for OCaml
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_OCAML=	yes
XUSE_OCAML_FINDLIB= yes
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/lang/ocaml/bsd.ocaml.mk"
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/devel/ocaml-calendar/Makefile
echo x - /usr/ports/devel/ocaml-calendar/distinfo
sed 's/^X//' >/usr/ports/devel/ocaml-calendar/distinfo << 'END-of-/usr/ports/devel/ocaml-calendar/distinfo'
XMD5 (calendar-1.09.6.tar.gz) = 3244aeeb27907dd6bcfc6c9de1fa3b21
XSHA256 (calendar-1.09.6.tar.gz) = 385add0e71dfb8d666379d9ce6a6db530c3d99f018e6ee9703c24f482c38d3cf
XSIZE (calendar-1.09.6.tar.gz) = 155405
END-of-/usr/ports/devel/ocaml-calendar/distinfo
echo c - /usr/ports/devel/ocaml-calendar/files
mkdir -p /usr/ports/devel/ocaml-calendar/files > /dev/null 2>&1
echo x - /usr/ports/devel/ocaml-calendar/files/patch-configure
sed 's/^X//' >/usr/ports/devel/ocaml-calendar/files/patch-configure << 'END-of-/usr/ports/devel/ocaml-calendar/files/patch-configure'
X--- configure.orig	Fri Jul  7 15:49:01 2006
X+++ configure	Mon Feb 26 14:08:55 2007
X@@ -1267,7 +1267,7 @@
X OCAMLLIB=`$OCAMLC -v | tail -1 | cut -f 4 -d " "`
X echo "ocaml library path is $OCAMLLIB"
X 
X-if [[ "$OCAMLVERSION" < "3.06" ]]; then
X+if [ $OCAMLVERSION \< "3.06" ]; then
X 	{ { echo "$as_me:$LINENO: error: calendar needs ocaml version 3.06" >&5
X echo "$as_me: error: calendar needs ocaml version 3.06" >&2;}
X    { (exit 1); exit 1; }; }
END-of-/usr/ports/devel/ocaml-calendar/files/patch-configure
echo x - /usr/ports/devel/ocaml-calendar/pkg-descr
sed 's/^X//' >/usr/ports/devel/ocaml-calendar/pkg-descr << 'END-of-/usr/ports/devel/ocaml-calendar/pkg-descr'
Xocaml-calendar is an OCaml library for managing dates and times.
X
XWWW: http://www.lri.fr/~signoles/prog.en.html
END-of-/usr/ports/devel/ocaml-calendar/pkg-descr
echo x - /usr/ports/devel/ocaml-calendar/pkg-plist
sed 's/^X//' >/usr/ports/devel/ocaml-calendar/pkg-plist << 'END-of-/usr/ports/devel/ocaml-calendar/pkg-plist'
X%%OCAML_SITELIBDIR%%/calendar/META
X%%OCAML_SITELIBDIR%%/calendar/calendar.a
X%%OCAML_SITELIBDIR%%/calendar/calendar.cma
X%%OCAML_SITELIBDIR%%/calendar/calendar.cmi
X%%OCAML_SITELIBDIR%%/calendar/calendar.cmxa
X%%OCAML_SITELIBDIR%%/calendar/calendar.mli
X%%OCAML_SITELIBDIR%%/calendar/date.cmi
X%%OCAML_SITELIBDIR%%/calendar/date.mli
X%%OCAML_SITELIBDIR%%/calendar/period.cmi
X%%OCAML_SITELIBDIR%%/calendar/period.mli
X%%OCAML_SITELIBDIR%%/calendar/printer.cmi
X%%OCAML_SITELIBDIR%%/calendar/printer.mli
X%%OCAML_SITELIBDIR%%/calendar/time.cmi
X%%OCAML_SITELIBDIR%%/calendar/time.mli
X%%OCAML_SITELIBDIR%%/calendar/time_Zone.cmi
X%%OCAML_SITELIBDIR%%/calendar/time_Zone.mli
END-of-/usr/ports/devel/ocaml-calendar/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list