aboutsummaryrefslogtreecommitdiff
path: root/security/esteidfirefoxplugin/Makefile
blob: bf827b0f28732c414ca7a1a56d9e95fdc8aa4a7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PORTNAME=	esteidfirefoxplugin
PORTVERSION=	3.8.0.1115
CATEGORIES=	security
MASTER_SITES=	https://installer.id.ee/media/sources/

MAINTAINER=	toomas.aas@raad.tartu.ee
COMMENT=	Digital signing with Estonian ID card in Firefox

LICENSE=	LGPL21

RUN_DEPENDS=	opensc-tool:security/opensc \
		pcscd:devel/pcsc-lite

USE_GNOME=	gtk20
USES=		gnome pkgconfig ssl webplugin:gecko
WEBPLUGIN_DIR=	${PREFIX}/lib
WEBPLUGIN_FILES=	npesteid-firefox-plugin.so

ALL_TARGET=	plugin

EXTRACT_AFTER_ARGS=	--exclude 'include/openssl'

PLIST_FILES=	lib/npesteid-firefox-plugin.so

.include <bsd.port.pre.mk>

.if ${SSL_DEFAULT} == base
BROKEN_FreeBSD_12=	incomplete definition of type 'struct X509_name_entry_st'
BROKEN_FreeBSD_13=	incomplete definition of type 'struct X509_name_entry_st'
.endif

post-install:
	${INSTALL_LIB} ${WRKSRC}/npesteid-firefox-plugin.so ${STAGEDIR}${PREFIX}/lib

.include <bsd.port.post.mk>