initial import of ocaml-calendar-1.09.3
-- The Calendar library is a library providing a set of operations over dates and times. This library is written for version 3.06 or greater of Objective Caml.
This commit is contained in:
parent
d2f5dce580
commit
dd94b8169f
25
devel/ocaml-calendar/Makefile
Normal file
25
devel/ocaml-calendar/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2005/09/22 14:38:41 avsm Exp $
|
||||
|
||||
COMMENT= "Objective Caml bindings for calendar functions"
|
||||
CATEGORIES= devel
|
||||
|
||||
V= 1.09.3
|
||||
DISTNAME= calendar-${V}
|
||||
PKGNAME= ocaml-calendar-${V}
|
||||
MASTER_SITES= http://www.lri.fr/~signoles/prog/calendar/
|
||||
|
||||
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
||||
HOMEPAGE= http://www.lri.fr/~signoles/prog.en.html
|
||||
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
|
||||
MODULES= lang/ocaml
|
||||
NO_REGRESS= Yes
|
||||
ALL_TARGET= all
|
||||
CONFIGURE_STYLE= gnu
|
||||
USE_GMAKE= yes
|
||||
|
||||
.include <bsd.port.mk>
|
4
devel/ocaml-calendar/distinfo
Normal file
4
devel/ocaml-calendar/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (calendar-1.09.3.tar.gz) = 1ece7e999bc401f7f5c8c16a6e254459
|
||||
RMD160 (calendar-1.09.3.tar.gz) = 3a8dc30212809608a28bceaa8b642dbb2dfcaaca
|
||||
SHA1 (calendar-1.09.3.tar.gz) = f4da27fd92c9f0b3105e4f792480dbe72803e6d8
|
||||
SIZE (calendar-1.09.3.tar.gz) = 154413
|
20
devel/ocaml-calendar/patches/patch-Makefile_in
Normal file
20
devel/ocaml-calendar/patches/patch-Makefile_in
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2005/09/22 14:38:41 avsm Exp $
|
||||
--- Makefile.in.orig Mon Jan 17 13:27:36 2005
|
||||
+++ Makefile.in Thu Sep 22 14:56:14 2005
|
||||
@@ -142,14 +142,8 @@ doc: $(CMO)
|
||||
#########
|
||||
|
||||
install: $(LIBS) $(CLIBS) META
|
||||
- @if [ "`sed -n -e 's/version = "\([0-9.]*\)"/\1/p' META`" = "$(VERSION)" ]; then \
|
||||
- (if test -d $(CAMLLIB)/site-lib/$(NAME); then $(MAKE) uninstall; fi;\
|
||||
- $(CAMLFIND) install $(NAME) $(LIBS) $(CLIBS) $(MLI) $(CMI) META\
|
||||
- )else \
|
||||
- (echo; echo "Not the good version. Please, do :"; \
|
||||
- echo " make clean && make"; \
|
||||
- echo "next reinstall"; echo) \
|
||||
- fi
|
||||
+ mkdir -p $(DESTDIR)/$(CAMLLIB)
|
||||
+ cp $(LIBS) $(CLIBS) $(MLI) $(CMI) $(DESTDIR)/$(CAMLLIB)
|
||||
|
||||
uninstall:
|
||||
$(CAMLFIND) remove $(NAME)
|
14
devel/ocaml-calendar/patches/patch-configure
Normal file
14
devel/ocaml-calendar/patches/patch-configure
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2005/09/22 14:38:41 avsm Exp $
|
||||
--- configure.orig Thu Sep 22 14:53:52 2005
|
||||
+++ configure Thu Sep 22 14:54:14 2005
|
||||
@@ -1515,9 +1515,7 @@ echo "${ECHO_T}no" >&6
|
||||
fi
|
||||
|
||||
if test "$OCAMLFIND" = no ; then
|
||||
- { { echo "$as_me:$LINENO: error: Cannot find ocamlfind." >&5
|
||||
-echo "$as_me: error: Cannot find ocamlfind." >&2;}
|
||||
- { (exit 1); exit 1; }; }
|
||||
+ OCAMLFIND=""
|
||||
fi
|
||||
|
||||
# Not mandatory tools
|
3
devel/ocaml-calendar/pkg/DESCR
Normal file
3
devel/ocaml-calendar/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
The Calendar library is a library providing a set of operations
|
||||
over dates and times. This library is written for version 3.06
|
||||
or greater of Objective Caml.
|
3
devel/ocaml-calendar/pkg/PFRAG.native
Normal file
3
devel/ocaml-calendar/pkg/PFRAG.native
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.native,v 1.1.1.1 2005/09/22 14:38:41 avsm Exp $
|
||||
lib/ocaml/calendar.a
|
||||
lib/ocaml/calendar.cmxa
|
16
devel/ocaml-calendar/pkg/PLIST
Normal file
16
devel/ocaml-calendar/pkg/PLIST
Normal file
@ -0,0 +1,16 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/09/22 14:38:41 avsm Exp $
|
||||
lib/ocaml/
|
||||
lib/ocaml/calendar.cma
|
||||
lib/ocaml/calendar.cmi
|
||||
lib/ocaml/calendar.mli
|
||||
lib/ocaml/date.cmi
|
||||
lib/ocaml/date.mli
|
||||
lib/ocaml/period.cmi
|
||||
lib/ocaml/period.mli
|
||||
lib/ocaml/printer.cmi
|
||||
lib/ocaml/printer.mli
|
||||
lib/ocaml/time.cmi
|
||||
lib/ocaml/time.mli
|
||||
lib/ocaml/time_Zone.cmi
|
||||
lib/ocaml/time_Zone.mli
|
||||
%%native%%
|
Loading…
Reference in New Issue
Block a user