aboutsummaryrefslogtreecommitdiffstats
path: root/security/libbeid/Makefile
blob: da52937bfb099bbcf59b09cb872af3b18534e1a2 (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
36
37
# $FreeBSD$

PORTNAME=   libbeid
PORTVERSION=    4.1.19
DISTVERSIONPREFIX=  v
CATEGORIES= security

MAINTAINER= tijl@FreeBSD.org
COMMENT=    Belgian eID PKCS #11 module

LICENSE=    LGPL3
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libpcsclite.so:devel/pcsc-lite

USE_GITHUB= yes
GH_ACCOUNT= Fedict
GH_PROJECT= eid-mw

USES=       autoreconf dos2unix libtool pkgconfig
USE_GNOME=  gtk30

DOS2UNIX_FILES= cardcomm/pkcs11/src/common/datafile.cpp \
        cardcomm/pkcs11/src/common/logbase.cpp \
        cardcomm/pkcs11/src/common/util.cpp \
        cardcomm/pkcs11/src/dialogs/dialogs.h \
        cardcomm/pkcs11/src/log.h

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-static --with-gtkvers=3
INSTALL_TARGET= install-strip

post-patch:
    @${REINPLACE_CMD} '/^libbeidpkcs11_la_LIBADD =/s/-ldl//' \
        ${WRKSRC}/cardcomm/pkcs11/src/Makefile.am

.include <bsd.port.mk>