1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/devel/hs-darcs/Makefile
Gleb Popov 429aaeeeae Deprecate www/hs-hS3, devel/hs-darcs, devel/hs-hashed-storage.
PR:		224192
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D16672
2018-08-15 10:51:55 +00:00

57 lines
1.3 KiB
Makefile

# Created by: Oliver Braun <obraun@FreeBSD.org>
# $FreeBSD$
PORTNAME= darcs
PORTVERSION= 2.14.1
PORTREVISION= 1
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Distributed, interactive, smart revision control system
LICENSE= GPLv2
USE_CABAL= async attoparsec base16-bytestring cryptohash \
data-ordlist fgl graphviz hashable html HTTP \
mmap mtl random \
regex-applicative regex-compat-tdfa sandi tar \
transformers-compat unix-compat \
utf8-string vector zip-archive zlib
EXECUTABLE= darcs
MAN1PAGES= darcs.1
FLAGS_DEFINE= STATIC TERMINFO THREADED
FLAGS_MULTI= WEB
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_FLAG_ENABLE= curl
CURL_FLAG_LIB= libcurl.so:ftp/curl
HTTP_DESC= Use the pure HTTP package
HTTP_FLAG_ENABLE= http
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_FLAG_ENABLE= 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>