diff options
author | edwin <edwin@FreeBSD.org> | 2003-09-27 14:48:16 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-09-27 14:48:16 +0800 |
commit | c9bfb6e2af365846ec068b8d07dd91f75db44ffb (patch) | |
tree | d495ed5983e82b4ced3657e767ef92083cb81264 /devel | |
parent | a102bca5dcaf21abdc0d15ccc675b31322e128c1 (diff) | |
download | freebsd-ports-graphics-c9bfb6e2af365846ec068b8d07dd91f75db44ffb.tar.gz freebsd-ports-graphics-c9bfb6e2af365846ec068b8d07dd91f75db44ffb.tar.zst freebsd-ports-graphics-c9bfb6e2af365846ec068b8d07dd91f75db44ffb.zip |
New port: SGL - incomplete STL implementation for ADA95
The Ada "Standard Generic Library" (SGL) The Ada SGL is a
port of the C++ Standard Template Library (STL).
PR: ports/46410
Submitted by: David Holm <david@realityrift.com>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/sgl/Makefile | 46 | ||||
-rw-r--r-- | devel/sgl/distinfo | 1 | ||||
-rw-r--r-- | devel/sgl/files/patch-makefile | 19 | ||||
-rw-r--r-- | devel/sgl/pkg-descr | 5 | ||||
-rw-r--r-- | devel/sgl/pkg-plist | 119 |
6 files changed, 191 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index beaae53d4ad..e59195738a3 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -976,6 +976,7 @@ SUBDIR += semantic-emacs20 SUBDIR += sfio SUBDIR += sgb + SUBDIR += sgl SUBDIR += sh-rtems-binutils SUBDIR += sh-rtems-g77 SUBDIR += sh-rtems-gcc diff --git a/devel/sgl/Makefile b/devel/sgl/Makefile new file mode 100644 index 00000000000..4fb53714b6f --- /dev/null +++ b/devel/sgl/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: sgl +# Date created: 20 December 2002 +# Whom: David Holm <david@realityrift.com> +# +# $FreeBSD$ +# + +PORTNAME= sgl +PORTVERSION= 2.0a3 +CATEGORIES= devel +MASTER_SITES= ftp://ftp.cs.rpi.edu/pub/stl/ +DISTNAME= SGL-${PORTVERSION} + +MAINTAINER= david@realityrift.com +COMMENT= STL implementation for ADA95 + +RUN_DEPENDS= gnatmake:${PORTSDIR}/lang/gnat + +NO_BUILD= yes + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +.include <bsd.port.pre.mk> + +do-install: + ${MKDIR} ${PREFIX}/lib/SGL + ${MKDIR} ${PREFIX}/share/SGL + ${MKDIR} ${PREFIX}/share/SGL/examples + + for i in `cat pkg-plist|grep -v dirrm|grep "lib/SGL"|sed "s/lib\/SGL\///"`; do \ + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sgl/$${i} ${PREFIX}/lib/SGL; \ + done + + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/copyright ${PREFIX}/share/SGL + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/readme ${PREFIX}/share/SGL + + for i in `cat pkg-plist|grep -v dirrm|grep "share/SGL/examples"|sed "s/share\/SGL\/examples\///"`; do \ + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/test/$${i} ${PREFIX}/share/SGL/examples; \ + done + +post-install: + @${ECHO} + @${ECHO} "Files have been installed into ${PREFIX}/lib/SGL" + @${ECHO} + +.include <bsd.port.post.mk> diff --git a/devel/sgl/distinfo b/devel/sgl/distinfo new file mode 100644 index 00000000000..c1d0adab77c --- /dev/null +++ b/devel/sgl/distinfo @@ -0,0 +1 @@ +MD5 (SGL-2.0a3.tar.gz) = d7dcc49d40b596f5d852edbc9ef64d7a diff --git a/devel/sgl/files/patch-makefile b/devel/sgl/files/patch-makefile new file mode 100644 index 00000000000..efba499f306 --- /dev/null +++ b/devel/sgl/files/patch-makefile @@ -0,0 +1,19 @@ +--- test/makefile.orig Wed Aug 19 03:59:46 1998 ++++ test/makefile Fri Dec 20 22:03:12 2002 +@@ -11,7 +11,7 @@ + # + + GNATMAKE=gnatmake +-ADA_INCLUDE=-I../SGL ++ADA_INCLUDE=-I/usr/local/lib/SGL + # Debuging flags :-v -gnatv -gnatf #-gnatdc + GFLAGS_OPT=-O3 -gnatn + #GFLAGS=-g +@@ -57,6 +57,6 @@ + ./test_iterators + + clean: dummy +- rm -f *.ali *.o *~ b_*.c test_vectors.exe test_lists.exe test_trees.exe test_sets.exe test_maps.exe test_stacks.exe test_queues.exe test_algorithms.exe test_container_signatures.exe test_functions.exe test_iterators.exe benchmark.exe ++ rm -f *.ali *.o *~ *.log b_*.c b~* test_vectors test_lists test_trees test_sets test_maps test_stacks test_queues test_algorithms test_container_signatures test_functions test_iterators benchmark + + dummy: diff --git a/devel/sgl/pkg-descr b/devel/sgl/pkg-descr new file mode 100644 index 00000000000..69b78d2718a --- /dev/null +++ b/devel/sgl/pkg-descr @@ -0,0 +1,5 @@ +The Ada "Standard Generic Library" (SGL) +The Ada SGL is a port of the C++ Standard Template Library (STL). + +- David Holm +david@realityrift.com diff --git a/devel/sgl/pkg-plist b/devel/sgl/pkg-plist new file mode 100644 index 00000000000..84fbf4d1447 --- /dev/null +++ b/devel/sgl/pkg-plist @@ -0,0 +1,119 @@ +lib/SGL/header +lib/SGL/sgl-algorithms.adb +lib/SGL/sgl-algorithms.ads +lib/SGL/sgl-back_insertion_sequence_containers.ads +lib/SGL/sgl-basic_algorithms.adb +lib/SGL/sgl-basic_algorithms.ads +lib/SGL/sgl-bidirectional_constant_iterators.ads +lib/SGL/sgl-bidirectional_iterators.ads +lib/SGL/sgl-containers.ads +lib/SGL/sgl-controlled_stubs.adb +lib/SGL/sgl-controlled_stubs.ads +lib/SGL/sgl-default_allocators.adb +lib/SGL/sgl-default_allocators.ads +lib/SGL/sgl-forward_constant_iterators.ads +lib/SGL/sgl-forward_containers.ads +lib/SGL/sgl-forward_iterators.ads +lib/SGL/sgl-front_insertion_sequence_containers.ads +lib/SGL/sgl-function_adaptors.adb +lib/SGL/sgl-function_adaptors.ads +lib/SGL/sgl-input_iterators.ads +lib/SGL/sgl-integer_operations.ads +lib/SGL/sgl-iterator_adaptors.adb +lib/SGL/sgl-iterator_adaptors.ads +lib/SGL/sgl-iterator_tags.adb +lib/SGL/sgl-iterator_tags.ads +lib/SGL/sgl-list_signatures.ads +lib/SGL/sgl-lists.adb +lib/SGL/sgl-lists.ads +lib/SGL/sgl-lists.cp +lib/SGL/sgl-map_signatures.ads +lib/SGL/sgl-maps.adb +lib/SGL/sgl-maps.ads +lib/SGL/sgl-ostream_iterators.adb +lib/SGL/sgl-ostream_iterators.ads +lib/SGL/sgl-output_iterators.ads +lib/SGL/sgl-pairs.adb +lib/SGL/sgl-pairs.ads +lib/SGL/sgl-priority_queues.adb +lib/SGL/sgl-priority_queues.ads +lib/SGL/sgl-private_stubs.adb +lib/SGL/sgl-private_stubs.ads +lib/SGL/sgl-queues.adb +lib/SGL/sgl-queues.ads +lib/SGL/sgl-random_access_constant_iterators.ads +lib/SGL/sgl-random_access_containers.ads +lib/SGL/sgl-random_access_iterators.ads +lib/SGL/sgl-reverse_bidirectional_constant_iterators.adb +lib/SGL/sgl-reverse_bidirectional_constant_iterators.ads +lib/SGL/sgl-reverse_bidirectional_iterators.adb +lib/SGL/sgl-reverse_bidirectional_iterators.ads +lib/SGL/sgl-reverse_constant_iterator_operations.adb +lib/SGL/sgl-reverse_constant_iterator_operations.ads +lib/SGL/sgl-reverse_iterator_operations.adb +lib/SGL/sgl-reverse_iterator_operations.ads +lib/SGL/sgl-reverse_random_access_constant_iterators.adb +lib/SGL/sgl-reverse_random_access_constant_iterators.ads +lib/SGL/sgl-reverse_random_access_iterators.adb +lib/SGL/sgl-reverse_random_access_iterators.ads +lib/SGL/sgl-reversible_containers.ads +lib/SGL/sgl-sequence_containers.ads +lib/SGL/sgl-set_signatures.ads +lib/SGL/sgl-sets.adb +lib/SGL/sgl-sets.ads +lib/SGL/sgl-special_pairs-extension.adb +lib/SGL/sgl-special_pairs-extension.ads +lib/SGL/sgl-special_pairs.adb +lib/SGL/sgl-special_pairs.ads +lib/SGL/sgl-stacks.adb +lib/SGL/sgl-stacks.ads +lib/SGL/sgl-trees.adb +lib/SGL/sgl-trees.ads +lib/SGL/sgl-vector_signatures.ads +lib/SGL/sgl-vectors.adb +lib/SGL/sgl-vectors.ads +lib/SGL/sgl.ads +share/SGL/copyright +share/SGL/readme +share/SGL/examples/benchmark.adb +share/SGL/examples/bitest.adb +share/SGL/examples/integer_ostream_iterators.adb +share/SGL/examples/test_algorithms.adb +share/SGL/examples/test_assert.adb +share/SGL/examples/test_container_signatures.adb +share/SGL/examples/test_functions.adb +share/SGL/examples/test_iterators.adb +share/SGL/examples/test_lists.adb +share/SGL/examples/test_maps.adb +share/SGL/examples/test_queues.adb +share/SGL/examples/test_sets.adb +share/SGL/examples/test_stacks.adb +share/SGL/examples/test_trees.adb +share/SGL/examples/test_vectors.adb +share/SGL/examples/bool_private.ads +share/SGL/examples/bool_random.ads +share/SGL/examples/boolean_controlled.ads +share/SGL/examples/int_bool_map_signatures.ads +share/SGL/examples/int_bool_maps.ads +share/SGL/examples/int_bool_multimaps.ads +share/SGL/examples/int_controlled.ads +share/SGL/examples/int_identity.ads +share/SGL/examples/int_list_containers.ads +share/SGL/examples/int_list_queues.ads +share/SGL/examples/int_list_signatures.ads +share/SGL/examples/int_lists.ads +share/SGL/examples/int_private.ads +share/SGL/examples/int_random.ads +share/SGL/examples/int_set_signatures.ads +share/SGL/examples/int_sets.ads +share/SGL/examples/int_trees.ads +share/SGL/examples/int_vector_containers.ads +share/SGL/examples/int_vector_signatures.ads +share/SGL/examples/int_vector_stacks.ads +share/SGL/examples/int_vectors.ads +share/SGL/examples/integer_ostream_iterators.ads +share/SGL/examples/test_assert.ads +share/SGL/examples/makefile +@dirrm lib/SGL +@dirrm share/SGL/examples +@dirrm share/SGL |