2013-09-20 22:55:24 +00:00
|
|
|
# Created by: Jaap Boender <jaapb@kerguelen.org>
|
2007-03-16 11:57:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ssl
|
2016-11-15 20:44:35 +00:00
|
|
|
PORTVERSION= 0.5.3
|
2007-03-16 11:57:30 +00:00
|
|
|
CATEGORIES= security devel
|
|
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
|
2016-12-14 21:48:10 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-03-16 11:57:30 +00:00
|
|
|
COMMENT= OpenSSL bindings for OCaml
|
|
|
|
|
2017-03-15 09:01:55 +00:00
|
|
|
LICENSE= LGPL21+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2015-05-16 09:29:00 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= savonet
|
|
|
|
GH_PROJECT= ocaml-ssl
|
|
|
|
|
2016-09-11 04:04:12 +00:00
|
|
|
USES= autoreconf gmake ssl
|
2007-03-16 11:57:30 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --docdir=${DOCSDIR}
|
2014-03-26 21:32:39 +00:00
|
|
|
MAKE_ENV= OCAMLFIND_INSTFLAGS="-ldconf ignore"
|
2009-11-18 22:39:55 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2007-03-16 11:57:30 +00:00
|
|
|
|
2008-07-12 23:45:16 +00:00
|
|
|
USE_OCAML= yes
|
2007-03-16 11:57:30 +00:00
|
|
|
USE_OCAML_FINDLIB= yes
|
|
|
|
USE_OCAML_LDCONFIG= yes
|
2008-07-12 23:45:16 +00:00
|
|
|
USE_OCAMLFIND_PLIST= yes
|
2007-03-16 11:57:30 +00:00
|
|
|
|
|
|
|
ALL_TARGET= all doc
|
|
|
|
|
2016-09-11 04:04:12 +00:00
|
|
|
CPPFLAGS+= -I${OPENSSLINC}
|
|
|
|
CFLAGS+= -I${OPENSSLINC}
|
|
|
|
LDFLAGS+= -L${OPENSSLLIB}
|
|
|
|
|
2014-03-26 21:32:39 +00:00
|
|
|
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
|
2007-03-16 11:57:30 +00:00
|
|
|
PORTDOCS= *
|
|
|
|
|
2014-03-26 21:32:39 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2007-03-16 11:57:30 +00:00
|
|
|
|
2017-03-15 09:01:55 +00:00
|
|
|
post-install-DOCS-on:
|
2014-03-26 21:32:39 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/html/* ${STAGEDIR}${DOCSDIR}/html
|
2007-03-16 11:57:30 +00:00
|
|
|
|
2014-03-26 21:32:39 +00:00
|
|
|
.include <bsd.port.mk>
|