Ticket #42599: Portfile

File Portfile, 1.4 KB (added by schmurtz_macport@…, 11 years ago)
Line 
1# -*- 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
2# $Id$
3
4PortSystem      1.0
5PortGroup       perl5 1.0
6
7name            pcsc-tools
8version         1.4.22
9categories      sysutils
10platforms       darwin
11license         GPL-2+
12maintainers     m4x.org:db_macports openmaintainer
13
14description         Tools for accessing PC/SC driver, card or reader.
15long_description    These tools are used to test a PC/SC driver, card or \
16                    reader or send commands in a friendly environment (text \
17                    or graphical user interface).
18
19homepage        http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
20master_sites    ${homepage}
21
22patchfiles      patch-Makefile.diff
23
24checksums       rmd160 df66c505bfdf6f4f885a3d2d5b09a19ca4aa2823 \
25                sha256 615592dd56627bd0ff3650608bb7eefe3e9f43cc18ca2d805ebf0bf74d30f307
26
27depends_lib     port:p${perl5.major}-pcsc
28
29use_configure      no
30destroot.destdir   DESTDIR=${destroot}${prefix}
31build.args-append  CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
32
33variant universal description {Build for multiple architectures} {
34    build.args-append CFLAGS="${configure.universal_cflags}"
35    build.args-append CXXFLAGS="${configure.universal_cxxflags}"
36    build.args-append CPPFLAGS="${configure.universal_cppflags}"
37    build.args-append LDFLAGS="${configure.universal_ldflags}"
38}