blob: 3cf6048822daeefe8c54d14553221c1f7ffdd4f6 (
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
41
42
43
44
45
46
47
48
49
50
51
|
# New ports collection makefile for: ocaml-ssl
# Date created: March 14, 2007
# Whom: Jaap Boender <jaapb@kerguelen.org>
#
# $FreeBSD$
PORTNAME= ssl
PORTVERSION= 0.4.3
CATEGORIES= security devel
MASTER_SITES= SF/savonet/ocaml-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ocaml-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= jaapb@kerguelen.org
COMMENT= OpenSSL bindings for OCaml
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --docdir=${DOCSDIR}
USE_OPENSSL= yes
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes
USE_OCAMLFIND_PLIST= yes
ALL_TARGET= all doc
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
.include <bsd.port.pre.mk>
post-extract:
# For nonstandard prefixes
.if !exists(${OCAMLFIND_DESTDIR})
${MKDIR} ${OCAMLFIND_DESTDIR}
.endif
.if !exists(${OCAMLFIND_LDCONF})
${TOUCH} ${OCAMLFIND_LDCONF}
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/html
${INSTALL_MAN} ${WRKSRC}/doc/html/* ${DOCSDIR}/html
.endif
.include <bsd.port.post.mk>
|