head	1.23;
access;
symbols
	RELEASE_8_3_0:1.22
	RELEASE_9_0_0:1.21
	RELEASE_7_4_0:1.20
	RELEASE_8_2_0:1.20
	RELEASE_6_EOL:1.20
	RELEASE_8_1_0:1.20
	RELEASE_7_3_0:1.20
	RELEASE_8_0_0:1.20
	RELEASE_7_2_0:1.20
	RELEASE_7_1_0:1.20
	RELEASE_6_4_0:1.20
	RELEASE_5_EOL:1.19
	RELEASE_7_0_0:1.19
	RELEASE_6_3_0:1.19
	PRE_XORG_7:1.19
	RELEASE_4_EOL:1.18
	RELEASE_6_2_0:1.17
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.10
	RELEASE_5_4_0:1.8
	RELEASE_4_11_0:1.7
	RELEASE_5_3_0:1.7
	RELEASE_4_10_0:1.7
	RELEASE_5_2_1:1.5
	RELEASE_5_2_0:1.5
	RELEASE_4_9_0:1.5;
locks; strict;
comment	@# @;


1.23
date	2012.11.17.06.01.02;	author svnexp;	state Exp;
branches;
next	1.22;

1.22
date	2012.01.10.11.52.40;	author ale;	state Exp;
branches;
next	1.21;

1.21
date	2011.03.04.14.43.50;	author ale;	state Exp;
branches;
next	1.20;

1.20
date	2008.07.25.14.34.35;	author pav;	state Exp;
branches;
next	1.19;

1.19
date	2007.03.30.12.53.21;	author ale;	state Exp;
branches;
next	1.18;

1.18
date	2006.11.13.07.24.25;	author ale;	state Exp;
branches;
next	1.17;

1.17
date	2006.10.07.08.02.55;	author ale;	state Exp;
branches;
next	1.16;

1.16
date	2006.09.17.08.40.33;	author ale;	state Exp;
branches;
next	1.15;

1.15
date	2006.09.14.18.36.52;	author ale;	state Exp;
branches;
next	1.14;

1.14
date	2006.07.14.07.06.17;	author ale;	state Exp;
branches;
next	1.13;

1.13
date	2006.01.24.12.26.47;	author pav;	state Exp;
branches;
next	1.12;

1.12
date	2006.01.22.21.21.45;	author kris;	state Exp;
branches;
next	1.11;

1.11
date	2005.09.16.15.35.43;	author mnag;	state Exp;
branches;
next	1.10;

1.10
date	2005.04.24.18.54.36;	author kris;	state Exp;
branches;
next	1.9;

1.9
date	2005.04.06.09.38.13;	author danfe;	state Exp;
branches;
next	1.8;

1.8
date	2005.02.28.04.24.54;	author kris;	state Exp;
branches;
next	1.7;

1.7
date	2004.02.04.05.08.43;	author marcus;	state Exp;
branches;
next	1.6;

1.6
date	2004.01.30.09.29.33;	author perky;	state Exp;
branches;
next	1.5;

1.5
date	2003.08.11.02.15.56;	author foxfair;	state Exp;
branches;
next	1.4;

1.4
date	2003.07.18.13.12.09;	author arved;	state Exp;
branches;
next	1.3;

1.3
date	2003.07.09.18.20.26;	author arved;	state Exp;
branches;
next	1.2;

1.2
date	2003.06.22.08.32.19;	author foxfair;	state Exp;
branches;
next	1.1;

1.1
date	2003.06.21.06.11.49;	author foxfair;	state Exp;
branches;
next	;


desc
@@


