aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ocaml-ocurl/Makefile
blob: 86b7ffffec564b12d273158ea3baf554365e4107 (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
# Ports collection makefile for:    ocurl
# Date created:         Aug 6, 2004
# Whom:             Marwan BURELLE <marwan.burelle@lri.fr>
# $FreeBSD$

PORTNAME=   ocurl
PORTVERSION=    0.5.3
PORTREVISION=   2
CATEGORIES= ftp
MASTER_SITES=   SF
PKGNAMEPREFIX=  ocaml-
EXTRACT_SUFX=   .tgz

MAINTAINER= johans@FreeBSD.org
COMMENT=    An interface for OCaml to the curl lib

BUILD_DEPENDS=  ocamlc:${PORTSDIR}/lang/ocaml \
        ocamlfind:${PORTSDIR}/devel/ocaml-findlib
RUN_DEPENDS=    ocamlc:${PORTSDIR}/lang/ocaml \
        ocamlfind:${PORTSDIR}/devel/ocaml-findlib
LIB_DEPENDS=    curl:${PORTSDIR}/ftp/curl

WRKSRC=     ${WRKDIR}/${PORTNAME}
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+="--with-findlib"
MAKE_JOBS_UNSAFE=   yes

USE_OCAML=      yes
USE_OCAML_FINDLIB=  yes
USE_OCAML_LDCONFIG= yes

.include <bsd.port.mk>