Lines 2-48
Link Here
|
2 |
# $FreeBSD: head/devel/ocaml-typeconv/Makefile 345404 2014-02-21 13:36:12Z ehaupt $ |
2 |
# $FreeBSD: head/devel/ocaml-typeconv/Makefile 345404 2014-02-21 13:36:12Z ehaupt $ |
3 |
|
3 |
|
4 |
PORTNAME= type-conv |
4 |
PORTNAME= type-conv |
5 |
PORTVERSION= 108.07.00 |
5 |
PORTVERSION= 109.60.01 |
6 |
CATEGORIES= devel |
6 |
CATEGORIES= devel |
7 |
MASTER_SITES= https://ocaml.janestreet.com/ocaml-core/%SUBDIR%/ |
7 |
MASTER_SITES= https://ocaml.janestreet.com/ocaml-core/%SUBDIR%/ |
8 |
MASTER_SITE_SUBDIR= ${PORTVERSION}/individual |
8 |
MASTER_SITE_SUBDIR= ${PORTVERSION:R}.00/individual |
9 |
DISTNAME= ${PORTNAME:S,-,_,}-${PORTVERSION} |
|
|
10 |
PKGNAMEPREFIX= ocaml- |
9 |
PKGNAMEPREFIX= ocaml- |
|
|
10 |
DISTNAME= ${PORTNAME:S,-,_,}-${PORTVERSION} |
11 |
|
11 |
|
12 |
MAINTAINER= ports@FreeBSD.org |
12 |
MAINTAINER= ports@FreeBSD.org |
13 |
COMMENT= Type conversion routines for OCaml |
13 |
COMMENT= Type conversion routines for OCaml |
14 |
|
14 |
|
15 |
LICENSE= BSD |
15 |
LICENSE= BSD |
16 |
|
16 |
|
17 |
|
|
|
18 |
USE_OCAML= yes |
17 |
USE_OCAML= yes |
19 |
USE_OCAML_FINDLIB=yes |
18 |
USE_OCAML_FINDLIB=yes |
20 |
USE_OCAMLFIND_PLIST=yes |
19 |
USE_OCAMLFIND_PLIST=yes |
21 |
OCAML_PKGDIRS= ${PORTNAME:S,-,_,} |
20 |
OCAML_PKGDIRS= ${PORTNAME:S,-,_,} |
22 |
|
21 |
|
|
|
22 |
USES= gmake |
23 |
HAS_CONFIGURE= yes |
23 |
HAS_CONFIGURE= yes |
24 |
CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs |
24 |
CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs |
25 |
MAKE_JOBS_UNSAFE=yes |
25 |
MAKE_JOBS_UNSAFE=yes |
26 |
|
26 |
|
27 |
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME:S,-,_,} |
27 |
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME:S,-,_,} |
28 |
PORTDOCS= * |
|
|
29 |
|
28 |
|
30 |
NO_STAGE= yes |
29 |
PORTDOCS= * |
31 |
|
|
|
32 |
OPTIONS_DEFINE= DOCS |
33 |
|
34 |
.include <bsd.port.options.mk> |
35 |
|
36 |
.if ${PORT_OPTIONS:MDOCS} |
37 |
PLIST_DIRSTRY= ${OCAML_DOCSDIR:S,^${PREFIX}/,,} |
38 |
.endif |
39 |
|
30 |
|
40 |
post-install: |
31 |
post-install: |
41 |
.if ${PORT_OPTIONS:MDOCS} |
32 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
42 |
@${MKDIR} ${DOCSDIR} |
|
|
43 |
.for i in CHANGES.txt README.md |
33 |
.for i in CHANGES.txt README.md |
44 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) |
34 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) |
45 |
.endfor |
35 |
.endfor |
46 |
.endif |
|
|
47 |
|
36 |
|
48 |
.include <bsd.port.mk> |
37 |
.include <bsd.port.mk> |