freebsd-ports/archivers/ocaml-bz2/Makefile
Renato Botelho ecb9aba10a 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>
2009-02-25 14:43:45 +00:00

39 lines
784 B
Makefile

# 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>