freebsd-ports/security/opensc-esteid/Makefile
Tilman Keskinoz 384c2bae3b pcsc-lite:
- Upgrade to 1.2.9.b.7
- Use libtool15
- make hier(7)-compliant by moving the pcsc/drivers to lib/pcsc/drivers
- Compile with USB support per default. Use WITHOUT_USB to disable usb
  support
- Chase libusb shared library version (Forgotten by leeym)

Based on:	PR 76068
Reviewed by:	maintainer, sem (earlier patch)

ifd-devkit:
- Chase pcsclite sharedlibrary version

ifd-gempc410:
- Unbreak by updating to 0.9.3
- Move library to lib/pcsc/drivers
- Chase pcsclite sharedlibrary version
  NOTE: This was not tested, I don't own the specific hardware

ifd-gpr400:
- Chase pcsclite sharedlibrary version
- Fix build with new pcsc-lite
- Chase new pcsclite drivers location

ifd-slb_rf60:
- Chase pcsclite sharedlibrary version

ifd-test:
- Chase pcsclite sharedlibrary version
- Fix build with new pcsclite

libchipcard:
- Update to 0.9.1[1]
- Chase pcsclite shared library version
- Fix build with new pcsclite

[1]PR:			78815
[1]Submitted by:	lofi

opensc:
- Chase pcsclite shared library version
- Fix build on CURRENT

opensc-esteid
- Chase pcsclite shared library version
- Fix build with new pcsclite

p5-PCSC-Card:
- Update to 1.4.2
- Chase pcsclite shared library version
- Fix build with new pcsclite

ruby-pcsc-lite
- Mark broken, does not compile with new pcsc-lite
  Maintainer will work on new version

Submitted by:	maintainer
2005-04-20 12:42:06 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: opensc-esteid
# Date created: 8 September 2003
# Whom: Sven Petai <hadara@bsd.ee>
#
# $FreeBSD$
#
PORTNAME= esteid
PORTVERSION= 0.7.0.1
PORTREVISION= 2
CATEGORIES= security devel
MASTER_SITES= http://marie.vtl.ee/esteid/
PKGNAMEPREFIX= opensc-
DISTNAME= opensc-esteid-0.7.0-1
MAINTAINER= hadara@bsd.ee
COMMENT= ISO 7816 Smartcard API Library (OpenSSH Compatible)
LIB_DEPENDS= pcsclite.1:${PORTSDIR}/devel/pcsc-lite
USE_OPENLDAP= yes
INSTALLS_SHLIB= yes
USE_OPENSSL= yes
USE_INC_LIBTOOL_VER=13
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-pcsclite=${LOCALBASE} \
--with-ldap-lib=openldap \
--with-ldap-dir=${LOCALBASE} \
--with-plugin-dir=${LOCALBASE}/share/opensc/plugins
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include/PCSC"
USE_REINPLACE= yes
MAN1= pkcs15-crypt.1 pkcs15-init.1 pkcs15-tool.1 \
cryptoflex-tool.1 \
opensc-config.1 opensc-explorer.1 opensc-tool.1
MAN5= pkcs15-profile.5
MAN7= pkcs15.7 opensc.7
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
BROKEN= "Does not compile on amd64 (missing -fPIC)"
.endif
post-patch:
${REINPLACE_CMD} -e "s,LPCSTR,LPCTSTR," ${WRKSRC}/src/libopensc/reader-pcsc.c
.include <bsd.port.post.mk>