freebsd-ports/security/ocaml-ssl/Makefile

46 lines
885 B
Makefile
Raw Normal View History

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