svn commit: r496071 - in head/devel: . kerl

Mathieu Arnold mat at FreeBSD.org
Sun Mar 17 20:58:37 UTC 2019


On Sun, Mar 17, 2019 at 03:34:49PM +0000, Jimmy Olgeni wrote:
> Added: head/devel/kerl/Makefile
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/devel/kerl/Makefile	Sun Mar 17 15:34:49 2019	(r496071)
> @@ -0,0 +1,43 @@
> +# $FreeBSD$
> +
> +PORTNAME=	kerl
> +DISTVERSION=	1.8.5
> +CATEGORIES=	devel
> +EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
> +
> +MAINTAINER=	olgeni at FreeBSD.org
> +COMMENT=	Virtualenv-like tool for Erlang/OTP
> +
> +RUN_DEPENDS=	${LOCALBASE}/bin/curl:ftp/curl
> +
> +USE_GITHUB=	yes
> +
> +NO_BUILD=	yes
> +
> +OPTIONS_DEFINE=	BASH DOCS ZSH
> +
> +PLIST_FILES=	bin/kerl
> +PORTDOCS=	README.md
> +
> +BASH_PLIST_FILES=	share/bash-completion/completions/kerl
> +ZSH_PLIST_FILES=	share/zsh/site-functions/_kerl

As per 6.30. Shell Completion Files[1]

  When available, completion files should always be installed. It is not
  necessary to make an option for it. If an option is used, though,
  always enable it in OPTIONS_DEFAULT.

1: https://www.freebsd.org/doc/en/books/porters-handbook/shell-completion.html

> +do-install:
> +	@${MKDIR} ${STAGEDIR}${PREFIX}/bin
> +	${INSTALL_SCRIPT} ${WRKSRC}/kerl ${STAGEDIR}${PREFIX}/bin
> +
> +do-install-DOCS-on:
> +	@${MKDIR} ${STAGEDIR}${DOCSDIR}
> +	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
> +
> +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-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>
> 
> Added: head/devel/kerl/distinfo
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/devel/kerl/distinfo	Sun Mar 17 15:34:49 2019	(r496071)
> @@ -0,0 +1,3 @@
> +TIMESTAMP = 1552821971
> +SHA256 (kerl-kerl-1.8.5_GH0.tar.gz) = 1dbbabbddc1373837578e2d7c0c0f832291ec9fe1b4181ba0e7da8ca4b8f81ed
> +SIZE (kerl-kerl-1.8.5_GH0.tar.gz) = 30009
> 
> Added: head/devel/kerl/pkg-descr
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/devel/kerl/pkg-descr	Sun Mar 17 15:34:49 2019	(r496071)
> @@ -0,0 +1,9 @@
> +Easy building and installing of Erlang/OTP instances.
> +
> +Kerl aims to be shell agnostic and its only dependencies, excluding
> +what's required to actually build Erlang/OTP, are curl and git.
> +
> +All is done so that, once a specific release has been built, creating
> +a new installation is as fast as possible.
> +
> +WWW: https://github.com/kerl/kerl
> 
> 

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20190317/a2df96a2/attachment-0001.sig>


More information about the svn-ports-all mailing list