2018-01-11 19:27:01 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.42 2018/01/11 19:27:09 rpe Exp $
|
2001-12-07 06:33:19 +00:00
|
|
|
|
2012-08-06 13:03:12 +00:00
|
|
|
COMMENT= resource manager for PC/SC
|
2002-03-01 19:57:19 +00:00
|
|
|
|
2017-06-30 10:50:53 +00:00
|
|
|
V= 1.8.22
|
2013-07-10 15:13:00 +00:00
|
|
|
DISTNAME= pcsc-lite-${V}
|
2018-01-11 19:27:01 +00:00
|
|
|
REVISION= 1
|
2001-12-07 06:33:19 +00:00
|
|
|
CATEGORIES= security
|
2005-12-25 11:15:33 +00:00
|
|
|
|
2012-08-06 13:03:12 +00:00
|
|
|
SHARED_LIBS+= pcsclite 1.0 # 1.0.0
|
|
|
|
SHARED_LIBS+= pcscspy 0.0 # 0.0.0
|
2001-12-07 06:33:19 +00:00
|
|
|
|
2012-08-06 13:03:12 +00:00
|
|
|
HOMEPAGE= http://pcsclite.alioth.debian.org/pcsclite.html
|
2001-12-07 06:33:19 +00:00
|
|
|
|
2014-07-11 16:44:05 +00:00
|
|
|
MASTER_SITES= https://alioth.debian.org/frs/download.php/latestfile/39/
|
2012-08-06 13:03:12 +00:00
|
|
|
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= David Coppa <dcoppa@openbsd.org>
|
|
|
|
|
|
|
|
# BSD and GPLv3+
|
2001-12-07 06:33:19 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2012-08-06 13:03:12 +00:00
|
|
|
WANTLIB= c pthread usb-1.0
|
|
|
|
|
2017-06-09 22:12:54 +00:00
|
|
|
MODULES+= lang/python
|
2017-06-08 19:34:03 +00:00
|
|
|
|
2017-06-09 22:12:54 +00:00
|
|
|
# thread-local storage
|
2017-11-16 23:20:37 +00:00
|
|
|
COMPILER= base-clang ports-gcc
|
2017-06-09 22:12:54 +00:00
|
|
|
COMPILER_LANGS= c
|
2012-08-06 13:03:12 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS= devel/libusb1
|
|
|
|
|
|
|
|
MODPY_ADJ_FILES= src/spy/pcsc-spy
|
2001-12-07 06:33:19 +00:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2014-09-26 12:11:01 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2012-08-06 13:03:12 +00:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --disable-libudev \
|
2017-08-11 10:06:01 +00:00
|
|
|
--disable-libsystemd \
|
2012-08-06 13:03:12 +00:00
|
|
|
--without-systemdsystemunitdir \
|
|
|
|
--enable-libusb \
|
|
|
|
--enable-confdir=${SYSCONFDIR}/ccid
|
|
|
|
|
|
|
|
CONFIGURE_ENV= ac_cv_lib_lex='none needed'
|
2001-12-07 06:33:19 +00:00
|
|
|
|
2013-07-10 15:13:00 +00:00
|
|
|
TEST_DEPENDS= ${BUILD_PKGPATH}=${V} \
|
|
|
|
security/ccid
|
2013-07-10 13:47:30 +00:00
|
|
|
|
|
|
|
# The pcscd server needs to be up and running
|
|
|
|
TEST_IS_INTERACTIVE= Yes
|
|
|
|
|
|
|
|
do-test:
|
|
|
|
${WRKBUILD}/src/testpcsc
|
2001-12-07 06:33:19 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|