aboutsummaryrefslogtreecommitdiffstats
path: root/security/libkpass/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/libkpass/Makefile')
-rw-r--r--security/libkpass/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/security/libkpass/Makefile b/security/libkpass/Makefile
index 57ab9ede22de..e3f34c3b38f7 100644
--- a/security/libkpass/Makefile
+++ b/security/libkpass/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: libkpass
-# Date created: 2011-09-12
-# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com>
-#
+# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# $FreeBSD$
-#
PORTNAME= libkpass
-PORTVERSION= 3
+PORTVERSION= 5
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
@@ -15,14 +11,19 @@ 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
+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.0 \
+ lib/libkpass.so.1 \
lib/libkpass.la \
lib/libkpass.a