blob: e1746135666af32ab16c707bcaea57c0e3e6ee86 (
plain)
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
51
52
53
54
55
56
57
58
59
|
PORTNAME= buku
PORTVERSION= 4.8
DISTVERSIONPREFIX= v
CATEGORIES= www python
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Powerful command-line bookmark manager
WWW= https://github.com/jarun/buku
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.4.1:www/py-beautifulsoup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cryptography>=1.2.3:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}html5lib>=1.0.1:www/py-html5lib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urllib3>=1.23,1:net/py-urllib3@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils noflavors
NO_ARCH= yes
PLIST_FILES= share/man/man1/buku.1.gz
USE_GITHUB= yes
GH_ACCOUNT= jarun
OPTIONS_MULTI= COMPLETION
OPTIONS_MULTI_COMPLETION= BASH FISH ZSH
OPTIONS_DEFAULT=BASH FISH ZSH
BASH_DESC= Install bash completion
FISH_DESC= Install fish completion
ZSH_DESC= Install zsh completion
BASH_PLIST_FILES= etc/bash_completion.d/buku-completion.bash
FISH_PLIST_FILES= share/fish/completions/buku.fish
ZSH_PLIST_FILES= share/zsh/site-functions/_buku
post-extract:
@${RM} -r ${WRKSRC}/bukuserver
post-install:
${INSTALL_MAN} ${WRKSRC}/buku.1 ${STAGEDIR}${PREFIX}/share/man/man1
post-install-BASH-on:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
${INSTALL_DATA} ${WRKSRC}/auto-completion/bash/buku-completion.bash ${STAGEDIR}${PREFIX}/etc/bash_completion.d/buku-completion.bash
post-install-FISH-on:
${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions
${INSTALL_DATA} ${WRKSRC}/auto-completion/fish/buku.fish ${STAGEDIR}${PREFIX}/share/fish/completions/buku.fish
post-install-ZSH-on:
${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/auto-completion/zsh/_buku ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_buku
.include <bsd.port.mk>
|