aboutsummaryrefslogtreecommitdiff
path: root/devel/llbuild/Makefile
blob: a3e6f5a8b9c323ea74bc0fbbfdf6d279fb83431e (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
28
29
30
31
32
33
34
35
36
37
PORTNAME=		llbuild
DISTVERSIONPREFIX=	swift-DEVELOPMENT-
DISTVERSION=		SNAPSHOT-2017-12-10
DISTVERSIONSUFFIX=	-a
CATEGORIES=		devel

MAINTAINER=	jonathan@FreeBSD.org
COMMENT=	Low-level build system, used by the Swift Package Manager
WWW=		https://github.com/apple/swift-llbuild

LICENSE=	APACHE20 BSD3CLAUSE NCSA
LICENSE_COMB=	multi
LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE.txt

BROKEN_aarch64=		fails to link: undefined symbol: sbrk
BROKEN_riscv64=		fails to link: undefined symbol: sbrk
BROKEN_FreeBSD_12_powerpc64=	fails to build on powerpc64 elfv1: unrecognized command line option "-Wdocumentation"

LIB_DEPENDS=	libsqlite3.so:databases/sqlite3

USES=		cmake

USE_GITHUB=	yes
GH_ACCOUNT=	apple
GH_PROJECT=	swift-llbuild

USE_LDCONFIG=	yes

OPTIONS_DEFINE=	DOCS

PORTDOCS=	CONTRIBUTING.md README.md

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>