summaryrefslogtreecommitdiff
path: root/devel/sgi-stl
diff options
context:
space:
mode:
authorjlam <jlam>2000-05-24 05:46:52 +0000
committerjlam <jlam>2000-05-24 05:46:52 +0000
commit1f3f3ffe379b6d8e7e8a8f58cf2bc33ad6be698a (patch)
tree35a0cba43242431ec598197d521ddbf4d16e19b9 /devel/sgi-stl
parentc2f55a6f59d7f470448f165b9846f13c78cadb61 (diff)
downloadpkgsrc-1f3f3ffe379b6d8e7e8a8f58cf2bc33ad6be698a.tar.gz
SGI Standard Template Library
Diffstat (limited to 'devel/sgi-stl')
-rw-r--r--devel/sgi-stl/Makefile24
-rw-r--r--devel/sgi-stl/files/md53
-rw-r--r--devel/sgi-stl/files/patch-sum4
-rw-r--r--devel/sgi-stl/patches/patch-aa22
-rw-r--r--devel/sgi-stl/patches/patch-ab14
-rw-r--r--devel/sgi-stl/pkg/COMMENT1
-rw-r--r--devel/sgi-stl/pkg/DESCR7
-rw-r--r--devel/sgi-stl/pkg/PLIST89
8 files changed, 164 insertions, 0 deletions
diff --git a/devel/sgi-stl/Makefile b/devel/sgi-stl/Makefile
new file mode 100644
index 00000000000..cd4f271fb62
--- /dev/null
+++ b/devel/sgi-stl/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/05/24 05:46:52 jlam Exp $
+
+DISTNAME= stl
+PKGNAME= sgi-stl-3.2
+CATEGORIES= devel
+MASTER_SITES= http://www.sgi.com/Technology/STL/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.sgi.com/Technology/STL/
+
+DIST_SUBDIR= ${PKGNAME}
+NO_WRKSUBDIR= # defined
+
+NO_CONFIGURE= # defined
+NO_BUILD= # defined
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/include/sgi-stl
+ cd ${WRKSRC}; for file in `${GREP} "^include/sgi-stl/" ${PLIST_SRC} \
+ | ${SED} "s,^include/sgi-stl/,,g"`; do \
+ ${INSTALL_DATA} $${file} ${PREFIX}/include/sgi-stl/$${file}; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/sgi-stl/files/md5 b/devel/sgi-stl/files/md5
new file mode 100644
index 00000000000..8fa35d274ce
--- /dev/null
+++ b/devel/sgi-stl/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/05/24 05:46:53 jlam Exp $
+
+MD5 (sgi-stl-3.2/stl.tar.gz) = 641e50e14e0d5de6cf998d419889c8cd
diff --git a/devel/sgi-stl/files/patch-sum b/devel/sgi-stl/files/patch-sum
new file mode 100644
index 00000000000..86c1abbd2d5
--- /dev/null
+++ b/devel/sgi-stl/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/05/24 05:46:53 jlam Exp $
+
+MD5 (patch-aa) = 21d0428a70306bb5f22bae2856c7f9c7
+MD5 (patch-ab) = 9ae485b51542be0469461ee9e75a4fec
diff --git a/devel/sgi-stl/patches/patch-aa b/devel/sgi-stl/patches/patch-aa
new file mode 100644
index 00000000000..34e27c10bd2
--- /dev/null
+++ b/devel/sgi-stl/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/05/24 05:46:54 jlam Exp $
+
+Still need to find 1st word of +infinity, quiet NaN, and signaling NaN.
+
+--- limits.orig Thu Apr 22 20:47:10 1999
++++ limits Sat May 13 02:24:42 2000
+@@ -372,9 +372,15 @@
+ #if !defined(LONGLONG_MIN) && !defined(LONGLONG_MAX) \
+ && !defined(ULONGLONG_MAX)
+
++#ifdef __NetBSD__
++#define ULONGLONG_MAX ULLONG_MAX
++#define LONGLONG_MAX LLONG_MAX
++#define LONGLONG_MIN LLONG_MIN
++#else
+ #define ULONGLONG_MAX 0xffffffffffffffffLLU
+ #define LONGLONG_MAX 0x7fffffffffffffffLL
+ #define LONGLONG_MIN (-LONGLONG_MAX - 1)
++#endif
+
+ #endif
+
diff --git a/devel/sgi-stl/patches/patch-ab b/devel/sgi-stl/patches/patch-ab
new file mode 100644
index 00000000000..170142975b0
--- /dev/null
+++ b/devel/sgi-stl/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/05/24 05:46:54 jlam Exp $
+
+--- stl_config.h.orig Thu Apr 22 20:47:11 1999
++++ stl_config.h Sat May 13 02:19:46 2000
+@@ -260,6 +260,9 @@
+ # ifdef _REENTRANT
+ # define __STL_PTHREADS
+ # endif
++# ifdef __NetBSD__
++# define __STL_LONG_LONG
++# endif
+ # endif
+
+ # if defined(__SUNPRO_CC)
diff --git a/devel/sgi-stl/pkg/COMMENT b/devel/sgi-stl/pkg/COMMENT
new file mode 100644
index 00000000000..033b2f7baae
--- /dev/null
+++ b/devel/sgi-stl/pkg/COMMENT
@@ -0,0 +1 @@
+SGI Standard Template Library
diff --git a/devel/sgi-stl/pkg/DESCR b/devel/sgi-stl/pkg/DESCR
new file mode 100644
index 00000000000..39cbea14504
--- /dev/null
+++ b/devel/sgi-stl/pkg/DESCR
@@ -0,0 +1,7 @@
+The Standard Template Library, or STL, is a C++ library of container
+classes, algorithms, and iterators; it provides many of the basic
+algorithms and data structures of computer science. The STL is a
+generic library, meaning that its components are heavily
+parameterized: almost every component in the STL is a template. You
+should make sure that you understand how templates work in C++ before
+you use the STL.
diff --git a/devel/sgi-stl/pkg/PLIST b/devel/sgi-stl/pkg/PLIST
new file mode 100644
index 00000000000..ffe63d503d1
--- /dev/null
+++ b/devel/sgi-stl/pkg/PLIST
@@ -0,0 +1,89 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/05/24 05:46:54 jlam Exp $
+include/sgi-stl/algo.h
+include/sgi-stl/algobase.h
+include/sgi-stl/algorithm
+include/sgi-stl/alloc.h
+include/sgi-stl/bitset
+include/sgi-stl/bvector.h
+include/sgi-stl/char_traits.h
+include/sgi-stl/defalloc.h
+include/sgi-stl/deque
+include/sgi-stl/deque.h
+include/sgi-stl/function.h
+include/sgi-stl/functional
+include/sgi-stl/hash_map
+include/sgi-stl/hash_map.h
+include/sgi-stl/hash_set
+include/sgi-stl/hash_set.h
+include/sgi-stl/hashtable.h
+include/sgi-stl/heap.h
+include/sgi-stl/iterator
+include/sgi-stl/iterator.h
+include/sgi-stl/limits
+include/sgi-stl/list
+include/sgi-stl/list.h
+include/sgi-stl/map
+include/sgi-stl/map.h
+include/sgi-stl/memory
+include/sgi-stl/multimap.h
+include/sgi-stl/multiset.h
+include/sgi-stl/numeric
+include/sgi-stl/pair.h
+include/sgi-stl/pthread_alloc
+include/sgi-stl/pthread_alloc.h
+include/sgi-stl/queue
+include/sgi-stl/rope
+include/sgi-stl/rope.h
+include/sgi-stl/ropeimpl.h
+include/sgi-stl/set
+include/sgi-stl/set.h
+include/sgi-stl/slist
+include/sgi-stl/slist.h
+include/sgi-stl/stack
+include/sgi-stl/stack.h
+include/sgi-stl/stdexcept
+include/sgi-stl/stl_algo.h
+include/sgi-stl/stl_algobase.h
+include/sgi-stl/stl_alloc.h
+include/sgi-stl/stl_bvector.h
+include/sgi-stl/stl_config.h
+include/sgi-stl/stl_construct.h
+include/sgi-stl/stl_deque.h
+include/sgi-stl/stl_exception.h
+include/sgi-stl/stl_function.h
+include/sgi-stl/stl_hash_fun.h
+include/sgi-stl/stl_hash_map.h
+include/sgi-stl/stl_hash_set.h
+include/sgi-stl/stl_hashtable.h
+include/sgi-stl/stl_heap.h
+include/sgi-stl/stl_iterator.h
+include/sgi-stl/stl_iterator_base.h
+include/sgi-stl/stl_list.h
+include/sgi-stl/stl_map.h
+include/sgi-stl/stl_multimap.h
+include/sgi-stl/stl_multiset.h
+include/sgi-stl/stl_numeric.h
+include/sgi-stl/stl_pair.h
+include/sgi-stl/stl_queue.h
+include/sgi-stl/stl_range_errors.h
+include/sgi-stl/stl_raw_storage_iter.h
+include/sgi-stl/stl_relops.h
+include/sgi-stl/stl_rope.h
+include/sgi-stl/stl_set.h
+include/sgi-stl/stl_slist.h
+include/sgi-stl/stl_stack.h
+include/sgi-stl/stl_string_fwd.h
+include/sgi-stl/stl_tempbuf.h
+include/sgi-stl/stl_threads.h
+include/sgi-stl/stl_tree.h
+include/sgi-stl/stl_uninitialized.h
+include/sgi-stl/stl_vector.h
+include/sgi-stl/string
+include/sgi-stl/tempbuf.h
+include/sgi-stl/tree.h
+include/sgi-stl/type_traits.h
+include/sgi-stl/utility
+include/sgi-stl/valarray
+include/sgi-stl/vector
+include/sgi-stl/vector.h
+@dirrm include/sgi-stl