blob: f828577a64cff1882c98dc9111343a3b18942275 (
plain) (
blame)
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
|
# Created by: mukai
# $FreeBSD$
PORTNAME= extlib
PORTVERSION= 1.5.3
CATEGORIES= devel
MASTER_SITES= GOOGLE_CODE
PROJECTHOST= ${PKGNAMEPREFIX}${PORTNAME}
PKGNAMEPREFIX= ocaml-
MAINTAINER= ports@FreeBSD.org
COMMENT= A complete - yet small - standard library for OCaml
LICENSE= LGPL21
OPTIONS_DEFINE= DOCS
USE_OCAML= yes
USE_OCAML_FINDLIB=yes
USE_OCAMLFIND_PLIST=yes
ALL_TARGET= all opt
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
PORTDOCS= *
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
ALL_TARGET+= doc
PLIST_DIRSTRY= ${OCAML_DOCSDIR:S,^${PREFIX}/,,}
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${DOCSDIR})
.endif
.include <bsd.port.mk>
|