aboutsummaryrefslogtreecommitdiffstats
path: root/security/libkpass/Makefile
blob: 0cd739b3381b20afe0a492d37e209a90b93df7b4 (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
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libkpass
PORTVERSION=    5
CATEGORIES= security
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/

MAINTAINER= vg@FreeBSD.org
COMMENT=    Library for a reading/writing KeePass 1.x DB

LICENSE=    GPLv3

LIB_DEPENDS=    nettle:${PORTSDIR}/security/nettle

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USES=       gettext
USE_LDCONFIG=   yes
CFLAGS+=    -Dbswap_32=bswap32 -Dbswap_16=bswap16 \
        -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib -lintl

PLIST_FILES=    include/kpass.h \
        lib/libkpass.so \
        lib/libkpass.so.1 \
        lib/libkpass.la \
        lib/libkpass.a

.include <bsd.port.mk>