aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ocaml-opam/Makefile
blob: a050231c9e94e10956444913a3293601d46513ea (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
40
41
42
43
44
45
46
# Created by: J. Giovannangeli
# $FreeBSD$

PORTNAME=   opam
PORTVERSION=    1.2.2
PORTREVISION=   2
CATEGORIES= devel
MASTER_SITES=   https://github.com/ocaml/opam/releases/download/${DISTVERSION}/ \
        http://github.com/ocaml/opam/releases/download/${DISTVERSION}/
PKGNAMEPREFIX=  ocaml-
DISTNAME=   opam-full-${DISTVERSION}
DIST_SUBDIR=    opam-01

MAINTAINER= joris@giovannangeli.fr
COMMENT=    Source-based package manager for OCaml

LICENSE=    GPLv3

USES=       gmake
USE_OCAML=  yes
GNU_CONFIGURE=  yes
MAKE_ENV+=  TERM=xterm
ALL_TARGET= lib-ext all man

OPTIONS_DEFINE=     RSYNC GIT WGET HG DARCS ASPCUD
OPTIONS_DEFAULT=    RSYNC GIT WGET ASPCUD

RSYNC_DESC=     Remote repository synchronized with Rsync
WGET_DESC=      Remote repository synchronized with git
GIT_DESC=       Remote repository synchronized with HTTP
HG_DESC=        Remote repository synchronized with mercurial
DARCS_DESC=     Remote repository synchronized with darcs
ASPCUD_DESC=        Use aspcud as an external dependencies solver

WGET_RUN_DEPENDS:=  wget:${PORTSDIR}/ftp/wget
RSYNC_RUN_DEPENDS:= rsync:${PORTSDIR}/net/rsync
GIT_RUN_DEPENDS:=   git:${PORTSDIR}/devel/git
HG_RUN_DEPENDS:=    hg:${PORTSDIR}/devel/mercurial
DARCS_RUN_DEPENDS:= darcs:${PORTSDIR}/devel/hs-darcs
ASPCUD_RUN_DEPENDS:=    aspcud:${PORTSDIR}/math/aspcud

RUN_DEPENDS:=       camlp4:${PORTSDIR}/devel/ocaml-camlp4

MAKE_JOBS_UNSAFE=   yes

.include <bsd.port.mk>