b2bb94bde6
PR: 247719 [1] 247286 [2] Submitted by: cmt [1] Reported by: Tatsuki Makino [2] Approved by: maintainer timeout (followup last coomit) MFH: 2020Q3
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
# Created by: Toni Andjelkovic <toni@soth.at>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pcsc-lite
|
|
PORTVERSION= 1.9.0
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 2
|
|
CATEGORIES= devel security
|
|
MASTER_SITES= https://pcsclite.apdu.fr/files/
|
|
|
|
MAINTAINER= mmokhi@FreeBSD.org
|
|
COMMENT= Middleware library to access a smart card using SCard API (PC/SC)
|
|
|
|
LICENSE= BSD3CLAUSE GPLv3+
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= libtool pathfix perl5 pkgconfig python shebangfix tar:bzip2
|
|
USE_LDCONFIG= yes
|
|
USE_PERL5= build
|
|
USE_RC_SUBR= pcscd
|
|
PYTHON_NO_DEPENDS= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-libsystemd \
|
|
--enable-usbdropdir=${PREFIX}/lib/pcsc/drivers/ \
|
|
--enable-ipcdir=/var/run
|
|
|
|
INSTALL_TARGET= install-strip
|
|
SHEBANG_FILES= src/spy/pcsc-spy
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
OPTIONS_GROUP= FEATURES
|
|
OPTIONS_GROUP_FEATURES= FILTER
|
|
FEATURES_DESC= Default features knobs
|
|
FILTER_DESC= Control (Ignore or Extend) reader names reported by PCSC
|
|
FILTER_CONFIGURE_ENABLE= filter
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/drivers
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/services
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/example/Makefile.am ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/example/Makefile.in ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/example/pcsc_demo.c ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|