blob: 35ec984aea40ab7830721911f3281b6424d920bd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $FreeBSD$
PORTNAME= cabal-install
PORTVERSION= 1.16.0.2
PORTREVISION= 3
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Command-line interface for Cabal and Hackage
LICENSE= BSD
USE_CABAL= network>=1 random>=1 HTTP>=4000.0.2 zlib>=0.4
STANDALONE= yes
EXECUTABLE= cabal-install
# Some magic to make `cabal` work with a custom toolchain
SUB_FILES= cabal
SUB_LIST= AR=${AR} CC=${CC} CPP=${CPP} LD=${LD} RANLIB=${RANLIB}
post-install::
@${MV} ${STAGEDIR}${PREFIX}/bin/cabal ${STAGEDIR}${PREFIX}/bin/cabal-install
${INSTALL_SCRIPT} ${WRKDIR}/cabal ${STAGEDIR}${PREFIX}/bin
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
|