head	1.11;
access;
symbols
	RELEASE_8_3_0:1.10
	RELEASE_9_0_0:1.10
	RELEASE_7_4_0:1.9
	RELEASE_8_2_0:1.9
	RELEASE_6_EOL:1.8
	RELEASE_8_1_0:1.8
	RELEASE_7_3_0:1.8
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.5
	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
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1;
locks; strict;
comment	@# @;


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

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

1.9
date	2010.12.04.07.33.28;	author ade;	state Exp;
branches;
next	1.8;

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

1.7
date	2009.08.02.19.35.30;	author mezz;	state Exp;
branches;
next	1.6;

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

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

1.4
date	2008.04.19.17.53.26;	author miwi;	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.07.17.09.23.21;	author ale;	state Exp;
branches;
next	1.1;

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


desc
@@


1.11
log
@Switch exporter over
@
text
@# New ports collection makefile for:	libp11
# Date created:			1 Jun 2006
# Whom:				Alex Dupre <ale@@FreeBSD.org>
#
# $FreeBSD: head/security/libp11/Makefile 300897 2012-07-14 14:29:18Z beat $
#

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

MAINTAINER=	ale@@FreeBSD.org
COMMENT=	A small layer on top of PKCS\#11 API

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

USE_AUTOTOOLS=	libltdl libtool
USE_OPENSSL=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	pkgconfig ltverhack
USE_LDCONFIG=	yes

CONFIGURE_ENV=	LTLIB_CFLAGS="-I${LOCALBASE}/include" \
		LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl" \
		OPENSSL_CFLAGS="-I${OPENSSLINC}" \
		OPENSSL_LIBS="-L${OPENSSLLIB} -lssl"

PORTDOCS=	*

.ifndef(NOPORTDOCS)
CONFIGURE_ARGS+=--enable-doc
.endif

post-patch:
	@@${REINPLACE_CMD} 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \
		${WRKSRC}/configure
.ifndef(NOPORTDOCS)
	@@${REINPLACE_CMD} 's|install-data-am: install-apidocDATA install-dist_docDATA|install-data-am: install-dist_docDATA|' \
		${WRKSRC}/doc/Makefile.in
.else
	@@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \
		${WRKSRC}/Makefile.in
	@@${REINPLACE_CMD} 's|install-data-am: install-apidocDATA install-dist_docDATA|install-data-am:|' \
		${WRKSRC}/doc/Makefile.in
.endif

post-install:
	@@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA}	${WRKSRC}/examples/* ${EXAMPLESDIR}

.include <bsd.port.mk>
@


1.10
log
@Update to 0.2.8 release.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.9
log
@Sync to new bsd.autotools.mk
@
text
@d9 1
a9 1
PORTVERSION=	0.2.7
d16 4
a19 1
USE_AUTOTOOLS=	libltdl
d22 1
a22 1
USE_GNOME=	pkgconfig
@


1.8
log
@Update to 0.2.7 release.
@
text
@d16 1
a16 1
USE_AUTOTOOLS=	libltdl:22
@


1.7
log
@-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
@
text
@d9 1
a9 2
PORTVERSION=	0.2.5
PORTREVISION=	1
@


1.6
log
@Update to 0.2.5 release.
@
text
@d10 1
d17 1
a17 1
USE_AUTOTOOLS=	libltdl:15
@


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


1.4
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d9 1
a9 1
PORTVERSION=	0.2.3
d19 1
a19 1
USE_GNOME=	gnomehack pkgconfig
d22 2
a23 5
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" \
		LDFLAGS="${LDFLAGS}" \
d27 5
a31 1
DOC_FILES=	README *.sh *.xsl *.css *.html api
d33 12
a44 1
PORTDOCS=	*
a48 4
.ifndef(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	@@(cd ${WRKSRC}/doc && ${CP} -R ${DOC_FILES} ${DOCSDIR})
.endif
@


1.3
log
@Add COMMENT escaping.
@
text
@d20 1
a20 1
INSTALLS_SHLIB=	yes
@


1.2
log
@Update to 0.2.3 release.
@
text
@d14 1
a14 1
COMMENT=	A small layer on top of PKCS#11 API
@


1.1
log
@Libp11 is a library implementing a small layer
on top of PKCS#11 API to make using PKCS#11
implementations easier.

WWW:	http://www.opensc-project.org/libp11/
@
text
@d9 1
a9 1
PORTVERSION=	0.2.2
@

