Update math/R-cran-xts to version 0.10.0
[dports.git] / devel / stack / Makefile
1 # Created by: Tobias Kortkamp <t@tobik.me>
2 # $FreeBSD$
3
4 # To update this port first go to
5 # https://github.com/applicative-tech/stack-dependencies, change the
6 # version in the Makefile there, regenerate the stack-dependencies
7 # tarball, commit Makefile changes, create a new tag (release)
8 # matching the new stack version, and upload the tarball.  Finally
9 # bump the version here.
10
11 PORTNAME=       stack
12 PORTVERSION=    1.4.0
13 DISTVERSIONPREFIX=      v
14 PORTREVISION=   1
15 CATEGORIES=     devel haskell
16 MASTER_SITES=   GH \
17                 https://github.com/applicative-tech/stack-dependencies/releases/download/v${PORTVERSION}/:deps
18 DISTFILES=      stack-dependencies-${PORTVERSION}${EXTRACT_SUFX}:deps
19
20 MAINTAINER=     tobik@FreeBSD.org
21 COMMENT=        Cross-platform program for developing Haskell programs
22
23 LICENSE=        BSD3CLAUSE
24
25 BUILD_DEPENDS=  ghc>0:lang/ghc \
26                 cabal:devel/hs-cabal-install
27 LIB_DEPENDS=    libgmp.so:math/gmp \
28                 libffi.so:devel/libffi
29 RUN_DEPENDS=    ca_root_nss>0:security/ca_root_nss \
30                 gmake:devel/gmake
31
32 USES=           gmake iconv perl5
33
34 USE_GITHUB=     yes
35 GH_ACCOUNT=     applicative-tech
36 GH_PROJECT=     stack-dependencies
37
38 MAKE_ENV=       TARGET="${WRKSRC}" \
39                 PREFIX="${PREFIX}" \
40                 STAGEDIR="${STAGEDIR}"
41
42 PLIST_FILES=    bin/stack \
43                 etc/bash_completion.d/_stack.bash \
44                 share/zsh/site-functions/_stack
45
46 .include <bsd.port.mk>