forked from Lainports/freebsd-ports
- Convert to optionsNG and add DOCS option PR: ports/169290 [1] Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> Approved by: jaapb@kerguelen.org (maintainer), culot (mentor)
39 lines
824 B
Makefile
39 lines
824 B
Makefile
# New ports collection makefile for: ocaml cryptokit
|
|
# Date created: Thu Jan 9 03:04:06 BRST 2003
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cryptokit
|
|
PORTVERSION= 1.6
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/891/
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
MAINTAINER= jaapb@kerguelen.org
|
|
COMMENT= A variety of cryptographic primitives for Objective Caml
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
USE_OCAML= yes
|
|
USE_OCAML_LDCONFIG= yes
|
|
USE_OCAML_FINDLIB= yes
|
|
USE_OCAMLFIND_PLIST= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
ALL_TARGET+= doc
|
|
CONFIGURE_ARGS+= --docdir ${PREFIX}/share/doc/ocaml
|
|
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
DOC_FILES= Changes LICENSE README
|
|
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|