3d36cd46d3
interface files (.cmi) are not backward compatible with a newer ocaml version. PR: ports/156195 Suggested by: mandree
39 lines
800 B
Makefile
39 lines
800 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
|
|
PORTREVISION= 1
|
|
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>
|