[117787] trunk/dports/sysutils

cal at macports.org cal at macports.org
Wed Mar 12 14:27:32 PDT 2014


Revision: 117787
          https://trac.macports.org/changeset/117787
Author:   cal at macports.org
Date:     2014-03-12 14:27:31 -0700 (Wed, 12 Mar 2014)
Log Message:
-----------
new port: pcsc-tools, closes #42599

Added Paths:
-----------
    trunk/dports/sysutils/pcsc-tools/
    trunk/dports/sysutils/pcsc-tools/Portfile
    trunk/dports/sysutils/pcsc-tools/files/
    trunk/dports/sysutils/pcsc-tools/files/patch-Makefile.diff

Added: trunk/dports/sysutils/pcsc-tools/Portfile
===================================================================
--- trunk/dports/sysutils/pcsc-tools/Portfile	                        (rev 0)
+++ trunk/dports/sysutils/pcsc-tools/Portfile	2014-03-12 21:27:31 UTC (rev 117787)
@@ -0,0 +1,39 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+PortGroup           perl5 1.0
+
+name                pcsc-tools
+version             1.4.22
+categories          sysutils
+platforms           darwin
+license             GPL-2+
+maintainers         m4x.org:db_macports openmaintainer
+
+description         Tools for accessing PC/SC driver, card or reader.
+long_description    These tools are used to test a PC/SC driver, card or \
+                    reader or send commands in a friendly environment (text \
+                    or graphical user interface).
+
+homepage            http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
+master_sites        ${homepage}
+
+patchfiles          patch-Makefile.diff
+
+checksums           rmd160 df66c505bfdf6f4f885a3d2d5b09a19ca4aa2823 \
+                    sha256 615592dd56627bd0ff3650608bb7eefe3e9f43cc18ca2d805ebf0bf74d30f307
+
+depends_lib         port:p${perl5.major}-pcsc
+
+variant universal {}
+
+use_configure       no
+destroot.destdir    DESTDIR=${destroot}${prefix}
+build.args-append   CC=${configure.cc} \
+                    CXX=${configure.cxx} \
+                    CPP=${configure.cpp} \
+                    CPPFLAGS="${configure.cppflags}" \
+                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
+                    CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
+                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"


Property changes on: trunk/dports/sysutils/pcsc-tools/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/sysutils/pcsc-tools/files/patch-Makefile.diff
===================================================================
--- trunk/dports/sysutils/pcsc-tools/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/sysutils/pcsc-tools/files/patch-Makefile.diff	2014-03-12 21:27:31 UTC (rev 117787)
@@ -0,0 +1,21 @@
+--- Makefile.orig	2012-06-16 12:33:32.000000000 +0200
++++ Makefile	2014-02-01 22:37:23.000000000 +0100
+@@ -8,13 +8,13 @@
+ DESTDIR ?= /usr/local
+ 
+ VERSION := $(shell pwd | sed s/.*tools-//)
+-CFLAGS := $(CFLAGS) -DVERSION=\"$(VERSION)\" $(PCSC_CFLAGS)
+-LDLIBS := $(PCSC_LDLIBS)
++#CFLAGS := $(CFLAGS) -DVERSION=\"$(VERSION)\" $(PCSC_CFLAGS)
++#LDLIBS := $(PCSC_LDLIBS)
+ # On xBSD systems use
+ #LDLIBS = -lc_r $(PCSC_LDLIBS)
+ # on MacOSX
+-#CFLAGS = -Wall -O2 -DVERSION=\"$(VERSION)\"
+-#LDLIBS = -framework PCSC
++override CFLAGS += -Wall -O2 -DVERSION=\"$(VERSION)\"
++override LDLIBS += -framework PCSC
+ 
+ BIN = pcsc_scan
+ BIN_SCRIPT = ATR_analysis gscriptor scriptor
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140312/1425068a/attachment.html>


More information about the macports-changes mailing list