blob: 566d440171d3c4bc7bc6503e22a6d270b261df3e (
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
|
PORTNAME= kerl
DISTVERSION= 2.1.0
CATEGORIES= devel
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Virtualenv-like tool for Erlang/OTP
RUN_DEPENDS= ${LOCALBASE}/bin/curl:ftp/curl
USE_GITHUB= yes
NO_BUILD= yes
PLIST_FILES= bin/kerl
PORTDOCS= README.md
OPTIONS_DEFINE= BASH DOCS ZSH
OPTIONS_DEFAULT= BASH ZSH
BASH_PLIST_FILES= share/bash-completion/completions/kerl
ZSH_PLIST_FILES= share/zsh/site-functions/_kerl
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/kerl ${STAGEDIR}${PREFIX}/bin
do-install-BASH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
${INSTALL_DATA} ${WRKSRC}/bash_completion/kerl \
${STAGEDIR}${PREFIX}/share/bash-completion/completions/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
do-install-ZSH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
${INSTALL_DATA} ${WRKSRC}/zsh_completion/_kerl \
${STAGEDIR}${PREFIX}/share/zsh/site-functions/
.include <bsd.port.mk>
|