head	1.13;
access;
symbols
	RELEASE_8_3_0:1.12
	RELEASE_9_0_0:1.12
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	RELEASE_6_EOL:1.10
	RELEASE_8_1_0:1.10
	RELEASE_7_3_0:1.10
	RELEASE_8_0_0:1.10
	RELEASE_7_2_0:1.10
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.6
	RELEASE_7_0_0:1.6
	RELEASE_6_3_0:1.6
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1;
locks; strict;
comment	@# @;


1.13
date	2012.11.17.06.01.16;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2011.08.17.07.12.33;	author ale;	state Exp;
branches;
next	1.11;

1.11
date	2011.03.04.14.22.51;	author ale;	state Exp;
branches;
next	1.10;

1.10
date	2009.03.09.07.37.45;	author ale;	state Exp;
branches;
next	1.9;

1.9
date	2008.09.12.12.52.18;	author ale;	state Exp;
branches;
next	1.8;

1.8
date	2008.09.12.12.32.34;	author ale;	state Exp;
branches;
next	1.7;

1.7
date	2008.08.01.06.22.53;	author ale;	state Exp;
branches;
next	1.6;

1.6
date	2007.10.13.07.30.17;	author ale;	state Exp;
branches;
next	1.5;

1.5
date	2007.10.05.06.09.00;	author ale;	state Exp;
branches;
next	1.4;

1.4
date	2007.09.18.12.36.58;	author ale;	state Exp;
branches;
next	1.3;

1.3
date	2007.07.23.09.36.31;	author rafan;	state Exp;
branches;
next	1.2;

1.2
date	2007.07.05.13.00.25;	author ale;	state Exp;
branches;
next	1.1;

1.1
date	2007.01.08.09.12.58;	author ale;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Switch exporter over
@
text
@# New ports collection makefile for:	pkcs11-helper
# Date created:			8 Jan 2007
# Whom:				Alex Dupre <ale@@FreeBSD.org>
#
# $FreeBSD: head/security/pkcs11-helper/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	pkcs11-helper
PORTVERSION=	1.09
CATEGORIES=	security devel
MASTER_SITES=	http://www.opensc-project.org/files/${PORTNAME}/

MAINTAINER=	ale@@FreeBSD.org
COMMENT=	A helper library for multiple PKCS\#11 providers

LICENSE=	BSD GPLv2
LICENSE_COMB=	dual
LICENSE_FILE=	${WRKSRC}/COPYING
LICENSE_FILE_BSD=	${WRKSRC}/COPYING.BSD
LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING.GPL

USE_BZIP2=	yes
USE_OPENSSL=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	gnomehack pkgconfig
USE_LDCONFIG=	yes

CONFIGURE_ENV=	OPENSSL_CFLAGS="-I${OPENSSLINC}" \
		OPENSSL_LIBS="-L${OPENSSLLIB} -lssl"

CONFIGURE_ARGS=	--disable-crypto-engine-gnutls \
		--disable-crypto-engine-nss

MAN8=		pkcs11-helper-1.8

PORTDOCS=	*

post-patch:
	@@${REINPLACE_CMD} 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \
		${WRKSRC}/configure
	@@${REINPLACE_CMD} 's|install-data-am: install-apidocDATA|install-data-am:|' \
		${WRKSRC}/doc/api/Makefile.in
.if defined(NOPORTDOCS)
	@@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \
		${WRKSRC}/Makefile.in
	@@${REINPLACE_CMD} 's|install-data-am: install-man install-nodist_htmlDATA|install-data-am: install-man|' \
		${WRKSRC}/man/Makefile.in
.endif

.include <bsd.port.mk>
@


1.12
log
@Update to 1.09 release.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@Update to 1.08 release and add LICENSE.
@
text
@d9 1
a9 1
PORTVERSION=	1.08
@


1.10
log
@Update to 1.07 release.
@
text
@d9 1
a9 1
PORTVERSION=	1.07
d16 6
a49 1

@


1.9
log
@Really fix pkg-plist.

Approved by:	portmgr (implicit)
@
text
@d9 1
a9 1
PORTVERSION=	1.06
@


1.8
log
@Fix typo for NOPORTDOCS.

Approved by:	portmgr (erwin)
@
text
@d35 2
d40 2
@


1.7
log
@Update to 1.06 release.
@
text
@d36 1
a36 1
	@@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am|' \
@


1.6
log
@Update to 1.05 release.
@
text
@d9 1
a9 1
PORTVERSION=	1.05
@


1.5
log
@Update to 1.04 release.
@
text
@d9 1
a9 1
PORTVERSION=	1.04
@


1.4
log
@Add COMMENT escaping.
@
text
@d9 1
a9 1
PORTVERSION=	1.03
d25 2
a26 1
CONFIGURE_ARGS=	--disable-crypto-engine-gnutls
@


1.3
log
@- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
  supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
@
text
@d14 1
a14 1
COMMENT=	A helper library for multiple PKCS#11 providers
@


1.2
log
@Update to 1.03 release.
@
text
@d25 1
a25 2
CONFIGURE_ARGS=	--mandir=${PREFIX}/man \
		--disable-crypto-engine-gnutls
@


1.1
log
@pkcs11-helper is a library that simplifies the interaction
with PKCS#11 providers for end-user applications.

pkcs11-helper allows using multiple PKCS#11 providers at
the same time, enumerating available token certificates, or
selecting a certificate directly by serialized id, handling
card removal and card insert events, handling card re-insert
to a different slot, supporting session expiration and much
more all using a simple API.

pkcs11-helper is not designed to manage card content, since
object attributes are usually vendor specific, and 99% of
application need to access existing objects in order to
perform signature and decryption.

WWW:	http://www.opensc-project.org/pkcs11-helper/
@
text
@d9 1
a9 1
PORTVERSION=	1.02
d25 2
a26 1
CONFIGURE_ARGS=	--mandir=${PREFIX}/man
d28 1
a28 1
MAN8=		pkcs11-helper.8
d32 3
d36 1
a36 2
post-patch:
	@@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am|'
d40 1
@

