Lines 2-20
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= opam |
4 |
PORTNAME= opam |
5 |
PORTVERSION= 1.1.1 |
5 |
PORTVERSION= 1.2.0 |
6 |
CATEGORIES= devel |
6 |
CATEGORIES= devel |
7 |
MASTER_SITES= http://www.ocamlpro.com/pub/ |
7 |
PKGNAMEPREFIX= ocaml- |
8 |
PKGNAMEPREFIX= ocaml- |
|
|
9 |
DISTNAME= opam-full-${PORTVERSION} |
10 |
|
8 |
|
11 |
MAINTAINER= joris@giovannangeli.fr |
9 |
MAINTAINER= joris@giovannangeli.fr |
12 |
COMMENT= Source-based package manager for OCaml |
10 |
COMMENT= Source-based package manager for OCaml |
13 |
|
11 |
|
14 |
LICENSE= GPLv3 |
12 |
LICENSE= GPLv3 |
15 |
|
13 |
|
|
|
14 |
USE_GITHUB= yes |
15 |
GH_ACCOUNT= ocaml |
16 |
GH_PROJECT= opam |
17 |
GH_TAGNAME= 1.2.0 |
18 |
GH_COMMIT= cbe460b |
19 |
|
20 |
MASTER_SITES= http://ocaml-extlib.googlecode.com/files/:extlib \ |
21 |
https://github.com/ocaml/ocaml-re/archive/:ocamlre \ |
22 |
http://erratique.ch/software/cmdliner/releases/:cmdliner \ |
23 |
http://ocamlgraph.lri.fr/download/:ocamlgraph \ |
24 |
https://gforge.inria.fr/frs/download.php/file/33593/:cudf \ |
25 |
https://gforge.inria.fr/frs/download.php/file/33677/:dose \ |
26 |
http://erratique.ch/software/uutf/releases/:uutf \ |
27 |
http://erratique.ch/software/jsonm/releases/:jsonm \ |
28 |
GH:gh |
29 |
|
30 |
OPAM_EXT_DIST= extlib-1.5.3.tar.gz:extlib \ |
31 |
ocaml-re-1.2.0.tar.gz:ocamlre \ |
32 |
cmdliner-0.9.4.tbz:cmdliner \ |
33 |
ocamlgraph-1.8.5.tar.gz:ocamlgraph \ |
34 |
cudf-0.7.tar.gz:cudf \ |
35 |
dose3-3.2.2.tar.gz:dose \ |
36 |
uutf-0.9.3.tbz:uutf \ |
37 |
jsonm-0.9.1.tbz:jsonm \ |
38 |
|
39 |
DISTFILES= ${OPAM_EXT_DIST} \ |
40 |
${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}.tar.gz:gh |
41 |
|
42 |
EXTRACT_ONLY= ${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}.tar.gz |
43 |
|
16 |
BUILD_DEPENDS= curl:${PORTSDIR}/ftp/curl |
44 |
BUILD_DEPENDS= curl:${PORTSDIR}/ftp/curl |
17 |
|
45 |
|
|
|
46 |
OPTIONS_DEFINE= RSYNC GIT WGET HG DARCS ASPCUD |
47 |
|
48 |
RSYNC_DESC= "Support remote repository synchronized with Rsync" |
49 |
WGET_DESC= "Support remote repository synchronized with git" |
50 |
GIT_DESC= "Support remote repository synchronized with HTTP" |
51 |
HG_DESC= "Support remote repository synchronized with mercurial" |
52 |
DARCS_DESC= "Support remote repository synchronized with darcs" |
53 |
ASPCUD_DESC= "Use aspcud as an external dependencies solver" |
54 |
|
55 |
OPTIONS_DEFAULT= RSYNC GIT WGET |
56 |
|
57 |
WGET_RUN_DEPENDS:=wget:${PORTSDIR}/ftp/wget |
58 |
RSYNC_RUN_DEPENDS:=rsync:${PORTSDIR}/net/rsync |
59 |
GIT_RUN_DEPENDS:=git:${PORTSDIR}/devel/git |
60 |
HG_RUN_DEPENDS:=hg:${PORTSDIR}/devel/mercurial |
61 |
DARCS_RUN_DEPENDS:=darcs:${PORTSDIR}/devel/hs-darcs |
62 |
ASPCUD_RUN_DEPENDS:=aspcud:${PORTSDIR}/math/aspcud |
63 |
|
64 |
ALL_TARGET= lib-ext all man |
65 |
|
18 |
USES= gmake |
66 |
USES= gmake |
19 |
USE_OCAML= yes |
67 |
USE_OCAML= yes |
20 |
GNU_CONFIGURE= yes |
68 |
GNU_CONFIGURE= yes |
Lines 22-25
MAKE_ENV+= TERM=xterm
Link Here
|
22 |
|
70 |
|
23 |
MAKE_JOBS_UNSAFE= yes |
71 |
MAKE_JOBS_UNSAFE= yes |
24 |
|
72 |
|
|
|
73 |
post-extract: |
74 |
${INSTALL} ${OPAM_EXT_DIST:C/:.*$//:S/^/${DISTDIR}\//} ${WRKSRC}/src_ext/ |
75 |
|
25 |
.include <bsd.port.mk> |
76 |
.include <bsd.port.mk> |