2013-03-29 20:33:41 +01:00
|
|
|
# Created by: Alex Dupre <ale@FreeBSD.org>
|
2006-06-12 18:58:38 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libp11
|
2019-04-04 10:02:09 +02:00
|
|
|
PORTVERSION= 0.4.10
|
2016-05-12 15:13:36 +02:00
|
|
|
DISTVERSIONPREFIX= ${PORTNAME}-
|
2006-06-12 18:58:38 +02:00
|
|
|
CATEGORIES= security devel
|
|
|
|
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
2013-03-29 20:33:41 +01:00
|
|
|
COMMENT= Small layer on top of PKCS\#11 API
|
2006-06-12 18:58:38 +02:00
|
|
|
|
2011-04-22 10:50:37 +02:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
LIB_DEPENDS= libltdl.so:devel/libltdl
|
2014-09-17 09:38:15 +02:00
|
|
|
|
2019-04-04 10:02:09 +02:00
|
|
|
USES= autoreconf libtool pkgconfig ssl
|
|
|
|
|
2014-05-13 14:21:02 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
2016-04-20 11:08:03 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= OpenSC
|
|
|
|
|
2006-06-12 18:58:38 +02:00
|
|
|
GNU_CONFIGURE= yes
|
- 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)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-06-12 18:58:38 +02:00
|
|
|
|
2016-04-20 11:08:03 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2008-08-27 10:30:38 +02:00
|
|
|
CONFIGURE_ENV= LTLIB_CFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl" \
|
2006-06-12 18:58:38 +02:00
|
|
|
OPENSSL_CFLAGS="-I${OPENSSLINC}" \
|
2016-04-20 11:08:03 +02:00
|
|
|
OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
|
2006-06-12 18:58:38 +02:00
|
|
|
|
2016-04-20 11:08:03 +02:00
|
|
|
CONFIGURE_ARGS= --with-enginesdir=${PREFIX}/lib/engines
|
2006-06-12 18:58:38 +02:00
|
|
|
|
2016-04-20 11:08:03 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2008-08-27 10:30:38 +02:00
|
|
|
|
2016-04-20 11:08:03 +02:00
|
|
|
PORTDOCS= *
|
2008-08-27 10:30:38 +02:00
|
|
|
|
2015-09-03 14:57:12 +02:00
|
|
|
post-install-EXAMPLES-on:
|
2014-05-13 14:21:02 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2016-04-20 11:08:03 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/README ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/Makefile ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR}
|
2006-06-12 18:58:38 +02:00
|
|
|
|
2019-04-04 10:02:09 +02:00
|
|
|
.include <bsd.port.mk>
|