diff --git a/devel/Makefile b/devel/Makefile --- a/devel/Makefile +++ b/devel/Makefile @@ -155,6 +155,7 @@ SUBDIR += aifad SUBDIR += aixlog SUBDIR += ald + SUBDIR += alire SUBDIR += allegro SUBDIR += allegro5 SUBDIR += amber diff --git a/devel/alire/Makefile b/devel/alire/Makefile new file mode 100644 --- /dev/null +++ b/devel/alire/Makefile @@ -0,0 +1,43 @@ +PORTNAME= alire +DISTVERSION= 1.2.2 +CATEGORIES= devel +MASTER_SITES= https://github.com/alire-project/alire/releases/download/v${PORTVERSION}/ +DISTNAME= alr-${PORTVERSION}-full-sources + +MAINTAINER= agh@riseup.net +COMMENT= Ada LIbrary REpository (ALIRE) management tool, alr +WWW= https://alire.ada.dev/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= gprbuild>0:devel/gprbuild + +USES= ada:12 zip +USE_GCC= yes + +_GPR_ARGS= -j${MAKE_JOBS_NUMBER} -XALIRE_OS=freebsd +MAKE_ENV= PATH=${LOCALBASE}/gnat12/bin:${PATH} + +WRKSRC= ${WRKDIR}/alr-${PORTVERSION} + +PLIST_FILES= bin/alr +PORTDOCS= *.graphml *.md *.pdf *.png *.svg AEPs/* + +OPTIONS_DEFINE= DOCS + +do-build: + (cd ${WRKSRC} && \ + ${SETENV} ${MAKE_ENV} gprbuild ${_GPR_ARGS} -p -P alr_env) + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/alr \ + ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + +.include diff --git a/devel/alire/distinfo b/devel/alire/distinfo new file mode 100644 --- /dev/null +++ b/devel/alire/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1691804403 +SHA256 (alr-1.2.2-full-sources.zip) = 8a9efd65a3da4e22ffaf5b146dba8dc125cf4ea26d482a25bcaac85d0d2764d1 +SIZE (alr-1.2.2-full-sources.zip) = 2267709 diff --git a/devel/alire/pkg-descr b/devel/alire/pkg-descr new file mode 100644 --- /dev/null +++ b/devel/alire/pkg-descr @@ -0,0 +1,15 @@ +ALIRE: Ada LIbrary REpository. + +A catalog of ready-to-use Ada libraries plus a command-line tool (alr) to +obtain, build, and use with your own projects. + +alr is designed to configure, and deploy custom isolated userspace +environments, known as a project or workspace. Environments will contain +all the state, and dependencies it requires for operation. + +Properties and dependencies of projects are managed through a TOML file +(alire.toml, found at the root of Alire workspaces). This file exists locally +for working copies of projects, and the Alire community index stores the files +corresponding to its projects. + +You can check the environment alr is using with 'alr printenv'