Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2002 22:11:44 +0100 (CET)
From:      David Holm <david@realityrift.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46410: New port: SGL - incomplete STL implementation for ADA95
Message-ID:  <200212202111.gBKLBig6085210@rift.ath.cx>

next in thread | raw e-mail | index | archive | help

>Number:         46410
>Category:       ports
>Synopsis:       New port: SGL - incomplete STL implementation for ADA95
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 20 13:20:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     David Holm
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD rift.ath.cx 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Sun Dec 15 14:14:05 CET 2002 avatar@rift.ath.cx:/usr/src/sys/i386/compile/MYKERNEL i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

	

--- sgl.sh begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	devel/sgl
#	devel/sgl/Makefile
#	devel/sgl/distinfo
#	devel/sgl/pkg-plist
#	devel/sgl/files
#	devel/sgl/files/patch-makefile
#	devel/sgl/pkg-comment
#	devel/sgl/pkg-descr
#
echo c - devel/sgl
mkdir -p devel/sgl > /dev/null 2>&1
echo x - devel/sgl/Makefile
sed 's/^X//' >devel/sgl/Makefile << 'END-of-devel/sgl/Makefile'
X# New ports collection makefile for:   sgl
X# Date created:        20 December 2002
X# Whom:                David Holm <david@realityrift.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      sgl
XPORTVERSION=   2.0a3
XCATEGORIES=    devel
XMASTER_SITES=  ftp://ftp.cs.rpi.edu/pub/stl/
XDISTNAME=      SGL-${PORTVERSION}
X
XMAINTAINER=    david@realityrift.com
X
XRUN_DEPENDS=   gnatmake:${PORTSDIR}/lang/gnat
X
XNO_BUILD=      yes
X
XWRKSRC=        ${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
X.include <bsd.port.pre.mk>
X
Xdo-install:
X	${MKDIR} ${PREFIX}/lib/SGL
X	${MKDIR} ${PREFIX}/share/SGL
X	${MKDIR} ${PREFIX}/share/SGL/examples
X
X	for i in `cat pkg-plist|grep -v dirrm|grep "lib/SGL"|sed "s/lib\/SGL\///"`; do \
X			${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sgl/$${i} ${PREFIX}/lib/SGL; \
X	done
X
X	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/copyright ${PREFIX}/share/SGL
X	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/readme ${PREFIX}/share/SGL
X
X	for i in `cat pkg-plist|grep -v dirrm|grep "share/SGL/examples"|sed "s/share\/SGL\/examples\///"`; do \
X			${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/test/$${i} ${PREFIX}/share/SGL/examples; \
X	done
X
Xpost-install:
X	@${ECHO}
X	@${ECHO} "Files have been installed into ${PREFIX}/lib/SGL"
X	@${ECHO}
X
X.include <bsd.port.post.mk>
END-of-devel/sgl/Makefile
echo x - devel/sgl/distinfo
sed 's/^X//' >devel/sgl/distinfo << 'END-of-devel/sgl/distinfo'
XMD5 (SGL-2.0a3.tar.gz) = d7dcc49d40b596f5d852edbc9ef64d7a
END-of-devel/sgl/distinfo
echo x - devel/sgl/pkg-plist
sed 's/^X//' >devel/sgl/pkg-plist << 'END-of-devel/sgl/pkg-plist'
Xlib/SGL/header
Xlib/SGL/sgl-algorithms.adb
Xlib/SGL/sgl-algorithms.ads
Xlib/SGL/sgl-back_insertion_sequence_containers.ads
Xlib/SGL/sgl-basic_algorithms.adb
Xlib/SGL/sgl-basic_algorithms.ads
Xlib/SGL/sgl-bidirectional_constant_iterators.ads
Xlib/SGL/sgl-bidirectional_iterators.ads
Xlib/SGL/sgl-containers.ads
Xlib/SGL/sgl-controlled_stubs.adb
Xlib/SGL/sgl-controlled_stubs.ads
Xlib/SGL/sgl-default_allocators.adb
Xlib/SGL/sgl-default_allocators.ads
Xlib/SGL/sgl-forward_constant_iterators.ads
Xlib/SGL/sgl-forward_containers.ads
Xlib/SGL/sgl-forward_iterators.ads
Xlib/SGL/sgl-front_insertion_sequence_containers.ads
Xlib/SGL/sgl-function_adaptors.adb
Xlib/SGL/sgl-function_adaptors.ads
Xlib/SGL/sgl-input_iterators.ads
Xlib/SGL/sgl-integer_operations.ads
Xlib/SGL/sgl-iterator_adaptors.adb
Xlib/SGL/sgl-iterator_adaptors.ads
Xlib/SGL/sgl-iterator_tags.adb
Xlib/SGL/sgl-iterator_tags.ads
Xlib/SGL/sgl-list_signatures.ads
Xlib/SGL/sgl-lists.adb
Xlib/SGL/sgl-lists.ads
Xlib/SGL/sgl-lists.cp
Xlib/SGL/sgl-map_signatures.ads
Xlib/SGL/sgl-maps.adb
Xlib/SGL/sgl-maps.ads
Xlib/SGL/sgl-ostream_iterators.adb
Xlib/SGL/sgl-ostream_iterators.ads
Xlib/SGL/sgl-output_iterators.ads
Xlib/SGL/sgl-pairs.adb
Xlib/SGL/sgl-pairs.ads
Xlib/SGL/sgl-priority_queues.adb
Xlib/SGL/sgl-priority_queues.ads
Xlib/SGL/sgl-private_stubs.adb
Xlib/SGL/sgl-private_stubs.ads
Xlib/SGL/sgl-queues.adb
Xlib/SGL/sgl-queues.ads
Xlib/SGL/sgl-random_access_constant_iterators.ads
Xlib/SGL/sgl-random_access_containers.ads
Xlib/SGL/sgl-random_access_iterators.ads
Xlib/SGL/sgl-reverse_bidirectional_constant_iterators.adb
Xlib/SGL/sgl-reverse_bidirectional_constant_iterators.ads
Xlib/SGL/sgl-reverse_bidirectional_iterators.adb
Xlib/SGL/sgl-reverse_bidirectional_iterators.ads
Xlib/SGL/sgl-reverse_constant_iterator_operations.adb
Xlib/SGL/sgl-reverse_constant_iterator_operations.ads
Xlib/SGL/sgl-reverse_iterator_operations.adb
Xlib/SGL/sgl-reverse_iterator_operations.ads
Xlib/SGL/sgl-reverse_random_access_constant_iterators.adb
Xlib/SGL/sgl-reverse_random_access_constant_iterators.ads
Xlib/SGL/sgl-reverse_random_access_iterators.adb
Xlib/SGL/sgl-reverse_random_access_iterators.ads
Xlib/SGL/sgl-reversible_containers.ads
Xlib/SGL/sgl-sequence_containers.ads
Xlib/SGL/sgl-set_signatures.ads
Xlib/SGL/sgl-sets.adb
Xlib/SGL/sgl-sets.ads
Xlib/SGL/sgl-special_pairs-extension.adb
Xlib/SGL/sgl-special_pairs-extension.ads
Xlib/SGL/sgl-special_pairs.adb
Xlib/SGL/sgl-special_pairs.ads
Xlib/SGL/sgl-stacks.adb
Xlib/SGL/sgl-stacks.ads
Xlib/SGL/sgl-trees.adb
Xlib/SGL/sgl-trees.ads
Xlib/SGL/sgl-vector_signatures.ads
Xlib/SGL/sgl-vectors.adb
Xlib/SGL/sgl-vectors.ads
Xlib/SGL/sgl.ads
Xshare/SGL/copyright
Xshare/SGL/readme
Xshare/SGL/examples/benchmark.adb
Xshare/SGL/examples/bitest.adb
Xshare/SGL/examples/integer_ostream_iterators.adb
Xshare/SGL/examples/test_algorithms.adb
Xshare/SGL/examples/test_assert.adb
Xshare/SGL/examples/test_container_signatures.adb
Xshare/SGL/examples/test_functions.adb
Xshare/SGL/examples/test_iterators.adb
Xshare/SGL/examples/test_lists.adb
Xshare/SGL/examples/test_maps.adb
Xshare/SGL/examples/test_queues.adb
Xshare/SGL/examples/test_sets.adb
Xshare/SGL/examples/test_stacks.adb
Xshare/SGL/examples/test_trees.adb
Xshare/SGL/examples/test_vectors.adb
Xshare/SGL/examples/bool_private.ads
Xshare/SGL/examples/bool_random.ads
Xshare/SGL/examples/boolean_controlled.ads
Xshare/SGL/examples/int_bool_map_signatures.ads
Xshare/SGL/examples/int_bool_maps.ads
Xshare/SGL/examples/int_bool_multimaps.ads
Xshare/SGL/examples/int_controlled.ads
Xshare/SGL/examples/int_identity.ads
Xshare/SGL/examples/int_list_containers.ads
Xshare/SGL/examples/int_list_queues.ads
Xshare/SGL/examples/int_list_signatures.ads
Xshare/SGL/examples/int_lists.ads
Xshare/SGL/examples/int_private.ads
Xshare/SGL/examples/int_random.ads
Xshare/SGL/examples/int_set_signatures.ads
Xshare/SGL/examples/int_sets.ads
Xshare/SGL/examples/int_trees.ads
Xshare/SGL/examples/int_vector_containers.ads
Xshare/SGL/examples/int_vector_signatures.ads
Xshare/SGL/examples/int_vector_stacks.ads
Xshare/SGL/examples/int_vectors.ads
Xshare/SGL/examples/integer_ostream_iterators.ads
Xshare/SGL/examples/test_assert.ads
Xshare/SGL/examples/makefile
X@dirrm lib/SGL
X@dirrm share/SGL/examples
X@dirrm share/SGL
END-of-devel/sgl/pkg-plist
echo c - devel/sgl/files
mkdir -p devel/sgl/files > /dev/null 2>&1
echo x - devel/sgl/files/patch-makefile
sed 's/^X//' >devel/sgl/files/patch-makefile << 'END-of-devel/sgl/files/patch-makefile'
X--- test/makefile.orig	Wed Aug 19 03:59:46 1998
X+++ test/makefile	Fri Dec 20 22:03:12 2002
X@@ -11,7 +11,7 @@
X # 
X 
X GNATMAKE=gnatmake
X-ADA_INCLUDE=-I../SGL
X+ADA_INCLUDE=-I/usr/local/lib/SGL
X # Debuging flags :-v -gnatv -gnatf #-gnatdc
X GFLAGS_OPT=-O3 -gnatn
X #GFLAGS=-g
X@@ -57,6 +57,6 @@
X 	./test_iterators
X 
X clean: dummy
X-	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
X+	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
X 
X dummy:
END-of-devel/sgl/files/patch-makefile
echo x - devel/sgl/pkg-comment
sed 's/^X//' >devel/sgl/pkg-comment << 'END-of-devel/sgl/pkg-comment'
XSTL implementation for ADA95
END-of-devel/sgl/pkg-comment
echo x - devel/sgl/pkg-descr
sed 's/^X//' >devel/sgl/pkg-descr << 'END-of-devel/sgl/pkg-descr'
XThe Ada "Standard Generic Library" (SGL)
XThe Ada SGL is a port of the C++ Standard Template Library (STL).
X
X- David Holm
Xdavid@realityrift.com
END-of-devel/sgl/pkg-descr
exit
--- sgl.sh ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212202111.gBKLBig6085210>