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

Jimmy Olgeni olgeni at FreeBSD.org
Sun Mar 17 15:34:51 UTC 2019


Author: olgeni
Date: Sun Mar 17 15:34:49 2019
New Revision: 496071
URL: https://svnweb.freebsd.org/changeset/ports/496071

Log:
  Add devel/kerl, a virtualenv-like tool for Erlang/OTP releases.

Added:
  head/devel/kerl/
  head/devel/kerl/Makefile   (contents, props changed)
  head/devel/kerl/distinfo   (contents, props changed)
  head/devel/kerl/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Mar 17 15:30:04 2019	(r496070)
+++ head/devel/Makefile	Sun Mar 17 15:34:49 2019	(r496071)
@@ -1295,6 +1295,7 @@
     SUBDIR += kdev-python
     SUBDIR += kdevelop
     SUBDIR += kdevelop-pg-qt
+    SUBDIR += kerl
     SUBDIR += kf5-extra-cmake-modules
     SUBDIR += kf5-kapidox
     SUBDIR += kf5-kauth

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
+
+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


More information about the svn-ports-all mailing list