1.23
log
@Switch exporter over
@
text
@# New ports collection makefile for:	cryptlib
# Date created:				17 Jun 2003
# Whom:					Foxfair Hu <foxfair@@FreeBSD.org>
#
# $FreeBSD: head/security/cryptlib/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=		cryptlib
PORTVERSION=		3.4.1
CATEGORIES=		security
MASTER_SITES=		ftp://ftp.franken.de/pub/crypt/cryptlib/
DISTNAME=		cl${PORTVERSION:S/.//g}

MAINTAINER=		ale@@FreeBSD.org
COMMENT=		A powerful security programming toolkit

ONLY_FOR_ARCHS=		i386 amd64

USE_ZIP=		yes
EXTRACT_BEFORE_ARGS=	-aq
NO_WRKSUBDIR=		yes
USE_GMAKE=		yes
MAKEFILE=		makefile
ALL_TARGET=		default FreeBSD shared
USE_LDCONFIG=		yes

PLIST_FILES=		include/cryptlib.h \
			lib/libcl.a lib/libcl.so \
			lib/libcl.so.3 lib/libcl.so.${PORTVERSION}

PORTDOCS=		README

.include <bsd.port.pre.mk>

post-patch:
	@@${REINPLACE_CMD} -e 's/%%CFLAGS%%/${CFLAGS}/' ${WRKSRC}/makefile
	@@${REINPLACE_CMD} -e 's/%%PTHREAD_CFLAGS%%/${PTHREAD_CFLAGS}/' ${WRKSRC}/makefile
	@@${REINPLACE_CMD} -e 's/%%PTHREAD_LIBS%%/${PTHREAD_LIBS}/' ${WRKSRC}/tools/getlibs.sh

do-install:
	${INSTALL_DATA} ${WRKSRC}/libcl.a ${WRKSRC}/libcl.so.${PORTVERSION} \
		${PREFIX}/lib
	${LN} -sf ${PREFIX}/lib/libcl.so.${PORTVERSION} ${PREFIX}/lib/libcl.so.3
	${LN} -sf ${PREFIX}/lib/libcl.so.3 ${PREFIX}/lib/libcl.so
	${INSTALL_DATA} ${WRKSRC}/cryptlib.h ${PREFIX}/include

.if !defined(NOPORTDOCS)
post-install:
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

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


1.22
log
@Update to 3.4.1 release.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.21
log
@Update to 3.4.0 release and add support for amd64.
@
text
@d9 1
a9 1
PORTVERSION=		3.4.0
@


1.20
log
@- Remove USE_GCC where it can be satisfied with base compiler on following
  FreeBSD versions: 5.3 and up, 6.x, 7.x, 8-CURRENT
@
text
@d9 1
a9 1
PORTVERSION=		3.3.1
a12 1
EXTRACT_SUFX=		.zip
d17 1
a17 3
OPTIONS=		OPTIMIZED_CFLAGS	"Build with optimized CFLAGS" off

ONLY_FOR_ARCHS=		i386
d27 4
a35 3
.if defined(WITH_OPTIMIZED_CFLAGS)
	@@${REINPLACE_CMD} -e 's/%%CFLAGS%%/${CFLAGS:N-O*:N-f*} -fomit-frame-pointer -O3/' ${WRKSRC}/makefile
.else
a36 1
.endif
d41 1
a41 1
	${INSTALL_DATA} ${WRKSRC}/libcl.a ${WRKSRC}/libcl.so.3.3.0 \
d43 1
a43 1
	${LN} -sf ${PREFIX}/lib/libcl.so.3.3.0 ${PREFIX}/lib/libcl.so.3
@


1.19
log
@Update to 3.3.1 release.
@
text
@a27 1
USE_GCC=		3.3+
@


1.18
log
@Fix build on 4.x.
@
text
@d9 1
a9 2
PORTVERSION=		3.3
PORTREVISION=		1
d45 1
a45 1
	${INSTALL_DATA} ${WRKSRC}/libcl.a ${WRKSRC}/libcl.so.${PORTVERSION}.0 \
d47 1
a47 1
	${LN} -sf ${PREFIX}/lib/libcl.so.${PORTVERSION}.0 ${PREFIX}/lib/libcl.so.3
@


1.17
log
@Try to fix on 4.X.
@
text
@d29 1
a29 1
USE_GCC=		3.2+
d42 2
a43 2
	@@${REINPLACE_CMD} -e 's/%%PTHREAD_CFLAGS%%/${PTHREAD_CFLAGS}/;s/%%PTHREAD_LIBS%%/${PTHREAD_LIBS}/' \
		${WRKSRC}/makefile
@


1.16
log
@The tarball has been rerolled with many post 3.3 release fixes,
so bump PORTREVISION, too.
@
text
@d29 1
@


1.15
log
@Update to 3.3 release.
@
text
@d10 1
@


1.14
log
@Update to 3.2.3 release:
- OPTIONSify (respect CFLAGS / OPTIMIZED_CFLAGS)
- Add support for PKCS#11 tokens
- Grap maintainership
@
text
@d9 1
a9 1
PORTVERSION=		3.2.3
d36 1
a36 1
	${REINPLACE_CMD} -e 's/%%CFLAGS%%/${CFLAGS:N-O*:N-f*} -fomit-frame-pointer -O3/' ${WRKSRC}/makefile
d38 1
a38 1
	${REINPLACE_CMD} -e 's/%%CFLAGS%%/${CFLAGS}/' ${WRKSRC}/makefile
d40 1
a40 1
	${REINPLACE_CMD} -e 's/%%PTHREAD_CFLAGS%%/${PTHREAD_CFLAGS}/;s/%%PTHREAD_LIBS%%/${PTHREAD_LIBS}/' \
d44 1
a44 1
	${INSTALL_DATA} ${WRKSRC}/libcl.a ${WRKSRC}/libcl.so.${PORTVERSION} \
d46 1
a46 1
	${LN} -sf ${PREFIX}/lib/libcl.so.${PORTVERSION} ${PREFIX}/lib/libcl.so.3
@


1.13
log
@- Unbreak

PR:		ports/92224
Submitted by:	Johan van Selst <johans@@stack.nl>
@
text
@d9 1
a9 1
PORTVERSION=		3.2.2
d15 1
a15 1
MAINTAINER=		ports@@FreeBSD.org
d18 2
d28 1
d30 1
a30 1
INSTALLS_SHLIB=		yes
d35 7
a41 1
	${REINPLACE_CMD} -e 's/-lc_r/${PTHREAD_LIBS}/' ${WRKSRC}/makefile
a43 1
	${INSTALL_PROGRAM} ${WRKSRC}/endian ${PREFIX}/bin
d46 2
a47 1
	${LN} -sf ${PREFIX}/lib/libcl.so.${PORTVERSION} ${PREFIX}/lib/libcl.so
d50 1
d52 3
a54 6
.	if !defined(NOPORTDOCS)
		${MKDIR} ${PREFIX}/share/doc/cryptlib
		${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cryptlib
.	endif
	${STRIP_CMD} ${PREFIX}/bin/endian
	${CAT} ${PKGMESSAGE}
@


1.12
log
@BROKEN: Hard-codes libc_r linkage
@
text
@a18 1
BROKEN=			Hard-codes libc_r linkage
d31 3
@


1.11
log
@Update to 3.2.2

Approved by: pav (mentor)
@
text
@d19 1
@


1.10
log
@Update to 3.2 to fix fetching.
@
text
@d9 1
a9 1
PORTVERSION=		3.2
d12 1
a12 1
DISTNAME=		cl32
d33 1
a33 1
	${INSTALL_DATA} ${WRKSRC}/libcl.a ${WRKSRC}/libcl.so.3.2.0 \
d35 1
a35 1
	${LN} -sf ${PREFIX}/lib/libcl.so.3.2.0 ${PREFIX}/lib/libcl.so
a36 4
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/cryptlib
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cryptlib
.endif
d39 4
@


1.9
log
@- Unbreak.  Distfile has changed.  A diff between the contents of the
  original distfile and the new one shows that the changes consist of
  inconsequential whitespace, and ones that NUL-terminate couple of
  strings (linebuffers).  Hence PORTREVISION bump. [1]
- Improve on Makefile header (reindent, spaces -> tabs)

PR:		ports/79591
Submitted by:	Sam Lawrance <boris(at)brooknet.com.au>
@
text
@d9 1
a9 2
PORTVERSION=		3.1
PORTREVISION=		2
d12 1
a12 1
DISTNAME=		cl31
d33 1
a33 1
	${INSTALL_DATA} ${WRKSRC}/libcl.a ${WRKSRC}/libcl.so.3.1.0 \
d35 1
a35 1
	${LN} -sf ${PREFIX}/lib/libcl.so.3.1.0 ${PREFIX}/lib/libcl.so
@


1.8
log
@BROKEN: Size mismatch
@
text
@d1 3
a3 3
# New ports collection makefile for:   cryptlib
# Date created:        17 Jun, 2003
# Whom:                Foxfair Hu <foxfair@@FreeBSD.org>
d10 1
a10 1
PORTREVISION=		1
a18 2
BROKEN=			Size mismatch

@


1.7
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d10 1
a10 1
PORTREVISION=	1
d19 2
@


1.6
log
@Update to 3.1
@
text
@d10 1
@


1.5
log
@Update to cryptlib 3.1 beta5, and change MAKE_ARGS to ALL_TARGET to prevent
a 'make all' failure.
@
text
@d9 1
a9 1
PORTVERSION=		3.1.b5
d11 2
a12 2
MASTER_SITES=		ftp://ftp.franken.de/pub/crypt/cryptlib/beta/
DISTNAME=		cl31beta05
@


1.4
log
@Build only on i386.

PR:		54455
Submitted by:	Mark Linimon <linimon@@lonesome.com>
@
text
@d9 1
a9 2
PORTVERSION=		3.1.b4
PORTREVISION=		1
d12 1
a12 1
DISTNAME=		cl31beta04
d25 1
a25 2
MAKE_ARGS=		all shared
USE_REINPLACE=		yes
a29 3

post-patch:
	${REINPLACE_CMD} -e "s,-fomit-frame-pointer -O3,${CFLAGS}," ${WRKSRC}/makefile
@


1.3
log
@- install cryptlib.h
- respect CFLAGS

PR:		54167[1]
Submitted by:	John Engelhart <johne@@zang.com>
@
text
@d19 2
@


1.2
log
@Change port name to cryptlib-3.1.b4 and satisfy naming rules in handbook.
@
text
@d10 1
d25 1
d31 3
d39 1
@


1.1
log
@Add cryptlib 3.1, a powerful security programming toolkit.

PR:		53397
Submitted by:	me
@
text
@d9 1
a9 2
PORTVERSION=		3.1
PORTREVISION=		beta4
@

