freebsd-ports/security/kdbx-viewer/Makefile
Ben Woods c5804a640b Add new port security/kdbx-viewer
kdbx-viewer provides an ncurses GUI and command-line tool for KeePass2
Database files.

Reviewed by:	mat (mentor)
Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D8033
2016-10-04 14:32:16 +00:00

35 lines
803 B
Makefile

# Created by: Ben Woods <woodsb02@FreeBSD.org>
# $FreeBSD$
PORTNAME= kdbx-viewer
PORTVERSION= 0.0.1
DISTVERSIONPREFIX=v
CATEGORIES= security
MAINTAINER= woodsb02@FreeBSD.org
COMMENT= ncurses GUI and command-line tool for KeePass2 Database files
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libgcrypt.so:security/libgcrypt \
libstfl.so:devel/stfl
USE_GITHUB= yes
GH_ACCOUNT= max-weller
USES= ncurses
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/kdbxviewer
ALL_TARGET=
post-patch:
${REINPLACE_CMD} -e 's|gcc|${CC} ${CFLAGS} ${LDFLAGS}|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/kdbxviewer ${STAGEDIR}${PREFIX}/bin/
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kdbxviewer
.include <bsd.port.mk>