summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-02-26 10:51:02 +0000
committerhasso <hasso@pkgsrc.org>2009-02-26 10:51:02 +0000
commit46698f3f26bfe63b5c514762dd3f955301d381c2 (patch)
tree8f815c64166c42a16b2cdbd307df03e864096900
parentba79afa6674cf43f4c176efe911233f2c7a99c59 (diff)
downloadpkgsrc-46698f3f26bfe63b5c514762dd3f955301d381c2.tar.gz
Opensc signer plugin for Mozilla apps.
-rw-r--r--security/opensc-signer/DESCR1
-rw-r--r--security/opensc-signer/Makefile27
-rw-r--r--security/opensc-signer/PLIST3
3 files changed, 31 insertions, 0 deletions
diff --git a/security/opensc-signer/DESCR b/security/opensc-signer/DESCR
new file mode 100644
index 00000000000..e24a752e1af
--- /dev/null
+++ b/security/opensc-signer/DESCR
@@ -0,0 +1 @@
+Opensc signer plugin for Mozilla apps.
diff --git a/security/opensc-signer/Makefile b/security/opensc-signer/Makefile
new file mode 100644
index 00000000000..e2a4eb145d4
--- /dev/null
+++ b/security/opensc-signer/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/26 10:51:02 hasso Exp $
+
+PKGNAME= opensc-signer-${OPENSC_PKG_VERSION}
+COMMENT= Opensc signer plugin for Mozilla apps
+
+.include "../../security/opensc/Makefile.common"
+
+DISTINFO_FILE= ${.CURDIR}/../../security/opensc/distinfo
+PATCHDIR= ${.CURDIR}/../../security/opensc/patches
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFIGURE_ARGS+= --enable-nsplugin
+CONFIGURE_ARGS+= --with-plugindir=${PREFIX}/lib/mozilla/plugins
+CONFIGURE_ARGS+= --with-pinentry=${PREFIX}/bin/pinentry
+
+do-install:
+ cd ${WRKSRC}/src/signer && ${SETENV} ${MAKE_ENV} ${MAKE} \
+ prefix=${DESTDIR}${PREFIX} \
+ plugindir=${DESTDIR}${PREFIX}/lib/mozilla/plugins install
+
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../security/libassuan/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../security/pinentry/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/opensc-signer/PLIST b/security/opensc-signer/PLIST
new file mode 100644
index 00000000000..4aa38222da2
--- /dev/null
+++ b/security/opensc-signer/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/02/26 10:51:02 hasso Exp $
+lib/mozilla/plugins/opensc-signer.so
+lib/opensc-signer.la