summaryrefslogtreecommitdiff
path: root/devel/libccid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libccid/Makefile')
-rw-r--r--devel/libccid/Makefile45
1 files changed, 19 insertions, 26 deletions
diff --git a/devel/libccid/Makefile b/devel/libccid/Makefile
index e41d92ba117e..8113bfa9a6de 100644
--- a/devel/libccid/Makefile
+++ b/devel/libccid/Makefile
@@ -1,42 +1,35 @@
PORTNAME= ccid
-PORTVERSION= 1.6.1
+PORTVERSION= 1.6.2
CATEGORIES= devel
MASTER_SITES= https://ccid.apdu.fr/files/
+PKGNAMEPREFIX= lib
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Generic driver for USB CCID and ICCD
-WWW= https://ccid.apdu.fr/
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Generic USB CCID and ICCD driver
+WWW= https://ccid.apdu.fr/ \
+ https://github.com/LudovicRousseau/CCID
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite
-USES= perl5 pkgconfig tar:xz meson
-USE_LDCONFIG= yes
+USES= meson perl5 pkgconfig tar:xz
USE_PERL5= build
-MESON_ARGS= -Dpcsclite=true
-
-.include "../../devel/pcsc-lite/Makefile.common"
-
-BUNDLE_DIR= ${USBDROPDIR}/ifd-ccid.bundle
-PLIST_DIRS= ${USBDROPDIR}
-PLIST_FILES= bin/RSA_SecurID_getpasswd \
- 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
+MESON_FALSE= class \
+ composite-as-multislot \
+ embedded \
+ os_log \
+ serial \
+ zlp
+MESON_TRUE= enable-extras \
+ pcsclite
post-install:
- ${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
+ ${INSTALL_PROGRAM} ${WRKSRC}/_build/Kobil_mIDentity_switch ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/_build/RSA_SecurID_getpasswd ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd.1 ${STAGEDIR}${PREFIX}/share/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.8 ${STAGEDIR}${PREFIX}/share/man/man8
.include <bsd.port.mk>