Changeset View
Changeset View
Standalone View
Standalone View
devel/libccid/Makefile
# Created by: arved | # Created by: arved | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= ccid | PORTNAME= ccid | ||||
PORTVERSION= 1.4.29 | PORTVERSION= 1.4.30 | ||||
CATEGORIES= devel | CATEGORIES= devel | ||||
MASTER_SITES= https://alioth.debian.org/frs/download.php/latestfile/112/ | MASTER_SITES= https://ccid.apdu.fr/files/ | ||||
MAINTAINER= mmokhi@FreeBSD.org | MAINTAINER= mmokhi@FreeBSD.org | ||||
COMMENT= Generic USB CCID (Chip/Smart Card Interface Devices) driver | COMMENT= Generic driver for USB CCID and ICCD | ||||
LICENSE= LGPL21 | LICENSE= LGPL21 | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite | LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite | ||||
USES= perl5 pkgconfig tar:bzip2 | USES= perl5 pkgconfig tar:bzip2 | ||||
GNU_CONFIGURE= yes | USE_LDCONFIG= yes | ||||
USE_PERL5= build | USE_PERL5= build | ||||
GNU_CONFIGURE= yes | |||||
CONFIGURE_ARGS= --enable-usbdropdir=${PREFIX}/lib/pcsc/drivers \ | CONFIGURE_ARGS= --enable-usbdropdir=${PREFIX}/lib/pcsc/drivers \ | ||||
--enable-ccidtwindir=${PREFIX}/lib/pcsc/drivers/serial | --enable-ccidtwindir=${PREFIX}/lib/pcsc/drivers/serial | ||||
PLIST_SUB= VER=${PORTVERSION} | |||||
INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e "s,ndef __APPLE__, !(__APPLE__ || __FreeBSD__)," ${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.c | @${REINPLACE_CMD} -e "s,ndef __APPLE__, !(__APPLE__ || __FreeBSD__)," ${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.c | ||||
@${REINPLACE_CMD} -e "s,libusb-1.0/libusb.h,libusb.h," \ | @${REINPLACE_CMD} -e "s,libusb-1.0/libusb.h,libusb.h," \ | ||||
${WRKSRC}/configure ${WRKSRC}/src/ccid_usb.c \ | ${WRKSRC}/configure ${WRKSRC}/src/ccid_usb.c \ | ||||
${WRKSRC}/src/ccid_usb.h \ | ${WRKSRC}/src/ccid_usb.h \ | ||||
${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.c | ${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.c | ||||
mmokhi: Hi,
Have you tested the port without this part in run-time and it was fine?
[I could dogfood… | |||||
Not Done Inline ActionsHello!
Not really, no. I've not tested it in the run-time yet. However, those lines are not patching anything at this point. In 1.4.30:
0mp: Hello!
> Have you tested the port without this part in run-time and it was fine?
Not really… | |||||
post-install: | post-install: | ||||
${INSTALL_PROGRAM} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd \ | ${INSTALL_PROGRAM} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd \ | ||||
${STAGEDIR}${PREFIX}/bin | ${STAGEDIR}${PREFIX}/bin | ||||
${INSTALL_MAN} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd.1 \ | ${INSTALL_MAN} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd.1 \ | ||||
${STAGEDIR}${MANPREFIX}/man/man1 | ${STAGEDIR}${MANPREFIX}/man/man1 | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Hi,
Have you tested the port without this part in run-time and it was fine?
[I could dogfood pcsc-lite, so I can ASSUME this should be also fine. but if you can confirm it works I'm fine otherwise if you can't test, would you mind if I ask for a bit of time to test 😅?]