Lines 3-8
Link Here
|
3 |
PORTNAME= ${GH_PROJECT:tl} |
3 |
PORTNAME= ${GH_PROJECT:tl} |
4 |
PORTVERSION= 1.12 |
4 |
PORTVERSION= 1.12 |
5 |
DISTVERSIONPREFIX= release- |
5 |
DISTVERSIONPREFIX= release- |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= math |
7 |
CATEGORIES= math |
7 |
PKGNAMEPREFIX= ocaml- |
8 |
PKGNAMEPREFIX= ocaml- |
8 |
|
9 |
|
Lines 21-26
GH_PROJECT= Zarith
Link Here
|
21 |
USE_OCAML= yes |
22 |
USE_OCAML= yes |
22 |
USE_OCAML_FINDLIB= yes |
23 |
USE_OCAML_FINDLIB= yes |
23 |
OCAMLFIND_LDCONF= /dev/null |
24 |
OCAMLFIND_LDCONF= /dev/null |
|
|
25 |
USE_OCAML_LDCONFIG= yes |
26 |
|
24 |
HAS_CONFIGURE= yes |
27 |
HAS_CONFIGURE= yes |
25 |
ALL_TARGET= all |
28 |
ALL_TARGET= all |
26 |
CONFIGURE_ENV= DESTDIR=${STAGEDIR} |
29 |
CONFIGURE_ENV= DESTDIR=${STAGEDIR} |
Lines 34-39
OPTIONS_DEFINE= DOCS
Link Here
|
34 |
|
37 |
|
35 |
DOCS_ALL_TARGET=doc |
38 |
DOCS_ALL_TARGET=doc |
36 |
|
39 |
|
|
|
40 |
post-install: |
41 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/${PORTNAME}.cmxs |
42 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/dllzarith.so |
43 |
|
37 |
post-install-DOCS-on: |
44 |
post-install-DOCS-on: |
38 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
45 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
39 |
${MV} ${WRKSRC}/html ${STAGEDIR}${DOCSDIR} |
46 |
${MV} ${WRKSRC}/html ${STAGEDIR}${DOCSDIR} |
40 |
- |
|
|