Changeset View
Changeset View
Standalone View
Standalone View
head/devel/hs-darcs/Makefile
# Created by: Oliver Braun <obraun@FreeBSD.org> | # Created by: Oliver Braun <obraun@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= darcs | PORTNAME= darcs | ||||
PORTVERSION= 2.14.1 | PORTVERSION= 2.14.2 | ||||
PORTREVISION= 3 | |||||
CATEGORIES= devel haskell | CATEGORIES= devel haskell | ||||
MAINTAINER= haskell@FreeBSD.org | MAINTAINER= haskell@FreeBSD.org | ||||
COMMENT= Distributed, interactive, smart revision control system | COMMENT= Distributed, interactive, smart revision control system | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
BROKEN= Doesn't build with recent GHC | USES= cabal pkgconfig | ||||
USE_CABAL= async attoparsec base16-bytestring cryptohash \ | USE_CABAL= HTTP-4000.3.12_2 async-2.2.1_1 attoparsec-0.13.2.2_2 \ | ||||
data-ordlist fgl graphviz hashable html HTTP \ | base16-bytestring-0.1.1.6 base-compat-0.10.5 basement-0.0.10_1 \ | ||||
mmap mtl random \ | byteable-0.1.1 colour-2.3.4 conduit-1.3.1.1 cryptohash-0.11.9 \ | ||||
regex-applicative regex-compat-tdfa sandi tar \ | cryptonite-0.25 data-ordlist-0.4.7.0 digest-0.0.1.2 dlist-0.8.0.5 \ | ||||
transformers-compat unix-compat \ | exceptions-0.10.0_2 fgl-5.7.0.1 graphviz-2999.20.0.3 \ | ||||
utf8-string vector zip-archive zlib | hashable-1.2.7.0_1 html-1.0.1.2 integer-logarithms-1.0.2.2_1 \ | ||||
EXECUTABLE= darcs | memory-0.14.18_1 mmap-0.5.9 mono-traversable-1.0.11.0 \ | ||||
network-2.7.0.2_2 network-uri-2.6.1.0_1 old-locale-1.0.0.7_2 \ | |||||
old-time-1.1.0.3_2 polyparse-1.12.1 primitive-0.6.4.0_1 \ | |||||
random-1.1_1 regex-applicative-0.3.3 regex-base-0.93.2 \ | |||||
regex-compat-tdfa-0.95.1.4 regex-tdfa-1.2.3.1 resourcet-1.2.2 \ | |||||
sandi-0.5 scientific-0.3.6.2 split-0.2.3.3_1 tar-0.5.1.0_1 \ | |||||
temporary-1.3 transformers-compat-0.6.2 unix-compat-0.5.1 \ | |||||
unliftio-core-0.1.2.0_1 unordered-containers-0.2.10.0 \ | |||||
utf8-string-1.0.1.1_3 vector-0.12.0.2 vector-algorithms-0.8.0.1 \ | |||||
wl-pprint-text-1.2.0.0 zip-archive-0.4 zlib-0.6.2 | |||||
MAN1PAGES= darcs.1 | CABAL_FLAGS= pkgconfig executable optimize | ||||
FLAGS_DEFINE= STATIC TERMINFO THREADED | OPTIONS_DEFINE= CURL TERMINFO THREADED | ||||
FLAGS_MULTI= WEB | OPTIONS_DEFAULT= CURL TERMINFO THREADED | ||||
FLAGS_MULTI_WEB= CURL HTTP | |||||
WEB_DESC= HTTP backend | |||||
FLAGS_DEFAULT= CURL THREADED | |||||
FLAGS_ENABLE= library executable | |||||
CURL_DESC= Use libcurl for HTTP support | CURL_DESC= Use libcurl for HTTP support | ||||
CURL_FLAG_ENABLE= curl | CURL_FLAG_ENABLE= curl | ||||
CURL_FLAG_LIB= libcurl.so:ftp/curl | CURL_LIB_DEPENDS= libcurl.so:ftp/curl | ||||
HTTP_DESC= Use the pure HTTP package | TERMINFO_DESC= Use terminfo library for enhanced console support | ||||
HTTP_FLAG_ENABLE= http | TERMINFO_CABAL_FLAGS= terminfo | ||||
HTTP_FLAG_CABAL= HTTP>=4000.2.3 network>=2.6 network-uri>=2.6 | |||||
STATIC_DESC= Build static binary | |||||
STATIC_FLAG_ENABLE= static | |||||
TERMINFO_DESC= Use terminfo | |||||
TERMINFO_FLAG_ENABLE= terminfo | |||||
THREADED_DESC= Use threading and SMP support | THREADED_DESC= Use threading and SMP support | ||||
THREADED_FLAG_ENABLE= threaded | THREADED_CABAL_FLAGS= threaded | ||||
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" | |||||
.if ${PORT_OPTIONS:MSTATIC} && ${PORT_OPTIONS:MCURL} | |||||
BROKEN= enabling STATIC and CURL together will produce linker errors | |||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |