Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/devel/ocaml-extlib/Makefile 327724 2013-09-20 17:13:42Z bapt $ |
2 |
# $FreeBSD: head/devel/ocaml-extlib/Makefile 327724 2013-09-20 17:13:42Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= extlib |
4 |
PORTNAME= extlib |
5 |
PORTVERSION= 1.5.4 |
5 |
PORTVERSION= 1.6.1 |
6 |
CATEGORIES= devel |
6 |
CATEGORIES= devel |
7 |
MASTER_SITES= GOOGLE_CODE |
7 |
MASTER_SITES= GOOGLE_CODE |
8 |
PROJECTHOST= ${PKGNAMEPREFIX}${PORTNAME} |
8 |
PROJECTHOST= ${PKGNAMEPREFIX}${PORTNAME} |
Lines 19-42
Link Here
|
19 |
USE_OCAML_FINDLIB=yes |
19 |
USE_OCAML_FINDLIB=yes |
20 |
USE_OCAMLFIND_PLIST=yes |
20 |
USE_OCAMLFIND_PLIST=yes |
21 |
|
21 |
|
22 |
ALL_TARGET= all opt |
22 |
USES= gmake |
|
|
23 |
ALL_TARGET= all opt doc |
24 |
MAKE_JOBS_UNSAFE= yes |
23 |
|
25 |
|
24 |
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} |
26 |
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} |
25 |
|
27 |
|
26 |
PORTDOCS= * |
28 |
PORTDOCS= * |
27 |
|
29 |
|
28 |
NO_STAGE= yes |
30 |
OPTIONS_DEFINE= DOCS |
29 |
.include <bsd.port.options.mk> |
|
|
30 |
|
31 |
.if ${PORT_OPTIONS:MDOCS} |
32 |
ALL_TARGET+= doc |
33 |
PLIST_DIRSTRY= ${OCAML_DOCSDIR:S,^${PREFIX}/,,} |
34 |
.endif |
35 |
|
31 |
|
36 |
post-install: |
32 |
post-install: |
37 |
.if ${PORT_OPTIONS:MDOCS} |
33 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
38 |
@${MKDIR} ${DOCSDIR} |
34 |
(cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}) |
39 |
(cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${DOCSDIR}) |
|
|
40 |
.endif |
41 |
|
35 |
|
42 |
.include <bsd.port.mk> |
36 |
.include <bsd.port.mk> |