aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/libkpass/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/security/libkpass/Makefile b/security/libkpass/Makefile
index 0bc8d10aa37b..1c133702c523 100644
--- a/security/libkpass/Makefile
+++ b/security/libkpass/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libkpass
PORTVERSION= 5
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
@@ -11,19 +12,20 @@ COMMENT= Library for a reading/writing KeePass 1.x DB
LICENSE= GPLv3
-LIB_DEPENDS= nettle:${PORTSDIR}/security/nettle
+LIB_DEPENDS= libnettle.so:${PORTSDIR}/security/nettle
GNU_CONFIGURE= yes
-USES= gettext gmake
+INSTALL_TARGET= install-strip
+USES= gettext gmake libtool
USE_LDCONFIG= yes
-CFLAGS+= -Dbswap_32=bswap32 -Dbswap_16=bswap16 \
+CPPFLAGS+= -Dbswap_32=bswap32 -Dbswap_16=bswap16 \
-I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lintl
+LIBS+= -L${LOCALBASE}/lib -lintl
PLIST_FILES= include/kpass.h \
+ lib/libkpass.a \
lib/libkpass.so \
lib/libkpass.so.1 \
- lib/libkpass.la \
- lib/libkpass.a
+ lib/libkpass.so.1.0.0
.include <bsd.port.mk>