ports/132059: New port: archivers/ocaml-bz2 (OCaml bindings for libbzip2)
Jaap Boender
jaapb at kerguelen.org
Tue Feb 24 12:40:02 UTC 2009
>Number: 132059
>Category: ports
>Synopsis: New port: archivers/ocaml-bz2 (OCaml bindings for libbzip2)
>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: Tue Feb 24 12:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Jaap Boender
>Release: 7.1-STABLE
>Organization:
>Environment:
FreeBSD marion-dufresne.pps.jussieu.fr 7.1-STABLE FreeBSD 7.1-STABLE #2: Thu Feb 12 11:56:51 CET 2009 root at marion-dufresne.pps.jussieu.fr:/usr/obj/usr/src/sys/MARION-DUFRESNE i386
>Description:
This is a new port of ocaml-bz2, the OCaml bindings for libbzip2.
>How-To-Repeat:
n/a
>Fix:
shar included.
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/archivers/ocaml-bz2
# /usr/ports/archivers/ocaml-bz2/Makefile
# /usr/ports/archivers/ocaml-bz2/distinfo
# /usr/ports/archivers/ocaml-bz2/pkg-descr
#
echo c - /usr/ports/archivers/ocaml-bz2
mkdir -p /usr/ports/archivers/ocaml-bz2 > /dev/null 2>&1
echo x - /usr/ports/archivers/ocaml-bz2/Makefile
sed 's/^X//' >/usr/ports/archivers/ocaml-bz2/Makefile << '48e1c502ec04dbaf1984a011d51082fa'
X# New ports collection makefile for: ocaml-bz2
X# Date created: 2009-02-24
X# Whom: Jaap Boender <jaapb at kerguelen.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= bz2
XPORTVERSION= 0.6.0
XCATEGORIES= archivers
XMASTER_SITES= http://forge.ocamlcore.org/frs/download.php/72/
XPKGNAMEPREFIX= ocaml-
XDISTNAME= caml${PORTNAME}-${PORTVERSION}
X
XMAINTAINER= jaapb at kerguelen.org
XCOMMENT= OCaml library to manipulate bz2 files
X
XGNU_CONFIGURE= yes
XUSE_GMAKE= yes
X
XUSE_OCAML= yes
XUSE_OCAML_LDCONFIG=yes
XUSE_OCAML_WASH= yes
XUSE_OCAML_FINDLIB=yes
XUSE_OCAMLFIND_PLIST=yes
X
XPORTDOCS= *
X
X.include <bsd.port.pre.mk>
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
X (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR})
X.endif
X
X.include <bsd.port.post.mk>
48e1c502ec04dbaf1984a011d51082fa
echo x - /usr/ports/archivers/ocaml-bz2/distinfo
sed 's/^X//' >/usr/ports/archivers/ocaml-bz2/distinfo << 'e6f5b9daf7a224c75f23444c5810647e'
XMD5 (camlbz2-0.6.0.tar.gz) = 7a1cf822b3fe0ef57df4f8ebd86cac99
XSHA256 (camlbz2-0.6.0.tar.gz) = 8154b4e4699c48e14b4dd56cf839a0c10345e9860eb967066be040d432ae7388
XSIZE (camlbz2-0.6.0.tar.gz) = 57771
e6f5b9daf7a224c75f23444c5810647e
echo x - /usr/ports/archivers/ocaml-bz2/pkg-descr
sed 's/^X//' >/usr/ports/archivers/ocaml-bz2/pkg-descr << '0a6eefedaa5ab884e751f09fbf492baa'
XCamlBZ2 provides OCaml bindings for libbz2 (AKA bzip2), a popular compression
Xlibrary which typically compresses better (i.e., smaller resulting files) than
Xgzip.
X
XUsing CamlBZ2 you can read and write compressed "files", where files can be
Xanything offering an in_channel/out_channel abstraction (files, sockets, ...).
X
XAlso, with CamlBZ2 you can compress and decompress strings in memory using the
Xbzip2 compression algorithm.
X
XAuthor: Olivier Andreu <oandrieu at gmail.com> and
X Stefano Zacchiroli <zack at upsilon.cc>
XWWW: http://camlbz2.forge.ocamlcore.org
0a6eefedaa5ab884e751f09fbf492baa
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list