-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
27 lines (23 loc) · 1.09 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup perl5 1.0
perl5.branches 5.28 5.30 5.32 5.34
perl5.setup Chipcard-PCSC v1.4.16
revision 0
license GPL-2
maintainers {devans @dbevans} openmaintainer
description Chipcard::PCSC - Communicate with a smart card using PC/SC from a Perl script
long_description {*}${description}
checksums rmd160 99ba908bd38018289741fbc83a97c27960db00f6 \
sha256 3b5e29d634435f1426ecdcdf79ba351b4e2658f36c3c22be37b1d31e36ca8fa9 \
size 43659
if {${perl5.major} != ""} {
# As of v1.4.16 p5-chipcard-pcsc replaces p5-pcsc
# Deactivate obsolete port p${perl5.major}-pcsc if active, to avoid activation conflicts.
pre-activate {
set pname p${perl5.major}-pcsc
if {![catch {set installed [lindex [registry_active $pname] 0]}]} {
registry_deactivate_composite $pname "" [list ports_nodepcheck 1]
}
}
}