summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/libgail-gnome/Makefile39
-rw-r--r--x11-toolkits/libgail-gnome/distinfo1
-rw-r--r--x11-toolkits/libgail-gnome/files/patch-ltmain.sh45
-rw-r--r--x11-toolkits/libgail-gnome/pkg-comment1
-rw-r--r--x11-toolkits/libgail-gnome/pkg-descr4
-rw-r--r--x11-toolkits/libgail-gnome/pkg-plist4
7 files changed, 95 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 2d01ae097163..1d52ce0d16bd 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -57,6 +57,7 @@
SUBDIR += jx
SUBDIR += lesstif
SUBDIR += libbonoboui
+ SUBDIR += libgail-gnome
SUBDIR += libgnomeprintui
SUBDIR += libgnomeui
SUBDIR += libgtkeditor
diff --git a/x11-toolkits/libgail-gnome/Makefile b/x11-toolkits/libgail-gnome/Makefile
new file mode 100644
index 000000000000..7c3efc48f874
--- /dev/null
+++ b/x11-toolkits/libgail-gnome/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: libgail-gnome
+# Date Created: 12 April 2002
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libgail-gnome
+PORTVERSION= 0.5.0
+CATEGORIES= x11-toolkits
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-beta3
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+
+LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui \
+ spi.0:${PORTSDIR}/x11-toolkits/at-spi
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
+ --datadir=${PREFIX}/share/gnome \
+ --with-html-dir=${PREFIX}/share/doc \
+ --disable-gtk-doc \
+ --enable-static
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+pre-patch:
+ @find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
+ 's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g ; \
+ s|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g'
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/libgail-gnome/distinfo b/x11-toolkits/libgail-gnome/distinfo
new file mode 100644
index 000000000000..a05ae42a8f56
--- /dev/null
+++ b/x11-toolkits/libgail-gnome/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/libgail-gnome-0.5.0.tar.bz2) = 55ae884514698d4c57c66381f434aa46
diff --git a/x11-toolkits/libgail-gnome/files/patch-ltmain.sh b/x11-toolkits/libgail-gnome/files/patch-ltmain.sh
new file mode 100644
index 000000000000..91713d2306f8
--- /dev/null
+++ b/x11-toolkits/libgail-gnome/files/patch-ltmain.sh
@@ -0,0 +1,45 @@
+
+$FreeBSD$
+
+--- ltmain.sh.orig Wed Jan 23 11:38:40 2002
++++ ltmain.sh Sun Feb 3 01:44:17 2002
+@@ -1037,8 +1037,16 @@
+ continue
+ ;;
+
++ -pthread)
++ compile_command="$compile_command -pthread"
++ finalize_command="$finalize_command -pthread"
++ compiler_flags="$compiler_flags -pthread"
++ continue
++ ;;
++
+ -module)
+ module=yes
++ build_old_libs=no
+ continue
+ ;;
+
+@@ -2412,6 +2420,9 @@
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test "$build_libtool_need_lc" = "yes"; then
+@@ -4179,10 +4190,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/x11-toolkits/libgail-gnome/pkg-comment b/x11-toolkits/libgail-gnome/pkg-comment
new file mode 100644
index 000000000000..df59910da661
--- /dev/null
+++ b/x11-toolkits/libgail-gnome/pkg-comment
@@ -0,0 +1 @@
+An implementation of the ATK interfaces for GNOME widgets
diff --git a/x11-toolkits/libgail-gnome/pkg-descr b/x11-toolkits/libgail-gnome/pkg-descr
new file mode 100644
index 000000000000..5fd20ba9149f
--- /dev/null
+++ b/x11-toolkits/libgail-gnome/pkg-descr
@@ -0,0 +1,4 @@
+Gail, the Gnome Accessibility Implementation library, is implementation of the
+ATK interfaces for GNOME widgets.
+
+WWW: http://www.gnome.org/
diff --git a/x11-toolkits/libgail-gnome/pkg-plist b/x11-toolkits/libgail-gnome/pkg-plist
new file mode 100644
index 000000000000..b02e89c19867
--- /dev/null
+++ b/x11-toolkits/libgail-gnome/pkg-plist
@@ -0,0 +1,4 @@
+lib/libgail-gnome.a
+lib/libgail-gnome.so
+lib/libgail-gnome.so.0
+libdata/pkgconfig/libgail-gnome.pc