head	1.12;
access;
symbols
	RELEASE_8_3_0:1.10
	RELEASE_9_0_0:1.10
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.7
	RELEASE_8_1_0:1.7
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.7
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.1;
locks; strict;
comment	@# @;


1.12
date	2012.12.10.13.48.07;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2012.11.17.06.01.05;	author svnexp;	state Exp;
branches;
next	1.10;

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

1.9
date	2011.07.21.05.02.55;	author linimon;	state Exp;
branches;
next	1.8;

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

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

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

1.5
date	2008.06.06.14.00.53;	author edwin;	state Exp;
branches;
next	1.4;

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

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

1.2
date	2007.05.19.20.22.39;	author flz;	state Exp;
branches;
next	1.1;

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


desc
@@


1.12
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308605
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308605 | bapt | 2012-12-10 13:43:43 +0000 (Mon, 10 Dec 2012) | 3 lines
## SVN ##
## SVN ## Decommissioning java 1.5 (EOLed since October 2009):
## SVN ## suppress any reference to JAVA_VERSION=	1.5+ (part3)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Alex Dupre <ale@@FreeBSD.org>
# $FreeBSD: head/security/iaikpkcs11wrapper/Makefile 308605 2012-12-10 13:43:43Z bapt $

PORTNAME=	iaikPkcs11Wrapper
PORTVERSION=	1.2.18
CATEGORIES=	security java devel
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	ale
DISTNAME=	${PORTNAME}_${PORTVERSION:S/./_/g}

MAINTAINER=	ale@@FreeBSD.org
COMMENT=	A PKCS\#11 Java wrapper

USE_ZIP=	yes
USE_JAVA=	yes
JAVA_VERSION=	1.6+
JAVA_OS=	native
USE_GMAKE=	yes
ALL_TARGET=	release

PLIST_FILES=	lib/libpkcs11wrapper.so %%JAVAJARDIR%%/iaikPkcs11Wrapper.jar

PORTDOCS=	*
PORTEXAMPLES=	*

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
WRKSRC=		${WRKDIR}/src/native/unix/linux-x86_64
.else
WRKSRC=		${WRKDIR}/src/native/unix/linux-x86
.endif

do-install:
	@@${ECHO_MSG} -n ">> Installing JNI library in ${PREFIX}/lib..."
	@@${INSTALL_PROGRAM} ${WRKSRC}/release/libpkcs11wrapper.so ${PREFIX}/lib/
	@@${ECHO_MSG} " [ DONE ]"
	@@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/iaikPkcs11Wrapper.jar..."
	@@${INSTALL_DATA} ${WRKDIR}/bin/iaikPkcs11Wrapper.jar ${JAVAJARDIR}/
	@@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
	@@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
	@@${MKDIR} ${DOCSDIR}
	@@cd ${WRKDIR}/docs && ${FIND} * | \
		${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
	@@${ECHO_MSG} " [ DONE ]"
.endif
.if !defined(NOPORTEXAMPLES)
	@@${ECHO_MSG} -n ">> Installing examples in ${EXAMPLESDIR}..."
	@@${MKDIR} ${EXAMPLESDIR}
	@@cd ${WRKDIR}/examples && ${FIND} * | \
		${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} > /dev/null 2>&1
	@@${ECHO_MSG} " [ DONE ]"
.endif

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


1.11
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:    iaikPkcs11Wrapper
# Date created:			19 Feb 2007
# Whom:				Alex Dupre <ale@@FreeBSD.org>
#
# $FreeBSD: head/security/iaikpkcs11wrapper/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d16 1
a16 1
JAVA_VERSION=	1.5+
@


1.10
log
@Update to 1.2.18 release.

Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.9
log
@Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
remove support for them from bsd.java.mk.  As Jikes is not available in Java 1.5
or higher, remove it from bsd.java.mk too (suggested by hq@@) and from the ports
which used it (only occurences were USE_JIKES=no).  Support for the Blackdown VM
is also removed, as it is not available in Java 1.5 and higher.

Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect
old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5.
While here, replace static values of JAVA_VERSION in files/*.in by
%%JAVA_VERSION%% .

PR:		ports/158969
Submitted by:	rene
Tested on:	pointyhat-west -exp
@
text
@d9 1
a9 2
PORTVERSION=	1.2.17
PORTREVISION=	1
d13 1
a13 1
DISTNAME=	${PORTNAME}${PORTVERSION}
d28 1
d33 1
a33 1
WRKSRC=		${WRKDIR}/native/platforms/linux_x64
d35 1
a35 1
WRKSRC=		${WRKDIR}/native/platforms/linux
d43 1
a43 1
	@@${INSTALL_DATA} ${WRKDIR}/java/lib/iaikPkcs11Wrapper.jar ${JAVAJARDIR}/
d50 7
a56 2
	@@cd ${WRKDIR}/java/docs && ${FIND} api-doc | \
		${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
@


1.8
log
@Optimize C_GetAttributeValues: remove not needed call.
@
text
@d21 1
a21 1
JAVA_VERSION=	1.2+
@


1.7
log
@Fix build on 64-bit archs.
@
text
@d10 1
@


1.6
log
@Update to 1.2.17 release.
@
text
@a24 2
WRKSRC=		${WRKDIR}/native/platforms/linux

d29 8
d54 1
a54 1
.include <bsd.port.mk>
@


1.5
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d9 1
a9 2
PORTVERSION=	1.2.16
PORTREVISION=	3
@


1.4
log
@Null-terminate CK_CHAR_PTR strings, even if it should not be necessary.
This fixes broken softwares (like OpenSC) that do poor assumptions.
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.3
log
@Add COMMENT escaping.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.2
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d17 1
a17 1
COMMENT=	A PKCS#11 Java wrapper
@


1.1
log
@This is a library for the Java platform which makes PKCS#11 (also known
as Cryptoki) modules accessible from within Java. A PKCS#11 module is a
software library with a defined API which allows access to cryptographic
hardware. It usually comes with hardware security modules (HSM), smart
cards and crypto tokens (e.g. USB tokens). Thus, the PKCS#11 Wrapper
provides Java software access to almost any crypto hardware. For
example, a Java application can use it to integrate a HSM or a smart
card to create digital signatures, to decrypt data or to unwrap keys.

WWW: http://jce.iaik.tugraz.at/sic/products/core_crypto_toolkits/pkcs_11_wrapper
@
text
@d10 1
@

