opnsense-ports/security/lastpass-cli/Makefile
Franco Fichtner 30e861b70d */*: sync with upstream
Taken from: FreeBSD
2017-02-13 05:33:28 +01:00

49 lines
1.2 KiB
Makefile

# Created by: Thomas Hurst <tom@hur.st>
# $FreeBSD$
PORTNAME= lastpass-cli
PORTVERSION= 1.1.2
DISTVERSIONPREFIX= v
CATEGORIES= security
MAINTAINER= tom@hur.st
COMMENT= LastPass command line interface tool
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:ftp/curl
USES= cmake pkgconfig ssl
USE_GNOME= libxml2
USE_GITHUB= YES
GH_ACCOUNT= lastpass
PLIST_FILES= bin/lpass share/bash-completion/completions/lpass
CMAKE_ARGS= -DBASH_COMPLETION_COMPLETIONSDIR=${PREFIX}/share/bash-completion/completions
OPTIONS_DEFINE= MANPAGES PINENTRY XCLIP XSEL
OPTIONS_DEFAULT= MANPAGES
PINENTRY_DESC= Use pinentry for password entry
XCLIP_DESC= Use xclip for interacting with X11 clipboard
XSEL_DESC= Use xsel for interacting with X11 clipboard
MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc \
xmlto:textproc/xmlto
MANPAGES_ALL_TARGET= all doc-man
MANPAGES_INSTALL_TARGET=install install-doc
MANPAGES_PLIST_FILES= ${MANPREFIX}/man/man1/lpass.1.gz
PINENTRY_RUN_DEPENDS= pinentry:security/pinentry
XCLIP_RUN_DEPENDS= xclip:x11/xclip
XSEL_RUN_DEPENDS= xsel:x11/xsel
post-extract:
@${REINPLACE_CMD} -e 's/-Wno-language-extension-token//g' \
${WRKSRC}/CMakeLists.txt
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lpass
.include <bsd.port.mk>