blob: f8e11b3415804a88ee53315c9e318a0dbcd81785 (
plain) (
blame)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Created by: Thomas Hurst <tom@hur.st>
# $FreeBSD$
PORTNAME= lastpass-cli
PORTVERSION= 0.8.0
DISTVERSIONPREFIX= v
CATEGORIES= security
MAINTAINER= tom@hur.st
COMMENT= LastPass command line interface tool
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
USES= gmake pkgconfig
USE_GNOME= libxml2
USE_OPENSSL= yes
USE_GITHUB= YES
GH_ACCOUNT= lastpass
PLIST_FILES= bin/lpass
MAKE_ENV+= MANDIR=${MANPREFIX}/man
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:${PORTSDIR}/textproc/asciidoc \
xmlto:${PORTSDIR}/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:${PORTSDIR}/security/pinentry
XCLIP_RUN_DEPENDS= xclip:${PORTSDIR}/x11/xclip
XSEL_RUN_DEPENDS= xsel:${PORTSDIR}/x11/xsel
post-extract:
@${REINPLACE_CMD} -e 's/-Wno-language-extension-token//g' \
${WRKSRC}/Makefile
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lpass
.include <bsd.port.mk>
|