aboutsummaryrefslogtreecommitdiff
path: root/devel/libsigc++12
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libsigc++12')
-rw-r--r--devel/libsigc++12/Makefile37
-rw-r--r--devel/libsigc++12/distinfo1
-rw-r--r--devel/libsigc++12/files/patch-aa11
-rw-r--r--devel/libsigc++12/files/patch-ab29
-rw-r--r--devel/libsigc++12/files/patch-ac20
-rw-r--r--devel/libsigc++12/files/patch-ad11
-rw-r--r--devel/libsigc++12/files/patch-ae11
-rw-r--r--devel/libsigc++12/pkg-comment1
-rw-r--r--devel/libsigc++12/pkg-descr12
-rw-r--r--devel/libsigc++12/pkg-plist52
10 files changed, 185 insertions, 0 deletions
diff --git a/devel/libsigc++12/Makefile b/devel/libsigc++12/Makefile
new file mode 100644
index 000000000000..c08d009ca220
--- /dev/null
+++ b/devel/libsigc++12/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: libsigc++
+# Version required: 0.8.6
+# Date created: 27 January 2000
+# Whom: Joe Lu <JoeLu@JoeLu.m8.ntu.edu.tw>
+#
+# $FreeBSD$
+#
+
+DISTNAME= libsigc++-0.8.6
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.ece.ucdavis.edu/pub/kenelson/libsigc++/
+
+MAINTAINER= JoeLu@JoeLu.m8.ntu.edu.tw
+
+GNU_CONFIGURE= yes
+USE_NEWGCC= yes
+
+post-install:
+ @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/libsigc++
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libsigc++
+ ${INSTALL_DATA} ${WRKSRC}/FEATURES ${PREFIX}/share/doc/libsigc++
+ ${INSTALL_DATA} ${WRKSRC}/doc/API ${PREFIX}/share/doc/libsigc++
+ ${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${PREFIX}/share/doc/libsigc++
+ ${INSTALL_DATA} ${WRKSRC}/doc/UML ${PREFIX}/share/doc/libsigc++
+ ${INSTALL_DATA} ${WRKSRC}/doc/conventions ${PREFIX}/share/doc/libsigc++
+ ${INSTALL_DATA} ${WRKSRC}/doc/diagrams ${PREFIX}/share/doc/libsigc++
+ ${INSTALL_DATA} ${WRKSRC}/doc/marshal ${PREFIX}/share/doc/libsigc++
+ ${INSTALL_DATA} ${WRKSRC}/doc/powerusers ${PREFIX}/share/doc/libsigc++
+ ${INSTALL_DATA} ${WRKSRC}/doc/requirements ${PREFIX}/share/doc/libsigc++
+ ${INSTALL_DATA} ${WRKSRC}/doc/riscos ${PREFIX}/share/doc/libsigc++/
+ ${INSTALL_DATA} ${WRKSRC}/doc/signals ${PREFIX}/share/doc/libsigc++
+ ${INSTALL_DATA} ${WRKSRC}/doc/win32 ${PREFIX}/share/doc/libsigc++
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/libsigc++12/distinfo b/devel/libsigc++12/distinfo
new file mode 100644
index 000000000000..bab7eb03fbc7
--- /dev/null
+++ b/devel/libsigc++12/distinfo
@@ -0,0 +1 @@
+MD5 (libsigc++-0.8.6.tar.gz) = 3facacf4325fb124a308b98e3a508c70
diff --git a/devel/libsigc++12/files/patch-aa b/devel/libsigc++12/files/patch-aa
new file mode 100644
index 000000000000..8c62291986a7
--- /dev/null
+++ b/devel/libsigc++12/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.in Thu Jan 20 03:40:54 2000
++++ Makefile.in Thu Jan 27 23:34:05 1994
+@@ -80,7 +80,7 @@
+ USE_SYMBOL_UNDERSCORE = @USE_SYMBOL_UNDERSCORE@
+ VERSION = @VERSION@
+
+-SUBDIRS = sigc++ tests
++SUBDIRS = sigc++
+ DIST_SUBDIRS = sigc++ examples tests scripts
+
+ bin_SCRIPTS = sigc-config
diff --git a/devel/libsigc++12/files/patch-ab b/devel/libsigc++12/files/patch-ab
new file mode 100644
index 000000000000..89440f4b9c9d
--- /dev/null
+++ b/devel/libsigc++12/files/patch-ab
@@ -0,0 +1,29 @@
+--- configure Wed Jan 19 15:06:41 2000
++++ configure Thu Jan 27 23:33:56 1994
+@@ -2810,14 +2810,14 @@
+
+ if test "x$enable_threads" = "xyes" ; then
+ enable_threads="no"
+-echo $ac_n "checking for pthread_self in -lpthread""... $ac_c" 1>&6
+-echo "configure:2815: checking for pthread_self in -lpthread" >&5
++echo $ac_n "checking for pthread_self in -lc_r""... $ac_c" 1>&6
++echo "configure:2815: checking for pthread_self in -lc_r" >&5
+ ac_lib_var=`echo pthread'_'pthread_self | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lpthread $LIBS"
++LIBS="-pthread -lc_r $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 2823 "configure"
+ #include "confdefs.h"
+@@ -2848,7 +2848,7 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- enable_threads="yes";THREAD_LIB="-lpthread"
++ enable_threads="yes";THREAD_LIB="-pthread -lc_r"
+ else
+ echo "$ac_t""no" 1>&6
+ fi
diff --git a/devel/libsigc++12/files/patch-ac b/devel/libsigc++12/files/patch-ac
new file mode 100644
index 000000000000..5ee58ac5e406
--- /dev/null
+++ b/devel/libsigc++12/files/patch-ac
@@ -0,0 +1,20 @@
+--- sigc++/Makefile.in Thu Jan 20 03:40:56 2000
++++ sigc++/Makefile.in Thu Jan 27 23:40:23 1994
+@@ -65,7 +65,7 @@
+ CXX = @CXX@
+ DLLTOOL = @DLLTOOL@
+ LD = @LD@
+-LIBSIGC_SO_VERSION = @LIBSIGC_SO_VERSION@
++LIBSIGC_SO_VERSION = 1:0:0
+ LIBTOOL = @LIBTOOL@
+ LN_S = @LN_S@
+ M4 = @M4@
+@@ -90,7 +90,7 @@
+ libsigc_la_SOURCES = object.cc scope.cc marshal.cc slot.cc basic_signal.cc adaptor.cc thread.cc
+
+
+-libsigc_la_LDFLAGS = -version-info $(LIBSIGC_SO_VERSION) -release $(SIGC_RELEASE) -no-undefined
++libsigc_la_LDFLAGS = -version-info $(LIBSIGC_SO_VERSION) -no-undefined
+
+ libsigcdir = $(prefix)/include/sigc++
+
diff --git a/devel/libsigc++12/files/patch-ad b/devel/libsigc++12/files/patch-ad
new file mode 100644
index 000000000000..4a95cca835f3
--- /dev/null
+++ b/devel/libsigc++12/files/patch-ad
@@ -0,0 +1,11 @@
+--- sigc++/config/Makefile.in Thu Jan 20 03:40:58 2000
++++ sigc++/config/Makefile.in Thu Jan 27 23:34:37 1994
+@@ -81,7 +81,7 @@
+
+ EXTRA_DIST = sigc++config.h.in
+
+-includedir = $(libdir)/sigc++/include
++includedir = $(prefix)/include/sigc++
+ include_HEADERS = sigc++config.h
+ mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
+ CONFIG_HEADER = sigc++config.h
diff --git a/devel/libsigc++12/files/patch-ae b/devel/libsigc++12/files/patch-ae
new file mode 100644
index 000000000000..338287cde7b8
--- /dev/null
+++ b/devel/libsigc++12/files/patch-ae
@@ -0,0 +1,11 @@
+--- sigc++/macros/Makefile.in Thu Jan 20 03:40:59 2000
++++ sigc++/macros/Makefile.in Fri Jan 28 00:03:54 1994
+@@ -83,7 +83,7 @@
+ templates = template.macros.m4 slot.h.m4 func_slot.h.m4 class_slot.h.m4 object_slot.h.m4 basic_signal.h.m4 bind.h.m4 rettype.h.m4 convert.h.m4
+
+
+-m4includedir = $(includedir)/sigc++/macros
++m4includedir = $(prefix)/share/libsigc++
+ m4include_HEADERS = $(templates)
+
+ EXTRA_DIST = README $(templates)
diff --git a/devel/libsigc++12/pkg-comment b/devel/libsigc++12/pkg-comment
new file mode 100644
index 000000000000..5fea9c6fa201
--- /dev/null
+++ b/devel/libsigc++12/pkg-comment
@@ -0,0 +1 @@
+Callback Framework for C++
diff --git a/devel/libsigc++12/pkg-descr b/devel/libsigc++12/pkg-descr
new file mode 100644
index 000000000000..c4e6f391719b
--- /dev/null
+++ b/devel/libsigc++12/pkg-descr
@@ -0,0 +1,12 @@
+Libsigc++ -- The Typesafe Callback Framework for C++
+
+This library implements a full callback system for use in widget libraries,
+abstract interfaces, and general programming.
+
+To get a good overview of how to use the library, read
+/usr/local/share/doc/libsigc++/signals.
+
+WWW: http://www.ece.ucdavis.edu/~kenelson/libsigc++/
+
+- Joe Lu
+JoeLu@JoeLu.m8.ntu.edu.tw
diff --git a/devel/libsigc++12/pkg-plist b/devel/libsigc++12/pkg-plist
new file mode 100644
index 000000000000..0da13313119c
--- /dev/null
+++ b/devel/libsigc++12/pkg-plist
@@ -0,0 +1,52 @@
+bin/sigc-config
+include/sigc++/adaptor.h
+include/sigc++/basic_signal.h
+include/sigc++/bind.h
+include/sigc++/class_slot.h
+include/sigc++/convert.h
+include/sigc++/func_slot.h
+include/sigc++/generator.h
+include/sigc++/handle.h
+include/sigc++/handle_system.h
+include/sigc++/marshal.h
+include/sigc++/object.h
+include/sigc++/object_slot.h
+include/sigc++/rettype.h
+include/sigc++/scope.h
+include/sigc++/sigc++config.h
+include/sigc++/signal_system.h
+include/sigc++/slot.h
+include/sigc++/thread.h
+include/sigc++/type.h
+lib/libsigc.a
+lib/libsigc.la
+lib/libsigc.so
+lib/libsigc.so.1
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+share/aclocal/sigc++.m4
+share/doc/libsigc++/API
+share/doc/libsigc++/FAQ
+share/doc/libsigc++/FEATURES
+share/doc/libsigc++/README
+share/doc/libsigc++/UML
+share/doc/libsigc++/conventions
+share/doc/libsigc++/diagrams
+share/doc/libsigc++/marshal
+share/doc/libsigc++/powerusers
+share/doc/libsigc++/requirements
+share/doc/libsigc++/riscos
+share/doc/libsigc++/signals
+share/doc/libsigc++/win32
+share/libsigc++/basic_signal.h.m4
+share/libsigc++/bind.h.m4
+share/libsigc++/class_slot.h.m4
+share/libsigc++/convert.h.m4
+share/libsigc++/func_slot.h.m4
+share/libsigc++/object_slot.h.m4
+share/libsigc++/rettype.h.m4
+share/libsigc++/slot.h.m4
+share/libsigc++/template.macros.m4
+@dirrm include/sigc++
+@dirrm share/doc/libsigc++
+@dirrm share/libsigc++