aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/ocaml-bz2/Makefile
blob: 414ae090de124f5f6b5604169faad5c5dd6b9682 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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>