summaryrefslogtreecommitdiff
path: root/security/libkpass/Makefile
blob: 1c133702c523af5c9e88fe8fcda486787c0f4a00 (plain)
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
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$

PORTNAME=	libkpass
PORTVERSION=	5
PORTREVISION=	1
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=	libnettle.so:${PORTSDIR}/security/nettle

GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USES=		gettext gmake libtool
USE_LDCONFIG=	yes
CPPFLAGS+=	-Dbswap_32=bswap32 -Dbswap_16=bswap16 \
		-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib -lintl

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

.include <bsd.port.mk>