Changeset View
Changeset View
Standalone View
Standalone View
devel/llbuild/Makefile
- This file was added.
# $FreeBSD$ | |||||
PORTNAME= llbuild | |||||
DISTVERSION= swift-DEVELOPMENT-SNAPSHOT-2016-11-01-a | |||||
CATEGORIES= devel | |||||
mat: This is quite awful, it generates a `PKGNAME` of `llbuild-s.d.s.2016.11.01.a`.
Maybe it could… | |||||
Done Inline ActionsThat's an excellent point. :) I think this takes care of it? jonathan: That's an excellent point. :)
I think this takes care of it? | |||||
MAINTAINER= jonathan@FreeBSD.org | |||||
COMMENT= Low-level build system, used by the Swift Package Manager | |||||
LICENSE= APACHE20 BSD3CLAUSE LLVM | |||||
LICENSE_COMB= multi | |||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt | |||||
BUILD_DEPENDS= llvm-lit39:devel/llvm39 | |||||
Done Inline ActionsLICENSE_FILE without a LICENSE defined makes no sense :-) mat: LICENSE_FILE without a LICENSE defined makes no sense :-) | |||||
Done Inline ActionsI wasn't quite sure what to do here... the license is Apache 2.0, but with a runtime exception and with a couple of components under different licenses (e.g., embedded LLVM bits under UIUC license). Suggestions? :) jonathan: I wasn't quite sure what to do here... the license is Apache 2.0, but with a runtime exception… | |||||
Done Inline ActionsFriendly ping? :) jonathan: Friendly ping? :) | |||||
Done Inline ActionsOk, I have discovered how LICENSE_COMB works... does this look sensible? jonathan: Ok, I have discovered how `LICENSE_COMB` works... does this look sensible? | |||||
Done Inline ActionsMostly, LICENSE_FILE does nothing if there are more than one license though. mat: Mostly, LICENSE_FILE does nothing if there are more than one license though. | |||||
LIB_DEPENDS= libsqlite3.so:databases/sqlite3 | |||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= apple | |||||
GH_PROJECT= swift-llbuild | |||||
USES= cmake:outsource | |||||
USE_LDCONFIG= yes | |||||
OPTIONS_DEFINE= DOCS | |||||
PORTDOCS= CONTRIBUTING.md README.md | |||||
Done Inline Actionsshould be post-install-DOCS-on mat: should be post-install-DOCS-on | |||||
post-install-DOCS-on: | |||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | |||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} | |||||
.include <bsd.port.mk> |
This is quite awful, it generates a PKGNAME of llbuild-s.d.s.2016.11.01.a.
Maybe it could be a bit saner by doing:
which will change PKGNAME to llbuild-s.2016.11.01