diff options
author | garga <garga@FreeBSD.org> | 2009-02-25 22:43:45 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2009-02-25 22:43:45 +0800 |
commit | 2363397078f922fd61119fc881e0affec47d509e (patch) | |
tree | eae213a7c3bede5feb6c6704e2f794812d1da84d /archivers/ocaml-bz2/Makefile | |
parent | 32652be4223366b40b0c4b36e10cfe5230b50349 (diff) | |
download | freebsd-ports-gnome-2363397078f922fd61119fc881e0affec47d509e.tar.gz freebsd-ports-gnome-2363397078f922fd61119fc881e0affec47d509e.tar.zst freebsd-ports-gnome-2363397078f922fd61119fc881e0affec47d509e.zip |
CamlBZ2 provides OCaml bindings for libbz2 (AKA bzip2), a popular compression
library which typically compresses better (i.e., smaller resulting files) than
gzip.
Using CamlBZ2 you can read and write compressed "files", where files can be
anything offering an in_channel/out_channel abstraction (files, sockets, ...).
Also, with CamlBZ2 you can compress and decompress strings in memory using the
bzip2 compression algorithm.
Author: Olivier Andreu <oandrieu@gmail.com> and
Stefano Zacchiroli <zack@upsilon.cc>
WWW: http://camlbz2.forge.ocamlcore.org
PR: ports/132059
Submitted by: Jaap Boender <jaapb at kerguelen.org>
Diffstat (limited to 'archivers/ocaml-bz2/Makefile')
-rw-r--r-- | archivers/ocaml-bz2/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/archivers/ocaml-bz2/Makefile b/archivers/ocaml-bz2/Makefile new file mode 100644 index 000000000000..9fe6b0fcf0bc --- /dev/null +++ b/archivers/ocaml-bz2/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: ocaml-bz2 +# Date created: 2009-02-24 +# Whom: Jaap Boender <jaapb@kerguelen.org> +# +# $FreeBSD$ +# + +PORTNAME= bz2 +PORTVERSION= 0.6.0 +CATEGORIES= archivers +MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/72/ +PKGNAMEPREFIX= ocaml- +DISTNAME= caml${PORTNAME}-${PORTVERSION} + +MAINTAINER= jaapb@kerguelen.org +COMMENT= OCaml library to manipulate bz2 files + +GNU_CONFIGURE= yes +USE_GMAKE= yes + +USE_OCAML= yes +USE_OCAML_LDCONFIG= yes +USE_OCAML_WASH= yes +USE_OCAML_FINDLIB= yes +USE_OCAMLFIND_PLIST= yes + +PORTDOCS= * + +.include <bsd.port.pre.mk> + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}) +.endif + +.include <bsd.port.post.mk> |