summaryrefslogtreecommitdiff
path: root/security/opensc/Makefile
diff options
context:
space:
mode:
authorhasso <hasso>2009-02-26 10:50:05 +0000
committerhasso <hasso>2009-02-26 10:50:05 +0000
commitc82d042b71c2146cfe8cfe85935bb197f3e67dcd (patch)
tree7f86b20e831b111082d04bcddf5e1dae62da4641 /security/opensc/Makefile
parent887b646df9d105cba47e0a22a75f4c35aff34b3a (diff)
downloadpkgsrc-c82d042b71c2146cfe8cfe85935bb197f3e67dcd.tar.gz
OpenSC provides a set of libraries and utilities to access smart cards.
Its main focus is on cards that support cryptographic operations, and facilitate their use in security applications such as mail encryption, authentication, and digital signature. OpenSC implements the PKCS#11 API so applications supporting this API such as Mozilla Firefox and Thunderbird can use it. OpenSC implements the PKCS#15 standard and aims to be compatible with every software that does so, too.
Diffstat (limited to 'security/opensc/Makefile')
-rw-r--r--security/opensc/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/security/opensc/Makefile b/security/opensc/Makefile
new file mode 100644
index 00000000000..8698613b81b
--- /dev/null
+++ b/security/opensc/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/26 10:50:05 hasso Exp $
+
+PKGREVISION= 2
+COMMENT= Smart Card drivers and middleware
+
+.include "../../security/opensc/Makefile.common"
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFIGURE_ARGS+= --disable-nsplugin
+
+EGDIR= ${PREFIX}/share/examples/opensc
+CONF_FILES+= ${EGDIR}/opensc.conf ${PKG_SYSCONFDIR}/opensc.conf
+
+INSTALLATION_DIRS= ${EGDIR}
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/etc/opensc.conf ${DESTDIR}${EGDIR}
+
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"