diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2009-01-10 02:45:46 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2009-01-10 02:45:46 +0000 |
commit | 15b6544926b07a98710eeb765baf03e3fc9a195c (patch) | |
tree | 35103cf986d2ed2295c97768e62afcc47dfed877 /security/opensc | |
parent | WikiToPdf combines the functionality of CombineWikiPlugin and (diff) |
Add a new framework for browser plugins, USE_WEBPLUGINS. It is for which foo
plugins support one of web browsers and can take care of plist (depend on how
you use it) at the same time. I have written a complete document and even show
how it works in the www/firefox/Makefile.webplugins so be sure to read in
there. If there is anything that isn't clear in the document, please feel free
to ask and I will try my best to improvement it.
FYI: GNOME 2.24 depends on this, so it's coming.
BTW: It's based on www/linux-mplayer-plugin/Makefile.npapi with heavy modified.
Approved by: portmgr
Notes
Notes:
svn path=/head/; revision=225627
Diffstat (limited to 'security/opensc')
-rw-r--r-- | security/opensc/Makefile | 7 | ||||
-rw-r--r-- | security/opensc/pkg-plist | 3 |
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%% |