mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Add new port: devel/ahven
Avhen is a testing framework for the Ada programming language. It has functional similarities to JUnit and AUnit. Approved by: bapt (mentor)
This commit is contained in:
parent
25a3e224f5
commit
42c75472fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323393
@ -44,6 +44,7 @@
|
||||
SUBDIR += adime
|
||||
SUBDIR += aegis
|
||||
SUBDIR += afay
|
||||
SUBDIR += ahven
|
||||
SUBDIR += aifad
|
||||
SUBDIR += alabastra
|
||||
SUBDIR += ald
|
||||
|
36
devel/ahven/Makefile
Normal file
36
devel/ahven/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# Created by: John Marino <marino@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ahven
|
||||
PORTVERSION= 2.3
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF
|
||||
MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME}/Ahven%20${PORTVERSION}
|
||||
|
||||
MAINTAINER= marino@FreeBSD.org
|
||||
COMMENT= Ada unit test framework
|
||||
|
||||
BUILD_DEPENDS= adactl:${PORTSDIR}/lang/adacontrol
|
||||
|
||||
USES= ada
|
||||
ALL_TARGET= build_all
|
||||
DESTINY= ${WRKDIR}/destino
|
||||
MAKE_ENV+= DESTDIR=${DESTINY}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
USE_PYTHON= yes
|
||||
BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx \
|
||||
${PYTHON_PKGNAMEPREFIX}sphinxcontrib-adadomain>0:${PORTSDIR}/textproc/py-sphinxcontrib-adadomain
|
||||
ALL_TARGET+= docs
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${RM} -rf ${DESTINY}${PREFIX}/share/doc/ahven/html/_sources
|
||||
@${RM} ${DESTINY}${PREFIX}/share/doc/ahven/html/.buildinfo
|
||||
@${CP} -pR ${DESTINY}${PREFIX}/ ${PREFIX}/
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/ahven/distinfo
Normal file
2
devel/ahven/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (ahven-2.3.tar.gz) = 0b5d4ccafe49787425d9cfec5217902c9d9b40000b437ef886669a94248b5a30
|
||||
SIZE (ahven-2.3.tar.gz) = 304693
|
29
devel/ahven/files/patch-Makefile
Normal file
29
devel/ahven/files/patch-Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
--- Makefile.orig 2013-01-23 19:59:16.000000000 +0000
|
||||
+++ Makefile
|
||||
@@ -91,17 +91,17 @@ distclean:
|
||||
install: install_lib install_docs
|
||||
|
||||
install_lib: build_lib
|
||||
- mkdir -p $(PREFIX)/include/ahven
|
||||
- mkdir -p $(LIBDIR)/ahven
|
||||
- mkdir -p $(PREFIX)/lib/gnat
|
||||
- $(INSTALL) -m 644 $(SOURCES) $(PREFIX)/include/ahven
|
||||
- $(INSTALL) -m 444 $(ALI_FILES) $(LIBDIR)/ahven
|
||||
- $(INSTALL) -m 644 lib/$(STATIC_LIBRARY) $(LIBDIR)/ahven
|
||||
- $(INSTALL) -m 644 $(GPR_FILE) $(PREFIX)/lib/gnat
|
||||
+ mkdir -p $(DESTDIR)$(PREFIX)/include/ahven
|
||||
+ mkdir -p $(DESTDIR)$(PREFIX)/lib/ahven
|
||||
+ mkdir -p $(DESTDIR)$(PREFIX)/lib/gnat
|
||||
+ $(INSTALL) -m 644 $(SOURCES) $(DESTDIR)$(PREFIX)/include/ahven
|
||||
+ $(INSTALL) -m 444 $(ALI_FILES) $(DESTDIR)$(PREFIX)/lib/ahven
|
||||
+ $(INSTALL) -m 644 lib/$(STATIC_LIBRARY) $(DESTDIR)$(PREFIX)/lib/ahven
|
||||
+ $(INSTALL) -m 644 $(GPR_FILE) $(DESTDIR)$(PREFIX)/lib/gnat
|
||||
|
||||
install_docs: userguide
|
||||
- mkdir -p $(PREFIX)/share/doc/ahven
|
||||
- cp -r doc/manual/en/build/html $(PREFIX)/share/doc/ahven
|
||||
+ mkdir -p $(DESTDIR)$(PREFIX)/share/doc/ahven
|
||||
+ cp -r doc/manual/en/build/html $(DESTDIR)$(PREFIX)/share/doc/ahven
|
||||
|
||||
check: build_tests
|
||||
./tester -c
|
13
devel/ahven/pkg-descr
Normal file
13
devel/ahven/pkg-descr
Normal file
@ -0,0 +1,13 @@
|
||||
Ahven is a simple unit test library and framework for the Ada programming
|
||||
lanugage. It is loosely modelled after JUnit and some ideas from AUnit.
|
||||
|
||||
Features:
|
||||
Simple API
|
||||
Small size
|
||||
JUnit-compatible test results in XML format
|
||||
Strict coding style enforced by AdaControl
|
||||
This allows integration with tools like Jenkins and CruiseControl
|
||||
Limited to Ada95 language features
|
||||
Permissions open source license (ISC)
|
||||
|
||||
WWW: http://ahven.stronglytyped.org
|
91
devel/ahven/pkg-plist
Normal file
91
devel/ahven/pkg-plist
Normal file
@ -0,0 +1,91 @@
|
||||
include/ahven/ahven-astrings.ads
|
||||
include/ahven/ahven-framework.adb
|
||||
include/ahven/ahven-framework.ads
|
||||
include/ahven/ahven-listeners-basic.adb
|
||||
include/ahven/ahven-listeners-basic.ads
|
||||
include/ahven/ahven-listeners.ads
|
||||
include/ahven/ahven-long_astrings.ads
|
||||
include/ahven/ahven-parameters.adb
|
||||
include/ahven/ahven-parameters.ads
|
||||
include/ahven/ahven-results.adb
|
||||
include/ahven/ahven-results.ads
|
||||
include/ahven/ahven-runner.adb
|
||||
include/ahven/ahven-runner.ads
|
||||
include/ahven/ahven-slist.adb
|
||||
include/ahven/ahven-slist.ads
|
||||
include/ahven/ahven-tap_runner.adb
|
||||
include/ahven/ahven-tap_runner.ads
|
||||
include/ahven/ahven-temporary_output.adb
|
||||
include/ahven/ahven-temporary_output.ads
|
||||
include/ahven/ahven-text_runner.adb
|
||||
include/ahven/ahven-text_runner.ads
|
||||
include/ahven/ahven-xml_runner.adb
|
||||
include/ahven/ahven-xml_runner.ads
|
||||
include/ahven/ahven.adb
|
||||
include/ahven/ahven.ads
|
||||
include/ahven/ahven_compat.adb
|
||||
include/ahven/ahven_compat.ads
|
||||
lib/ahven/ahven-astrings.ali
|
||||
lib/ahven/ahven-framework.ali
|
||||
lib/ahven/ahven-listeners-basic.ali
|
||||
lib/ahven/ahven-listeners.ali
|
||||
lib/ahven/ahven-long_astrings.ali
|
||||
lib/ahven/ahven-parameters.ali
|
||||
lib/ahven/ahven-results.ali
|
||||
lib/ahven/ahven-runner.ali
|
||||
lib/ahven/ahven-slist.ali
|
||||
lib/ahven/ahven-tap_runner.ali
|
||||
lib/ahven/ahven-temporary_output.ali
|
||||
lib/ahven/ahven-text_runner.ali
|
||||
lib/ahven/ahven-xml_runner.ali
|
||||
lib/ahven/ahven.ali
|
||||
lib/ahven/ahven_compat.ali
|
||||
lib/ahven/libahven.a
|
||||
lib/gnat/ahven.gpr
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/ajax-loader.gif
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/basic.css
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/comment-bright.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/comment-close.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/comment.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/doctools.js
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/down-pressed.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/down.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/file.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/jquery.js
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/minus.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/nature.css
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/plus.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/pygments.css
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/searchtools.js
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/underscore.js
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/up-pressed.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/up.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/_static/websupport.js
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/ada-modindex.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/api-ahven-framework.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/api-ahven-listeners-basic.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/api-ahven-listeners.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/api-ahven-parameters.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/api-ahven-results.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/api-ahven-runner.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/api-ahven-slist.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/api-ahven-tap_runner.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/api-ahven-temporary_output.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/api-ahven-text_runner.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/api-ahven-xml_runner.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/api-ahven.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/api.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/design.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/genindex.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/manual.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/objects.inv
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/search.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/searchindex.js
|
||||
@dirrm include/ahven
|
||||
@dirrm lib/ahven
|
||||
@dirrmtry lib/gnat
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/_static
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%PORTDOCS%%@dirrmtry share/doc
|
Loading…
Reference in New Issue
Block a user