diff options
Diffstat (limited to 'security/ocaml-ssl/Makefile')
| -rw-r--r-- | security/ocaml-ssl/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/security/ocaml-ssl/Makefile b/security/ocaml-ssl/Makefile new file mode 100644 index 000000000000..a42a33123029 --- /dev/null +++ b/security/ocaml-ssl/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: ocaml-ssl +# Date created: March 14, 2007 +# Whom: Jaap Boender <jaapb@kerguelen.org> +# +# $FreeBSD$ + +PORTNAME= ssl +PORTVERSION= 0.4.1 +CATEGORIES= security devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= savonet +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 + +ALL_TARGET= all doc + +.if !defined(NOPORTDOCS) +PORTDOCS= * +.endif + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/lang/ocaml/bsd.ocaml.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> |
