summaryrefslogtreecommitdiffstats
path: root/devel/libglademm
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-25 10:35:37 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-25 10:35:37 +0800
commit16d9b5663ec0705845d3b9df5befedce3460cfcb (patch)
tree78f540472b439453e71bba32b21739ae2698af8e /devel/libglademm
parentbb60b9775ea0c18fc3427155d945d7a96488556d (diff)
downloadmarcuscom-ports-16d9b5663ec0705845d3b9df5befedce3460cfcb.tar
marcuscom-ports-16d9b5663ec0705845d3b9df5befedce3460cfcb.tar.gz
marcuscom-ports-16d9b5663ec0705845d3b9df5befedce3460cfcb.tar.bz2
marcuscom-ports-16d9b5663ec0705845d3b9df5befedce3460cfcb.tar.lz
marcuscom-ports-16d9b5663ec0705845d3b9df5befedce3460cfcb.tar.xz
marcuscom-ports-16d9b5663ec0705845d3b9df5befedce3460cfcb.tar.zst
marcuscom-ports-16d9b5663ec0705845d3b9df5befedce3460cfcb.zip
USE_X_PREFIX -> USE_XLIB, bump the PORTREVISION. Need to get this done for
I can go back work on PrefixStatus (audio/cantus_3). git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6770 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/libglademm')
-rw-r--r--devel/libglademm/Makefile33
-rw-r--r--devel/libglademm/distinfo3
-rw-r--r--devel/libglademm/files/patch-libglade__libglademm__xml.h11
-rw-r--r--devel/libglademm/files/patch-tools__extra_defs_gen__Makefile.in11
-rw-r--r--devel/libglademm/pkg-descr3
-rw-r--r--devel/libglademm/pkg-plist21
6 files changed, 82 insertions, 0 deletions
diff --git a/devel/libglademm/Makefile b/devel/libglademm/Makefile
new file mode 100644
index 000000000..140b06f7d
--- /dev/null
+++ b/devel/libglademm/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: libglademm
+# Date created: 22 May 2003
+# Whom: Alexander Nedotsukov <bland@mail.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libglademm
+PORTVERSION= 2.1.3
+PORTREVISION= 3
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gtkmm
+DIST_SUBDIR= gnome2
+
+MAINTAINER= bland@FreeBSD.org
+COMMENT= C++ wrapper for libglade2 library
+
+LIB_DEPENDS= gtkmm-2.0:${PORTSDIR}/x11-toolkits/gtkmm20
+BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
+
+USE_XLIB= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack libglade2
+USE_AUTOTOOLS= libtool:15
+INSTALLS_SHLIB= yes
+CONFIGURE_ARGS= --enable-static
+
+post-patch:
+ @${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \
+ ${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/devel/libglademm/distinfo b/devel/libglademm/distinfo
new file mode 100644
index 000000000..91b17ae85
--- /dev/null
+++ b/devel/libglademm/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/libglademm-2.1.3.tar.gz) = 9f950bb0cdd410cb36d1d0c3e23eca6a
+SHA256 (gnome2/libglademm-2.1.3.tar.gz) = 2f8feb8c01e747a11568ff7485463e69f691069898377d4cc2536b012c5b9f6a
+SIZE (gnome2/libglademm-2.1.3.tar.gz) = 340596
diff --git a/devel/libglademm/files/patch-libglade__libglademm__xml.h b/devel/libglademm/files/patch-libglade__libglademm__xml.h
new file mode 100644
index 000000000..470271746
--- /dev/null
+++ b/devel/libglademm/files/patch-libglade__libglademm__xml.h
@@ -0,0 +1,11 @@
+--- libglade/libglademm/xml.h.orig Tue Oct 11 11:18:23 2005
++++ libglade/libglademm/xml.h Tue Oct 11 11:18:51 2005
+@@ -240,7 +240,7 @@
+ //If there is already a C++ instance, then return it again:
+ if(pObjectBase)
+ {
+- widget = dynamic_cast<T_Widget*>( Glib::wrap(pCWidget) );
++ widget = dynamic_cast<T_Widget*>( Glib::wrap((GtkWidget*)pCWidget) );
+
+ //The dynamic cast checks that it is of the correct type.
+ //Somebody might be trying to call get_widget_derived() after already calling get_widget(),
diff --git a/devel/libglademm/files/patch-tools__extra_defs_gen__Makefile.in b/devel/libglademm/files/patch-tools__extra_defs_gen__Makefile.in
new file mode 100644
index 000000000..7225b23f3
--- /dev/null
+++ b/devel/libglademm/files/patch-tools__extra_defs_gen__Makefile.in
@@ -0,0 +1,11 @@
+--- tools/extra_defs_gen/Makefile.in.orig Tue Sep 30 02:13:30 2003
++++ tools/extra_defs_gen/Makefile.in Fri Apr 22 11:59:21 2005
+@@ -87,7 +87,7 @@
+ LIBGLADEMM_VERSION = @LIBGLADEMM_VERSION@
+ LIBGLADE_VERSION_NEEDED = @LIBGLADE_VERSION_NEEDED@
+ LIBOBJS = @LIBOBJS@
+-LIBS = $(LIBGLADEMM_LIBS) -lgtkmm_generate_extra_defs-2.0
++LIBS = $(LIBGLADEMM_LIBS) -L$(GTKMM_PROCDIR)/../.. -lgtkmm_generate_extra_defs-2.0
+ LIBTOOL = @LIBTOOL@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
diff --git a/devel/libglademm/pkg-descr b/devel/libglademm/pkg-descr
new file mode 100644
index 000000000..4e71ae598
--- /dev/null
+++ b/devel/libglademm/pkg-descr
@@ -0,0 +1,3 @@
+This is a set of thin C++ wrappers for libglade v2 library.
+
+WWW: http://gtkmm.sourceforge.net/
diff --git a/devel/libglademm/pkg-plist b/devel/libglademm/pkg-plist
new file mode 100644
index 000000000..f0842bc8e
--- /dev/null
+++ b/devel/libglademm/pkg-plist
@@ -0,0 +1,21 @@
+include/libglademm-2.0/libglademm.h
+include/libglademm-2.0/libglademm/init.h
+include/libglademm-2.0/libglademm/private/xml_p.h
+include/libglademm-2.0/libglademm/variablesmap.h
+include/libglademm-2.0/libglademm/wrap_init.h
+include/libglademm-2.0/libglademm/xml.h
+lib/libglademm-2.0.a
+lib/libglademm-2.0.la
+lib/libglademm-2.0.so
+lib/libglademm-2.0.so.1
+lib/libglademm-2.0/include/libglademmconfig.h
+lib/libglademm-2.0/proc/m4/convert.m4
+lib/libglademm-2.0/proc/m4/convert_libglademm.m4
+libdata/pkgconfig/libglademm-2.0.pc
+@dirrm lib/libglademm-2.0/include
+@dirrm lib/libglademm-2.0/proc/m4
+@dirrm lib/libglademm-2.0/proc
+@dirrm lib/libglademm-2.0
+@dirrm include/libglademm-2.0/libglademm/private
+@dirrm include/libglademm-2.0/libglademm
+@dirrm include/libglademm-2.0