diff options
author | marino <marino@FreeBSD.org> | 2013-07-21 22:29:46 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2013-07-21 22:29:46 +0800 |
commit | 074ed681bdacdd876db5de117f32cd0039239393 (patch) | |
tree | 3cecb7e7f7ed13aa9461ee173bae276eedd1a27d /devel/ahven | |
parent | a658efed57cec672a218894b25e69e41069f2989 (diff) | |
download | freebsd-ports-gnome-074ed681bdacdd876db5de117f32cd0039239393.tar.gz freebsd-ports-gnome-074ed681bdacdd876db5de117f32cd0039239393.tar.zst freebsd-ports-gnome-074ed681bdacdd876db5de117f32cd0039239393.zip |
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)
Diffstat (limited to 'devel/ahven')
-rw-r--r-- | devel/ahven/Makefile | 36 | ||||
-rw-r--r-- | devel/ahven/distinfo | 2 | ||||
-rw-r--r-- | devel/ahven/files/patch-Makefile | 29 | ||||
-rw-r--r-- | devel/ahven/pkg-descr | 13 | ||||
-rw-r--r-- | devel/ahven/pkg-plist | 91 |
5 files changed, 171 insertions, 0 deletions
diff --git a/devel/ahven/Makefile b/devel/ahven/Makefile new file mode 100644 index 000000000000..e57955105920 --- /dev/null +++ b/devel/ahven/Makefile @@ -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> diff --git a/devel/ahven/distinfo b/devel/ahven/distinfo new file mode 100644 index 000000000000..242e0ff16180 --- /dev/null +++ b/devel/ahven/distinfo @@ -0,0 +1,2 @@ +SHA256 (ahven-2.3.tar.gz) = 0b5d4ccafe49787425d9cfec5217902c9d9b40000b437ef886669a94248b5a30 +SIZE (ahven-2.3.tar.gz) = 304693 diff --git a/devel/ahven/files/patch-Makefile b/devel/ahven/files/patch-Makefile new file mode 100644 index 000000000000..0404695bea97 --- /dev/null +++ b/devel/ahven/files/patch-Makefile @@ -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 diff --git a/devel/ahven/pkg-descr b/devel/ahven/pkg-descr new file mode 100644 index 000000000000..f135e0fbc633 --- /dev/null +++ b/devel/ahven/pkg-descr @@ -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 diff --git a/devel/ahven/pkg-plist b/devel/ahven/pkg-plist new file mode 100644 index 000000000000..a6415e760faf --- /dev/null +++ b/devel/ahven/pkg-plist @@ -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 |