Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2016 15:40:35 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r418639 - in head/devel: . stack
Message-ID:  <201607161540.u6GFeZju037641@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat Jul 16 15:40:34 2016
New Revision: 418639
URL: https://svnweb.freebsd.org/changeset/ports/418639

Log:
  New port: devel/stack
  
  Stack is a cross-platform program for developing Haskell projects.
  It is aimed at Haskellers both new and experienced.
  
  WWW: http://www.haskellstack.org/
  
  PR:		208862
  Submitted by:	Tobias Kortkamp <t@tobik.me>

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Jul 16 15:13:46 2016	(r418638)
+++ head/devel/Makefile	Sat Jul 16 15:40:34 2016	(r418639)
@@ -5324,6 +5324,7 @@
     SUBDIR += splint
     SUBDIR += srecord
     SUBDIR += st
+    SUBDIR += stack
     SUBDIR += staf
     SUBDIR += statcvs
     SUBDIR += statik

Added: head/devel/stack/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/stack/Makefile	Sat Jul 16 15:40:34 2016	(r418639)
@@ -0,0 +1,46 @@
+# Created by: Tobias Kortkamp <t@tobik.me>
+# $FreeBSD$
+
+# To update this port first go to
+# https://github.com/applicative-tech/stack-dependencies, change the
+# version in the Makefile there, regenerate the stack-dependencies
+# tarball, commit Makefile changes, create a new tag (release)
+# matching the new stack version, and upload the tarball.  Finally
+# bump the version here.
+
+PORTNAME=	stack
+PORTVERSION=	1.1.2
+CATEGORIES=	devel haskell
+MASTER_SITES=	GH \
+		https://github.com/applicative-tech/stack-dependencies/releases/download/${PORTVERSION}/:deps
+DISTFILES=	stack-dependencies-${PORTVERSION}${EXTRACT_SUFX}:deps
+
+MAINTAINER=	t@tobik.me
+COMMENT=	Cross-platform program for developing Haskell programs
+
+LICENSE=	BSD3CLAUSE
+
+BUILD_DEPENDS=	ghc>0:lang/ghc \
+		cabal:devel/hs-cabal-install
+LIB_DEPENDS=	libiconv.so:converters/libiconv \
+		libgmp.so:math/gmp \
+		libffi.so:devel/libffi
+# Some (all?) GHC binaries downloaded by stack are compiled for
+# FreeBSD 8 and require that gcc and libutil.so.8 are available
+RUN_DEPENDS+=	gcc:lang/gcc
+LIB_DEPENDS+=	libutil.so.8:misc/compat8x
+
+USES=		gmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	applicative-tech
+GH_PROJECT=	stack-dependencies
+
+MAKE_ENV+=	TARGET="${WRKSRC}" \
+		PREFIX="${PREFIX}" \
+		STAGEDIR="${STAGEDIR}"
+
+PLIST_FILES=	bin/stack \
+		etc/bash_completion.d/_stack.bash \
+		share/zsh/site-functions/_stack
+
+.include <bsd.port.mk>

Added: head/devel/stack/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/stack/distinfo	Sat Jul 16 15:40:34 2016	(r418639)
@@ -0,0 +1,4 @@
+SHA256 (stack-dependencies-1.1.2.tar.gz) = e012d3b311498c00d2af137873d66ef53c183096c55621e61dcb3ca685623121
+SIZE (stack-dependencies-1.1.2.tar.gz) = 32297077
+SHA256 (applicative-tech-stack-dependencies-1.1.2_GH0.tar.gz) = fdfa8e9a7a7786e9c1faad808f1a3ae10df1dcb81351d5465afa647aa9457c3a
+SIZE (applicative-tech-stack-dependencies-1.1.2_GH0.tar.gz) = 983

Added: head/devel/stack/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/stack/pkg-descr	Sat Jul 16 15:40:34 2016	(r418639)
@@ -0,0 +1,4 @@
+Stack is a cross-platform program for developing Haskell projects.
+It is aimed at Haskellers both new and experienced. 
+
+WWW: http://www.haskellstack.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607161540.u6GFeZju037641>