Import camomile; unicode library for objective caml.

From Chris Zimmermann with tweaks.

OK sthen@
This commit is contained in:
edd 2012-07-13 08:38:09 +00:00
parent f6c372eda0
commit efdb987b06
6 changed files with 1411 additions and 0 deletions

View File

@ -0,0 +1,45 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/07/13 08:38:09 edd Exp $
COMMENT = unicode library for objective caml
CATEGORIES = devel
V = 0.8.3
DISTNAME = camomile-${V}
PKGNAME = ocaml-camomile-${V}
EXTRACT_SUFX = .tar.bz2
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=camomile/}
HOMEPAGE = http://camomile.sourceforge.net/
MAINTAINER = Christopher Zimmermann <madroach@gmerlin.de>
# LGPL >= 2
PERMIT_PACKAGE_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
MODULES = lang/ocaml
BUILD_DEPENDS = sysutils/findlib
CONFIGURE_STYLE = gnu dest
NO_REGRESS = Yes
USE_GMAKE = Yes
ALL_TARGET = all dochtml
pre-fake:
${INSTALL_DATA_DIR} ${PREFIX}/lib/ocaml/site-lib
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/camomile/html/
${INSTALL_DATA} ${WRKSRC}/Changes ${PREFIX}/share/doc/camomile/
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/camomile/
${INSTALL_DATA} ${WRKSRC}/dochtml/* \
${PREFIX}/share/doc/camomile/html/
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (camomile-0.8.3.tar.bz2) = xkdr20E40iK8FDlqgiBQNA==
RMD160 (camomile-0.8.3.tar.bz2) = VmUf9GJdvdmHZ4TBNpxabtaykKY=
SHA1 (camomile-0.8.3.tar.bz2) = nyYAAQggaJgFtatuQEghfqgh1TU=
SHA256 (camomile-0.8.3.tar.bz2) = lMjWXUF8kDAfazsh5LAOFRxDSj4tQGw9WzNjhZA08ns=
SIZE (camomile-0.8.3.tar.bz2) = 2646968

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2012/07/13 08:38:10 edd Exp $
Upstream bug:
http://sourceforge.net/tracker/?func=detail&aid=3318291&group_id=40603&atid=428416
--- Makefile.in.orig Mon Jul 9 19:29:06 2012
+++ Makefile.in Mon Jul 9 19:29:09 2012
@@ -70,7 +70,7 @@ OFLAGS = $(OOPTIONS) $(INCLUDES)
# Generic targets
#################
-all : byte $(OCAMLBEST) opt unidata unimaps charmap_data locale_data
+all : byte $(OCAMLBEST) unidata unimaps charmap_data locale_data
# Build the library
###################

View File

@ -0,0 +1,5 @@
Camomile is a Unicode library for OCaml language. Camomile provides
Unicode character type, UTF-8, UTF-16, UTF-32 strings, conversion
to/from about 200 encodings, collation and locale-sensitive case
mappings, and more. The library is currently designed for Unicode
Standard 3.2.

View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PFRAG.native,v 1.1.1.1 2012/07/13 08:38:10 edd Exp $
lib/ocaml/site-lib/camomile/camomile.a
lib/ocaml/site-lib/camomile/camomile.cmxa
lib/ocaml/site-lib/camomile/camomileLibrary.cmx
lib/ocaml/site-lib/camomile/camomileLibrary.cmxa
lib/ocaml/site-lib/camomile/camomileLibraryDefault.cmx
lib/ocaml/site-lib/camomile/camomileLibraryDyn.cmx

File diff suppressed because it is too large Load Diff