aboutsummaryrefslogtreecommitdiff
path: root/security/opensc
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2009-01-10 02:45:46 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2009-01-10 02:45:46 +0000
commit15b6544926b07a98710eeb765baf03e3fc9a195c (patch)
tree35103cf986d2ed2295c97768e62afcc47dfed877 /security/opensc
parent23fcf54562404bb41380488c8318ac0e3ce15efc (diff)
downloadports-15b6544926b07a98710eeb765baf03e3fc9a195c.tar.gz
ports-15b6544926b07a98710eeb765baf03e3fc9a195c.zip
Notes
Diffstat (limited to 'security/opensc')
-rw-r--r--security/opensc/Makefile7
-rw-r--r--security/opensc/pkg-plist3
2 files changed, 8 insertions, 2 deletions
diff --git a/security/opensc/Makefile b/security/opensc/Makefile
index b20f8a48321d..47dcbec7e5fd 100644
--- a/security/opensc/Makefile
+++ b/security/opensc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= opensc
PORTVERSION= 0.11.6
+PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= http://www.opensc-project.org/files/${PORTNAME}/ \
http://www.opensc-project.org/files/${PORTNAME}/testing/
@@ -78,9 +79,13 @@ RUN_DEPENDS+= pinentry:${PORTSDIR}/${PINENTRY_PORT}
USE_XORG= x11
CONFIGURE_ARGS+=--enable-nsplugin \
--with-libassuan-prefix=${LOCALBASE} \
- --with-plugindir=${LOCALBASE}/lib/browser_plugins \
+ --with-plugindir=${WEBPLUGINS_DIR} \
--with-pinentry=${PINENTRY}
PLIST_SUB+= SIGNER=""
+
+USE_WEBPLUGINS= gecko*
+WEBPLUGINS_FILES=opensc-signer.so
+.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
.else
PLIST_SUB+= SIGNER="@comment "
.endif
diff --git a/security/opensc/pkg-plist b/security/opensc/pkg-plist
index 3fb2bc0b9753..d06cf89bf29f 100644
--- a/security/opensc/pkg-plist
+++ b/security/opensc/pkg-plist
@@ -29,7 +29,7 @@ include/opensc/ui.h
libdata/pkgconfig/libopensc.pc
libdata/pkgconfig/libpkcs15init.pc
libdata/pkgconfig/libscconf.pc
-%%SIGNER%%lib/browser_plugins/opensc-signer.so
+%%SIGNER%%%%WEBPLUGINS_DIR%%/opensc-signer.so
%%SIGNER%%lib/opensc-signer.a
%%SIGNER%%lib/opensc-signer.la
%%SIGNER%%lib/opensc-signer.so
@@ -72,6 +72,7 @@ lib/pkcs11/pkcs11-spy.so
%%DATADIR%%/rutoken.profile
%%DATADIR%%/setcos.profile
%%DATADIR%%/starcos.profile
+%%SIGNER%%@dirrmtry %%WEBPLUGINS_DIR%%
@dirrm include/opensc
@dirrm lib/pkcs11
@dirrm %%DATADIR%%