PORTNAME= bz2 PORTVERSION= 0.6.0 PORTREVISION= 3 CATEGORIES= archivers MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/72/ PKGNAMEPREFIX= ocaml- DISTNAME= caml${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= OCaml library to manipulate bz2 files WWW= http://camlbz2.forge.ocamlcore.org LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual OPTIONS_DEFINE= DOCS DESTDIRNAME= DONTUSEIT GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes USE_OCAML= yes USE_OCAML_FINDLIB= yes USE_OCAML_LDCONFIG= yes USE_OCAML_WASH= yes USE_OCAMLFIND_PLIST= yes USES= gmake PORTDOCS= * DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/bz2/dllcamlbz2.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include