PORTNAME=	purescript
DISTVERSIONPREFIX=v
PORTVERSION=	0.15.16
CATEGORIES=	lang

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	Functional language that compiles to JavaScript
WWW=		https://www.purescript.org/

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	ghc-9.8.4:lang/ghc98

USES=		cabal

USE_GITHUB=	yes
GH_TUPLE=	purescript:cheapskate:633c69024e061ad956f1aecfc137fb99a7a7a20b:cheapskate/dist-newstyle/src/cheapskate-2b7d9040a6c99dc66a75cbbf8e892de170830ff08b4c515e8a6898af1e6b078a

USE_LOCALE=	en_US.UTF-8

BINARY_ALIAS=	git=true

USE_CABAL=	Glob-0.10.2_3 \
		OneTuple-0.4.2.1 \
		QuickCheck-2.16.0.0 \
		StateVar-1.2.2 \
		adjunctions-4.4.4 \
		aeson-2.2.3.0_4 \
		aeson-better-errors-0.9.1.3 \
		alex-3.5.4.0 \
		ansi-terminal-1.1.5 \
		ansi-terminal-types-1.1.3 \
		assoc-1.1.1_2 \
		async-2.2.6 \
		attoparsec-0.14.4_6 \
		auto-update-0.2.6 \
		base-orphans-0.9.4 \
		basement-0.0.16 \
		bifunctors-5.6.3_1 \
		bitvec-1.1.6.0 \
		blaze-builder-0.4.4.1 \
		blaze-html-0.9.2.0_1 \
		blaze-markup-0.8.3.0_2 \
		boring-0.2.2_1 \
		bower-json-1.1.0.0 \
		boxes-0.1.5 \
		call-stack-0.4.0 \
		cborg-0.2.10.0_3 \
		character-ps-0.1 \
		clock-0.8.4 \
		colour-2.3.7 \
		comonad-5.0.10 \
		conduit-1.3.6.1 \
		conduit-extra-1.3.8_1 \
		constraints-0.14.4 \
		contravariant-1.5.6 \
		cryptonite-0.30 \
		css-text-0.1.3.0 \
		data-default-0.7.1.3 \
		data-default-class-0.1.2.2 \
		data-default-instances-containers-0.1.0.3 \
		data-default-instances-dlist-0.0.1.2 \
		data-default-instances-old-locale-0.0.1.2 \
		data-fix-0.3.4_2 \
		data-ordlist-0.4.7.0 \
		distributive-0.6.3 \
		dlist-1.0_2 \
		easy-file-0.2.5 \
		edit-distance-0.2.2.1_1 \
		fast-logger-3.2.6 \
		file-embed-0.0.16.0 \
		free-5.2_8 \
		generically-0.1.1_5 \
		half-0.3.3_2 \
		happy-2.0.2 \
		happy-lib-2.0.2 \
		hashable-1.5.1.0 \
		hsc2hs-0.68.10_5 \
		indexed-traversable-0.1.4_1 \
		indexed-traversable-instances-0.1.2_1 \
		integer-conversion-0.1.1_2 \
		integer-logarithms-1.0.5 \
		invariant-0.6.5 \
		kan-extensions-5.2.8 \
		language-javascript-0.7.0.0 \
		lens-5.3.6 \
		lifted-async-0.10.2.7 \
		lifted-base-0.2.3.12 \
		memory-0.18.0_1 \
		monad-control-1.0.3.1 \
		monad-logger-0.3.42 \
		monad-loops-0.4.3 \
		mono-traversable-1.0.21.0 \
		monoidal-containers-0.6.7.0 \
		mtl-compat-0.2.2 \
		network-3.2.8.0 \
		network-uri-2.6.4.2_1 \
		newtype-0.2.2.1 \
		old-locale-1.0.0.7_2 \
		old-time-1.1.1.0 \
		optparse-applicative-0.18.1.0_1 \
		os-string-2.0.10 \
		parallel-3.2.2.0_10 \
		prettyprinter-1.7.1 \
		prettyprinter-ansi-terminal-1.1.3 \
		primitive-0.9.1.0_1 \
		profunctors-5.6.3 \
		protolude-0.3.5 \
		random-1.3.1 \
		reflection-2.1.9_1 \
		regex-base-0.94.0.3 \
		regex-tdfa-1.3.2.5 \
		resourcet-1.3.0 \
		safe-0.3.21_1 \
		scientific-0.3.8.1 \
		semialign-1.3.1_2 \
		semigroupoids-6.0.2_1 \
		semigroups-0.20.1 \
		serialise-0.2.6.1_5 \
		sourcemap-0.1.7 \
		split-0.2.5 \
		splitmix-0.1.3.2 \
		stm-chans-3.0.0.11 \
		streaming-commons-0.2.3.1 \
		strict-0.5.1_1 \
		stringsearch-0.3.6.6_2 \
		syb-0.7.4 \
		tagged-0.8.10_1 \
		tagsoup-0.14.8 \
		tasty-1.5.3_2 \
		text-iso8601-0.1.1_2 \
		text-short-0.1.6.1 \
		th-abstraction-0.7.2.0 \
		th-compat-0.1.7 \
		these-1.2.1_2 \
		time-compat-1.9.9 \
		transformers-base-0.4.6.1 \
		transformers-compat-0.7.2 \
		typed-process-0.2.13.0 \
		uniplate-1.6.13_1 \
		unix-compat-0.7.4.1 \
		unix-time-0.4.17 \
		unliftio-core-0.2.1.0_4 \
		unordered-containers-0.2.21_2 \
		utf8-string-1.0.2 \
		uuid-types-1.0.6_3 \
		vector-0.13.2.0_2 \
		vector-algorithms-0.9.1.0_1 \
		vector-stream-0.1.0.1_4 \
		void-0.7.4 \
		witherable-0.5_2 \
		xss-sanitize-0.3.7.2_1 \
		zlib-0.7.1.1

CABAL_EXECUTABLES=	purs
CABAL_FLAGS=		release
CABAL_PROJECT=		append

.include <bsd.port.mk>
