Minimal diff without to the latest version from 2021.
Works fine with the 'cyberJack RFID standard' reader.

I think we can polish this port a bit, but that's a separate diff.

Feedback? OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/security/pcsc-cyberjack/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile    11 Mar 2022 19:53:49 -0000      1.13
+++ Makefile    2 Jul 2023 08:29:32 -0000
@@ -1,9 +1,11 @@
 COMMENT =              REINER SCT cyberJack chipcard reader driver
 
-DISTNAME =             pcsc-cyberjack_3.99.5final.SP13
+V =                    3.99.5
+SP =                   15
+DISTNAME =             pcsc-cyberjack_${V}final.SP${SP}
 PKGNAME =              ${DISTNAME:S/_/-/}
 
-SHARED_LIBS =          ifd-cyberjack           0.0 # 6.0
+SHARED_LIBS =          ifd-cyberjack           0.1 # 6.0
 
 CATEGORIES =           security
 
@@ -16,7 +18,8 @@ PERMIT_PACKAGE =      Yes
 
 WANTLIB += ${COMPILER_LIBCXX} m usb-1.0
 
-MASTER_SITES =         
https://support.reiner-sct.de/downloads/LINUX/V3.99.5_SP13/
+MASTER_SITES =         
https://support.reiner-sct.de/downloads/LINUX/V${V}_SP${SP}/
+EXTRACT_SUFX =         .tar.bz2
 
 # -std=c++11
 COMPILER =             base-clang ports-clang ports-gcc
Index: distinfo
===================================================================
RCS file: /cvs/ports/security/pcsc-cyberjack/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    4 May 2019 09:10:10 -0000       1.3
+++ distinfo    2 Jul 2023 08:22:09 -0000
@@ -1,2 +1,2 @@
-SHA256 (pcsc-cyberjack_3.99.5final.SP13.tar.gz) = 
azS0qYw3ZDvLWYEBPkx9HnD+u5+qGKrPkefHTL5bpNM=
-SIZE (pcsc-cyberjack_3.99.5final.SP13.tar.gz) = 1617714
+SHA256 (pcsc-cyberjack_3.99.5final.SP15.tar.bz2) = 
rLfCgyRQcYdWcTdnxLPvUAgy1lLtUbNRELkQsR69Rno=
+SIZE (pcsc-cyberjack_3.99.5final.SP15.tar.bz2) = 1681827
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/security/pcsc-cyberjack/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   11 Mar 2022 19:53:49 -0000      1.2
+++ pkg/PLIST   2 Jul 2023 08:24:15 -0000
@@ -4,7 +4,7 @@ lib/pcsc/drivers/libifd-cyberjack.bundle
 lib/pcsc/drivers/libifd-cyberjack.bundle/Contents/
 lib/pcsc/drivers/libifd-cyberjack.bundle/Contents/Info.plist
 lib/pcsc/drivers/libifd-cyberjack.bundle/Contents/OpenBSD/
-lib/pcsc/drivers/libifd-cyberjack.bundle/Contents/OpenBSD/libifd-cyberjack.a
+@static-lib 
lib/pcsc/drivers/libifd-cyberjack.bundle/Contents/OpenBSD/libifd-cyberjack.a
 lib/pcsc/drivers/libifd-cyberjack.bundle/Contents/OpenBSD/libifd-cyberjack.la
 @lib 
lib/pcsc/drivers/libifd-cyberjack.bundle/Contents/OpenBSD/libifd-cyberjack.so.${LIBifd-cyberjack_VERSION}
 lib/pcsc/drivers/libifd-cyberjack.bundle/Contents/PkgInfo

Reply via email to