1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
5 KEYWORDS= devel security
7 SDESC[standard]= Smartcard development library
8 HOMEPAGE= https://pcsclite.apdu.fr/
12 SITES[main]= https://pcsclite.apdu.fr/files/
13 DISTFILE[1]= pcsc-lite-1.9.9.tar.bz2:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= FILTER
20 OPTIONS_STANDARD= FILTER
22 BR_DEPS[sunos]= libusb:single:standard
23 BR_DEPS[linux]= libusb:single:standard
25 USES= cpe libtool perl:build pkgconfig shebangfix python
27 LICENSE= BSD3CLAUSE:primary
28 LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/COPYING
32 FPC_EQUIVALENT= devel/pcsc-lite
33 SHEBANG_FILES= src/spy/pcsc-spy
36 CONFIGURE_ARGS= --enable-usbdropdir={{PREFIX}}/lib/pcsc/drivers/
39 INSTALL_TARGET= install-strip
40 RC_SUBR= pcscd:primary
41 SUB_FILES= pkg-message-primary
43 VAR_OPSYS[netbsd]= CONFIGURE_ARGS=--disable-usb
45 [FILTER].DESCRIPTION= Control reader names reported by PCSC
46 [FILTER].CONFIGURE_ENABLE_BOTH= filter
49 ${REINPLACE_CMD} -e "s,^datadir,#datadir,; s,^data_DATA,#data_DATA," \
50 ${WRKSRC}/doc/Makefile.in
51 ${REINPLACE_CMD} -e "s,libusb-1.0/libusb.h,libusb.h,; \
52 s,libusb_strerror(ret),ret," ${WRKSRC}/configure \
53 ${WRKSRC}/src/hotplug_libusb.c
56 ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/drivers
57 ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/services
59 [FILE:224:descriptions/desc.primary]
60 This is a port of the MUSCLE PC/SC-Lite architecture.
61 Allows easy porting of Windows smartcard software to other
62 operating systems. Supports many types of serial, PCMCIA,
63 and USB smartcard readers and cryptographic tokens.
67 cbcc3b34c61f53291cecc0d831423c94d437b188eb2b97b7febc08de1c914e8a 789914 pcsc-lite-1.9.9.tar.bz2
70 [FILE:385:manifests/plist.primary]
86 lib/pkgconfig/libpcsclite.pc
88 share/man/man1/pcsc-spy.1.gz
89 share/man/man5/reader.conf.5.gz
90 share/man/man8/pcscd.8.gz
92 @dir lib/pcsc/services
95 [FILE:70:manifests/plist.docs]
102 [FILE:310:files/pcscd.in]
107 # Add the following lines to /etc/rc.conf.local or /etc/rc.conf
108 # to enable this service:
117 command="%%PREFIX%%/sbin/pcscd"
119 load_rc_config "$name"
121 : ${pcscd_enable="NO"}
126 [FILE:694:files/pkg-message-primary.in]
127 ------------------------------------------------------------------------
129 PC/SC-Lite has been installed.
130 You need to install a driver for your smartcard reader e.g.
132 security/ifd-slb_rf60
134 For cardreaders connected to the serial port: After installing the driver,
135 please update the pcscd configuration file
136 %%PREFIX%%/etc/reader.conf
138 For USB cardreaders add the following lines to /etc/devd.conf to enable
142 device-name "ugen[0-9]+";
143 action "%%PREFIX%%/sbin/pcscd -H";
147 device-name "ugen[0-9]+";
148 action "%%PREFIX%%/sbin/pcscd -H";
150 ------------------------------------------------------------------------