freebsd-ports/devel/stack/Makefile
Gleb Popov 98ae1eaf36 lang/ghc: Update to 8.4.3 and bump PORTREVISION's of all Haskell ports.
As usual, it is recommended to rebuild or reinstall all the
dependent ports and the lang/ghc port itself in one of the following
ways:

# portmaster -w -r ghc
  or
# portupgrade -fr lang/ghc

In case of pkg(8), it is probably safer to remove all the GHC-dependent
packages along with GHC and reinstall everything from scratch.  For
example:

# pkg query "%ro" ghc > ghc-pkgs.txt
# pkg delete -y lang/ghc

In ghc-pkgs.txt, check and remove all the packages that have been moved
on the update, then use this command:

# pkg install -y `cat ghc-pkgs.txt`

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D16038
2018-06-30 09:57:59 +00:00

53 lines
1.4 KiB
Makefile

# Created by: Tobias Kortkamp <t@tobik.me>
# $FreeBSD$
# To update this port first go to
# https://github.com/arrowd/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.7.1
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= devel haskell
MASTER_SITES= GH \
https://github.com/arrowd/stack-dependencies/releases/download/v${PORTVERSION}/:deps
DISTFILES= stack-dependencies-${PORTVERSION}${EXTRACT_SUFX}:deps
MAINTAINER= ports@FreeBSD.org
COMMENT= Cross-platform program for developing Haskell programs
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ghc>0:lang/ghc \
hs-mtl>0:devel/hs-mtl \
hs-network>0:net/hs-network \
hs-old-locale>0:devel/hs-old-locale \
hs-old-time>0:devel/hs-old-time \
hs-random>0:devel/hs-random \
hs-zlib>0:archivers/hs-zlib \
cabal:devel/hs-cabal-install \
happy:devel/hs-happy
LIB_DEPENDS= libgmp.so:math/gmp \
libffi.so:devel/libffi
RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss \
gmake:devel/gmake
USES= gmake iconv:translit perl5
USE_GITHUB= yes
GH_ACCOUNT= arrowd
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>