head	1.16;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.11
	RELEASE_8_2_0:1.11
	RELEASE_6_EOL:1.11
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.11
	RELEASE_7_2_0:1.11
	RELEASE_7_1_0:1.8
	RELEASE_6_4_0:1.8
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.8
	RELEASE_6_3_0:1.8
	PRE_XORG_7:1.7
	RELEASE_4_EOL:1.7
	RELEASE_6_2_0:1.7
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.5
	RELEASE_5_4_0:1.5
	RELEASE_4_11_0:1.5
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.4
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2;
locks; strict;
comment	@# @;


1.16
date	2012.11.17.06.01.08;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.07.01.10.13.53;	author jase;	state Exp;
branches;
next	1.14;

1.14
date	2012.02.01.20.06.29;	author jgh;	state Exp;
branches;
next	1.13;

1.13
date	2011.04.05.22.23.32;	author stas;	state Exp;
branches;
next	1.12;

1.12
date	2011.03.02.06.26.38;	author wen;	state Exp;
branches;
next	1.11;

1.11
date	2009.03.26.03.32.57;	author lioux;	state Exp;
branches;
next	1.10;

1.10
date	2008.12.18.06.53.22;	author linimon;	state Exp;
branches;
next	1.9;

1.9
date	2008.11.30.04.20.05;	author lioux;	state Exp;
branches;
next	1.8;

1.8
date	2007.05.19.20.22.45;	author flz;	state Exp;
branches;
next	1.7;

1.7
date	2006.05.13.04.15.08;	author edwin;	state Exp;
branches;
next	1.6;

1.6
date	2005.08.28.18.14.19;	author lioux;	state Exp;
branches;
next	1.5;

1.5
date	2004.12.25.11.43.57;	author lioux;	state Exp;
branches;
next	1.4;

1.4
date	2004.03.13.10.26.12;	author lioux;	state Exp;
branches;
next	1.3;

1.3
date	2004.02.08.01.14.03;	author lioux;	state Exp;
branches;
next	1.2;

1.2
date	2003.02.23.19.58.32;	author lioux;	state Exp;
branches;
next	1.1;

1.1
date	2003.01.09.06.01.56;	author lioux;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Switch exporter over
@
text
@# 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: head/security/ocaml-cryptokit/Makefile 300897 2012-07-14 14:29:18Z beat $
#

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>
@


1.15
log
@- Update to 1.6 [1]
- 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)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@- Update to 1.5
- support for oasis and findlib
- added blowfish and MAC support along with bugfixes
- plist is removed in favor of generation via findlib
- remove META from FILESDIR, as it is now distributed
- maintainer address update

PR:	ports/164661
Submitted by: maintainer, Jaap.Boender at pps.jussieu.fr
Approved by:	crees (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	1.5
d11 1
a11 1
MASTER_SITES=	http://forge.ocamlcore.org/frs/download.php/639/
d25 5
a29 1
.ifndef(NOPORTDOCS)
@


1.13
log
@- Bump portrevisions on all ocaml libraries, as it appears that compiled
  interface files (.cmi) are not backward compatible with a newer ocaml
  version.

PR:		ports/156195
Suggested by:	mandree
@
text
@d9 1
a9 2
PORTVERSION=	1.3
PORTREVISION=	4
d11 1
a11 1
MASTER_SITES=	http://caml.inria.fr/distrib/bazar-ocaml/
d14 1
a14 1
MAINTAINER=	Jaap.Boender@@pps.jussieu.fr
d17 2
d21 2
a24 2
ALL_TARGET=	all allopt

d27 1
d33 1
d35 1
a35 30
post-configure:
# CFLAGS,PREFIX safeness
	@@${REINPLACE_CMD} -E -e \
		's|^(INSTALLDIR).*$$|\1=${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}|; \
		s|^CFLAGS=|CFLAGS\+=|; \
		s|(^CFLAGS.*)-O|\1|' \
		${WRKSRC}/Makefile

pre-install:
# in pre-install to make sure we're using the correct user:group
# combo
	@@${REINPLACE_CMD} -E -e \
		's|cp |${INSTALL_DATA} |' \
		${WRKSRC}/Makefile

post-install:
.ifndef(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}/doc
	@@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}/doc
.for file in ${DOC_FILES}
	@@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
	@@${INSTALL_DATA} ${FILESDIR}/META ${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}

.include <bsd.port.pre.mk>

DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}

.include <bsd.port.post.mk>
@


1.12
log
@- Installing of libraries in ${OCAML_SITELIBDIR)/stublibs, which is not searched;
- Creation of an install directory before the privilege switch.

PR:		ports/155171
Submitted by:	Jaap Boender <jaapb@@kerguelen.org> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.11
log
@Mark MAKE_JOBS_SAFE for SMP compilation
@
text
@d10 1
a10 1
PORTREVISION=	2
a45 2
# create installation dir
	@@${MKDIR} ${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/stublibs
@


1.10
log
@Update to 1.3 and assign maintainership.  Also, move the install files
to lib/ocaml/cryptokit/ to correspond with other ocaml ports.

Based on:	PR/122848
Submitted by:	Jaap Boender (new maintainer)
@
text
@d20 1
@


1.9
log
@Drop maintainership.
@
text
@d10 1
a10 1
PORTREVISION=	1
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d18 2
a19 1
BUILD_DEPENDS=	ocamlc:${PORTSDIR}/lang/ocaml
d34 1
a34 1
		's|^(INSTALLDIR).*$$|\1=${PREFIX}/lib/ocaml|; \
d46 1
a46 1
	@@${MKDIR} ${PREFIX}/lib/ocaml/stublibs
d56 1
@


1.8
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d15 1
a15 1
MAINTAINER=	lioux@@FreeBSD.org
@


1.7
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d10 1
@


1.6
log
@Update to 1.3
@
text
@a18 2
USE_REINPLACE=	yes

@


1.5
log
@Remove deprecated USE_SIZE
@
text
@d9 1
a9 1
PORTVERSION=	1.2
d25 2
d46 1
a46 1
	@@${MKDIR} ${PREFIX}/lib/ocaml
d57 5
a61 1
.include <bsd.port.mk>
@


1.4
log
@Update to 1.2
@
text
@a19 1
USE_SIZE=	yes
@


1.3
log
@USE_SIZEify
@
text
@d9 1
a9 1
PORTVERSION=	1.1
d28 2
d49 5
a53 2
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
@


1.2
log
@De-pkg-comment
@
text
@d20 1
@


1.1
log
@New port ocaml-cryptokit version 1.1: A variety of cryptographic
primitives for Objective Caml
@
text
@d15 1
@

