diff --git a/devel/libccid/Makefile b/devel/libccid/Makefile index 27164338b665..e41d92ba117e 100644 --- a/devel/libccid/Makefile +++ b/devel/libccid/Makefile @@ -1,39 +1,42 @@ PORTNAME= ccid -PORTVERSION= 1.5.5 -PORTREVISION= 1 +PORTVERSION= 1.6.1 CATEGORIES= devel MASTER_SITES= https://ccid.apdu.fr/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Generic driver for USB CCID and ICCD WWW= https://ccid.apdu.fr/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite -USES= perl5 pkgconfig tar:bzip2 +USES= perl5 pkgconfig tar:xz meson USE_LDCONFIG= yes USE_PERL5= build -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-usbdropdir=${PREFIX}/lib/pcsc/drivers \ - --enable-ccidtwindir=${PREFIX}/lib/pcsc/drivers/serial +MESON_ARGS= -Dpcsclite=true -LDFLAGS= -pthread -INSTALL_TARGET= install-strip +.include "../../devel/pcsc-lite/Makefile.common" +BUNDLE_DIR= ${USBDROPDIR}/ifd-ccid.bundle +PLIST_DIRS= ${USBDROPDIR} PLIST_FILES= bin/RSA_SecurID_getpasswd \ - lib/pcsc/drivers/ifd-ccid.bundle/Contents/FreeBSD/libccid.so \ - lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist \ - share/man/man1/RSA_SecurID_getpasswd.1.gz + bin/Kobil_mIDentity_switch \ + ${BUNDLE_DIR}/Contents/FreeBSD/libccid.so \ + ${BUNDLE_DIR}/Contents/Info.plist \ + share/man/man1/RSA_SecurID_getpasswd.1.gz \ + share/man/man8/Kobil_mIDentity_switch.8.gz post-install: - ${INSTALL_PROGRAM} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd \ + ${INSTALL_PROGRAM} ${WRKSRC}/${MESON_BUILD_DIR}/Kobil_mIDentity_switch \ + ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.8 \ + ${STAGEDIR}${PREFIX}/share/man/man8 + ${INSTALL_PROGRAM} ${WRKSRC}/${MESON_BUILD_DIR}/RSA_SecurID_getpasswd \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pcsc/drivers/ifd-ccid.bundle/Contents/FreeBSD/libccid.so .include diff --git a/devel/libccid/distinfo b/devel/libccid/distinfo index 745e909808c5..b4ccba61017f 100644 --- a/devel/libccid/distinfo +++ b/devel/libccid/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1709534464 -SHA256 (ccid-1.5.5.tar.bz2) = 194708f75fe369d45dd7c15e8b3e8a7db8b49cfc5557574ca2a2e76ef12ca0ca -SIZE (ccid-1.5.5.tar.bz2) = 708374 +TIMESTAMP = 1723636201 +SHA256 (ccid-1.6.1.tar.xz) = 2eca8fb07e8fe7c0d39daeaca7b97cd73c40ed9b72738a24ad3dcbdfc918e1ea +SIZE (ccid-1.6.1.tar.xz) = 195844 diff --git a/devel/pcsc-lite/Makefile b/devel/pcsc-lite/Makefile index 601309f9e0b9..18ec90600abd 100644 --- a/devel/pcsc-lite/Makefile +++ b/devel/pcsc-lite/Makefile @@ -1,55 +1,57 @@ PORTNAME= pcsc-lite PORTVERSION= 2.3.0 PORTEPOCH= 2 CATEGORIES= devel security MASTER_SITES= https://pcsclite.apdu.fr/files/ MAINTAINER= arrowd@FreeBSD.org COMMENT= Middleware library to access a smart card using SCard API (PC/SC) WWW= https://pcsclite.apdu.fr/ LICENSE= BSD3CLAUSE GPLv3+ LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING USES= meson perl5 pkgconfig python:env shebangfix tar:xz USE_LDCONFIG= yes USE_PERL5= build USE_RC_SUBR= pcscd SHEBANG_FILES= src/spy/pcsc-spy +.include "Makefile.common" + MESON_ARGS= -Dlibsystemd=false \ -Dlibudev=false \ -Dlibusb=true \ -Dusb=true \ - -Dusbdropdir=${PREFIX}/lib/pcsc/drivers/ \ + -Dusbdropdir=${USBDROPDIR}/ \ -Dipcdir=/var/run SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS EXAMPLES POLKIT OPTIONS_DEFAULT= POLKIT OPTIONS_GROUP= FEATURES OPTIONS_GROUP_FEATURES= FILTER OPTIONS_SUB= yes FEATURES_DESC= Default features knobs FILTER_DESC= Control (Ignore or Extend) reported reader names POLKIT_DESC= Polkit authorization support FILTER_MESON_TRUE= filter_names POLKIT_LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit POLKIT_MESON_TRUE= polkit 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/pcsc_demo.c ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/devel/pcsc-lite/Makefile.common b/devel/pcsc-lite/Makefile.common new file mode 100644 index 000000000000..d7c9761863f6 --- /dev/null +++ b/devel/pcsc-lite/Makefile.common @@ -0,0 +1 @@ +USBDROPDIR= ${PREFIX}/lib/pcsc/drivers