summaryrefslogtreecommitdiff
path: root/security/opensc/Makefile
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-02-26 10:50:05 +0000
committerhasso <hasso@pkgsrc.org>2009-02-26 10:50:05 +0000
commitba79afa6674cf43f4c176efe911233f2c7a99c59 (patch)
tree7f86b20e831b111082d04bcddf5e1dae62da4641 /security/opensc/Makefile
parentb8cae3d9a7210519fbccff4eab647498af4dda87 (diff)
downloadpkgsrc-ba79afa6674cf43f4c176efe911233f2c7a99c59.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"