-
Notifications
You must be signed in to change notification settings - Fork 724
/
Makefile
44 lines (31 loc) · 971 Bytes
/
Makefile
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
PORTNAME= opam
PORTVERSION= 2.1.2
CATEGORIES= devel
MASTER_SITES= https://github.com/ocaml/opam/releases/download/${DISTVERSION}/
PKGNAMEPREFIX= ocaml-
DISTNAME= opam-full-${DISTVERSION}
MAINTAINER= hannes@mehnert.org
COMMENT= Source-based package manager for OCaml
LICENSE= LGPL21
RUN_DEPENDS= curl:ftp/curl \
gpatch:devel/patch
USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-checks
MAKE_JOBS_UNSAFE= yes
ALL_TARGET= cold-lib-ext cold-all
OPTIONS_DEFINE= DARCS GIT MERCURIAL RSYNC
OPTIONS_DEFAULT= GIT RSYNC
NO_OPTIONS_SORT= yes
RSYNC_DESC= Remote repository synchronized with Rsync
DARCS_RUN_DEPENDS= darcs:devel/hs-darcs
GIT_RUN_DEPENDS= git:devel/git
MERCURIAL_RUN_DEPENDS= ${PY_MERCURIAL}
RSYNC_RUN_DEPENDS= rsync:net/rsync
NOPRECIOUSMAKEVARS= yes
pre-configure:
cd ${WRKSRC} && ${MAKE_CMD} compiler
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/opam-installer
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/opam
.include <bsd.port.mk>