PORTNAME=	darcs
DISTVERSION=	2.18.5
PORTREVISION=	1
CATEGORIES=	devel haskell

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	Distributed, interactive, smart revision control system
WWW=		https://darcs.net/

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	ghc-9.8.4:lang/ghc98

USES=		cabal pkgconfig

USE_CABAL=	OneTuple-0.4.2_1 \
		QuickCheck-2.15.0.1_1 \
		StateVar-1.2.2 \
		aeson-2.2.3.0_3 \
		ansi-terminal-1.1.2 \
		ansi-terminal-types-1.1 \
		appar-0.1.8 \
		asn1-encoding-0.9.6_2 \
		asn1-parse-0.9.5 \
		asn1-types-0.3.4 \
		assoc-1.1.1_1 \
		async-2.2.5_3 \
		atomic-counter-0.1.2.3 \
		attoparsec-0.14.4_6 \
		attoparsec-aeson-2.2.2.0 \
		base-orphans-0.9.3 \
		base16-bytestring-1.0.2.0_1 \
		base64-bytestring-1.2.1.0_1 \
		basement-0.0.16 \
		bifunctors-5.6.2_2 \
		bitvec-1.1.5.0_3 \
		blaze-builder-0.4.2.3 \
		boring-0.2.2_1 \
		byteorder-1.0.4 \
		case-insensitive-1.2.1.0 \
		cborg-0.2.10.0_2 \
		cereal-0.5.8.3 \
		character-ps-0.1 \
		colour-2.3.6 \
		comonad-5.0.9_1 \
		conduit-1.3.6.1 \
		conduit-extra-1.3.7 \
		constraints-0.14.2_1 \
		contravariant-1.5.5 \
		cookie-0.5.1 \
		crypton-1.0.4 \
		crypton-connection-0.4.4 \
		crypton-x509-1.7.7 \
		crypton-x509-store-1.6.10 \
		crypton-x509-system-1.6.7 \
		crypton-x509-validation-1.6.14 \
		cryptonite-0.30 \
		data-default-0.8.0.1 \
		data-default-class-0.2.0.0 \
		data-fix-0.3.4_1 \
		data-ordlist-0.4.7.0 \
		digest-0.0.2.1 \
		directory-ospath-streaming-0.2.2 \
		distributive-0.6.2.1_1 \
		dlist-1.0_2 \
		ech-config-0.0.1 \
		fgl-5.8.3.0 \
		file-io-0.1.5 \
		filtrable-0.1.6.0_1 \
		generically-0.1.1_4 \
		half-0.3.2 \
		hashable-1.4.7.0 \
		hourglass-0.2.12_1 \
		hpke-0.0.0 \
		hsc2hs-0.68.10_4 \
		html-1.0.1.2 \
		http-client-0.7.19 \
		http-client-tls-0.3.6.4_2 \
		http-conduit-2.3.9.1 \
		http-types-0.12.4 \
		indexed-traversable-0.1.4_1 \
		indexed-traversable-instances-0.1.2_1 \
		integer-conversion-0.1.1_1 \
		integer-logarithms-1.0.4 \
		iproute-1.7.15 \
		memory-0.18.0_1 \
		mime-types-0.1.2.0 \
		mmap-0.5.9 \
		mono-traversable-1.0.21.0 \
		network-3.2.7.0 \
		network-byte-order-0.1.7 \
		network-uri-2.6.4.2_1 \
		old-locale-1.0.0.7_2 \
		old-time-1.1.0.4 \
		optparse-applicative-0.18.1.0_1 \
		os-string-2.0.7 \
		pem-0.2.4 \
		prettyprinter-1.7.1 \
		prettyprinter-ansi-terminal-1.1.3 \
		primitive-0.9.1.0 \
		random-1.3.1 \
		regex-applicative-0.3.4 \
		regex-base-0.94.0.3 \
		regex-tdfa-1.3.2.4 \
		resourcet-1.3.0 \
		safe-0.3.21_1 \
		scientific-0.3.8.0_2 \
		semialign-1.3.1_2 \
		semigroupoids-6.0.1_2 \
		serialise-0.2.6.1_4 \
		socks-0.6.1 \
		split-0.2.5 \
		splitmix-0.1.1 \
		streaming-commons-0.2.3.0 \
		strict-0.5.1_1 \
		tagged-0.8.9 \
		tar-0.6.4.0_1 \
		tasty-1.5.3_1 \
		temporary-1.3 \
		terminal-size-0.3.4_1 \
		text-iso8601-0.1.1_2 \
		text-short-0.1.6_3 \
		th-abstraction-0.7.1.0_1 \
		th-compat-0.1.6 \
		these-1.2.1_2 \
		time-compat-1.9.8 \
		tls-2.1.9 \
		transformers-compat-0.7.2 \
		typed-process-0.2.13.0 \
		unix-compat-0.7.4 \
		unix-time-0.4.16 \
		unliftio-core-0.2.1.0_4 \
		unordered-containers-0.2.20_4 \
		utf8-string-1.0.2 \
		uuid-types-1.0.6_3 \
		vector-0.13.2.0_1 \
		vector-algorithms-0.9.1.0 \
		vector-stream-0.1.0.1_3 \
		witherable-0.5_1 \
		zip-archive-0.4.3.2_1 \
		zlib-0.7.1.0_2

.include <bsd.port.mk>
