diff options
-rw-r--r-- | devel/glibmm/Makefile | 48 | ||||
-rw-r--r-- | devel/glibmm/distinfo | 3 | ||||
-rw-r--r-- | devel/glibmm/files/patch-docs::reference::beautify_docs.pl | 20 | ||||
-rw-r--r-- | devel/glibmm/files/patch-glib_glibmm_date.cc | 17 | ||||
-rw-r--r-- | devel/glibmm/files/patch-glib_glibmm_date.h | 18 | ||||
-rw-r--r-- | devel/glibmm/pkg-descr | 3 | ||||
-rw-r--r-- | devel/glibmm/pkg-plist | 133 |
7 files changed, 242 insertions, 0 deletions
diff --git a/devel/glibmm/Makefile b/devel/glibmm/Makefile new file mode 100644 index 000000000..26458e34d --- /dev/null +++ b/devel/glibmm/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: glibmm +# Date created: 04 December 2003 +# Whom: Adam Weinberger <adamw@FreeBSD.org> +# +# $FreeBSD: ports/devel/glibmm/Makefile,v 1.22 2006/06/07 06:08:04 marcus Exp $ +# $MCom: ports/devel/glibmm/Makefile,v 1.31 2006/04/14 21:55:21 mezz Exp $ +# + +PORTNAME= glibmm +PORTVERSION= 2.11.2 +PORTREVISION?= 0 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= C++ interfaces for glib2 + +USE_BZIP2= yes + +.if !defined(REFERENCE_PORT) + +LIB_DEPENDS= sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 +BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 + +USE_GMAKE= yes +USE_GCC= 3.4 +USE_GNOME= gnomehack gnometarget glib20 +USE_PERL5= yes +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +CONFIGURE_ARGS= --enable-static + +PLIST_SUB= VERSION="2.4" API_VERSION="2.4" + +post-patch: +.for d in docs examples tests + @${REINPLACE_CMD} -e '/^SUBDIRS = /s/${d}//' ${WRKSRC}/Makefile.in +.endfor + +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/docs/reference/beautify_docs.pl \ + ${PREFIX}/lib/glibmm-2.4/proc + +.include <bsd.port.mk> + +.endif diff --git a/devel/glibmm/distinfo b/devel/glibmm/distinfo new file mode 100644 index 000000000..04f9b2977 --- /dev/null +++ b/devel/glibmm/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/glibmm-2.11.2.tar.bz2) = bad2e7c6e19e4cc8ee7666951189ed25 +SHA256 (gnome2/glibmm-2.11.2.tar.bz2) = bde226c8aa7eb22d60caa6dc60a4d88f32fccd6c0b1bc88a18d15bfa70501ffc +SIZE (gnome2/glibmm-2.11.2.tar.bz2) = 2351813 diff --git a/devel/glibmm/files/patch-docs::reference::beautify_docs.pl b/devel/glibmm/files/patch-docs::reference::beautify_docs.pl new file mode 100644 index 000000000..bbb320452 --- /dev/null +++ b/devel/glibmm/files/patch-docs::reference::beautify_docs.pl @@ -0,0 +1,20 @@ +--- docs/reference/beautify_docs.pl.in.orig Thu Feb 12 02:52:02 2004 ++++ docs/reference/beautify_docs.pl.in Thu Feb 12 03:00:08 2004 +@@ -25,7 +25,7 @@ + my ($file) = @_; + my @outbuf; + +- open(FILE, '<', $file); ++ open(FILE, "<$file"); + + while(<FILE>) + { +@@ -71,7 +71,7 @@ + push(@outbuf, $_); + } + +- open(FILE, '>', $file); ++ open(FILE, ">$file"); + + # write the whole buffer back + print FILE "$_" foreach(@outbuf); diff --git a/devel/glibmm/files/patch-glib_glibmm_date.cc b/devel/glibmm/files/patch-glib_glibmm_date.cc new file mode 100644 index 000000000..bac31b4c9 --- /dev/null +++ b/devel/glibmm/files/patch-glib_glibmm_date.cc @@ -0,0 +1,17 @@ +--- glib/glibmm/date.cc.orig Mon Feb 6 00:50:58 2006 ++++ glib/glibmm/date.cc Mon Feb 6 00:51:32 2006 +@@ -72,12 +72,14 @@ void Date::set_parse(const Glib::ustring + } + + #ifndef GLIBMM_DISABLE_DEPRECATED ++#if GLIB_SIZEOF_LONG != 4 && !defined(__alpha__) + + void Date::set_time(GTime time) + { + //This method, and the C function that it wraps, are deprecated. + g_date_set_time(&gobject_, time); + } ++#endif + #endif // GLIBMM_DISABLE_DEPRECATED + + diff --git a/devel/glibmm/files/patch-glib_glibmm_date.h b/devel/glibmm/files/patch-glib_glibmm_date.h new file mode 100644 index 000000000..0d249931c --- /dev/null +++ b/devel/glibmm/files/patch-glib_glibmm_date.h @@ -0,0 +1,18 @@ +--- glib/glibmm/date.h.orig Mon Feb 6 00:51:03 2006 ++++ glib/glibmm/date.h Mon Feb 6 00:52:08 2006 +@@ -120,6 +120,7 @@ enum DMY + void set_parse (const Glib::ustring& str); + + #ifndef GLIBMM_DISABLE_DEPRECATED ++#if GLIB_SIZEOF_LONG != 4 && !defined(__alpha__) + + /** Sets the value of a date from a GTime (time_t) value. + * +@@ -128,6 +129,7 @@ enum DMY + * @deprecated Please use set_time(time_t) or set_time(const GTimeVal&). + */ + void set_time(GTime time); ++#endif + #endif // GLIBMM_DISABLE_DEPRECATED + + diff --git a/devel/glibmm/pkg-descr b/devel/glibmm/pkg-descr new file mode 100644 index 000000000..f689c4137 --- /dev/null +++ b/devel/glibmm/pkg-descr @@ -0,0 +1,3 @@ +C++ interfaces for glib20. + +WWW: http://gtkmm.sourceforge.net/ diff --git a/devel/glibmm/pkg-plist b/devel/glibmm/pkg-plist new file mode 100644 index 000000000..324f5d42b --- /dev/null +++ b/devel/glibmm/pkg-plist @@ -0,0 +1,133 @@ +include/glibmm-%%API_VERSION%%/glibmm.h +include/glibmm-%%API_VERSION%%/glibmm/arrayhandle.h +include/glibmm-%%API_VERSION%%/glibmm/class.h +include/glibmm-%%API_VERSION%%/glibmm/containerhandle_shared.h +include/glibmm-%%API_VERSION%%/glibmm/containers.h +include/glibmm-%%API_VERSION%%/glibmm/convert.h +include/glibmm-%%API_VERSION%%/glibmm/date.h +include/glibmm-%%API_VERSION%%/glibmm/debug.h +include/glibmm-%%API_VERSION%%/glibmm/dispatcher.h +include/glibmm-%%API_VERSION%%/glibmm/error.h +include/glibmm-%%API_VERSION%%/glibmm/exception.h +include/glibmm-%%API_VERSION%%/glibmm/exceptionhandler.h +include/glibmm-%%API_VERSION%%/glibmm/fileutils.h +include/glibmm-%%API_VERSION%%/glibmm/helperlist.h +include/glibmm-%%API_VERSION%%/glibmm/i18n.h +include/glibmm-%%API_VERSION%%/glibmm/init.h +include/glibmm-%%API_VERSION%%/glibmm/interface.h +include/glibmm-%%API_VERSION%%/glibmm/iochannel.h +include/glibmm-%%API_VERSION%%/glibmm/listhandle.h +include/glibmm-%%API_VERSION%%/glibmm/main.h +include/glibmm-%%API_VERSION%%/glibmm/markup.h +include/glibmm-%%API_VERSION%%/glibmm/miscutils.h +include/glibmm-%%API_VERSION%%/glibmm/module.h +include/glibmm-%%API_VERSION%%/glibmm/object.h +include/glibmm-%%API_VERSION%%/glibmm/objectbase.h +include/glibmm-%%API_VERSION%%/glibmm/optioncontext.h +include/glibmm-%%API_VERSION%%/glibmm/optionentry.h +include/glibmm-%%API_VERSION%%/glibmm/optiongroup.h +include/glibmm-%%API_VERSION%%/glibmm/pattern.h +include/glibmm-%%API_VERSION%%/glibmm/private/convert_p.h +include/glibmm-%%API_VERSION%%/glibmm/private/date_p.h +include/glibmm-%%API_VERSION%%/glibmm/private/fileutils_p.h +include/glibmm-%%API_VERSION%%/glibmm/private/interface_p.h +include/glibmm-%%API_VERSION%%/glibmm/private/iochannel_p.h +include/glibmm-%%API_VERSION%%/glibmm/private/markup_p.h +include/glibmm-%%API_VERSION%%/glibmm/private/module_p.h +include/glibmm-%%API_VERSION%%/glibmm/private/object_p.h +include/glibmm-%%API_VERSION%%/glibmm/private/optioncontext_p.h +include/glibmm-%%API_VERSION%%/glibmm/private/optionentry_p.h +include/glibmm-%%API_VERSION%%/glibmm/private/optiongroup_p.h +include/glibmm-%%API_VERSION%%/glibmm/private/shell_p.h +include/glibmm-%%API_VERSION%%/glibmm/private/spawn_p.h +include/glibmm-%%API_VERSION%%/glibmm/private/thread_p.h +include/glibmm-%%API_VERSION%%/glibmm/private/unicode_p.h +include/glibmm-%%API_VERSION%%/glibmm/property.h +include/glibmm-%%API_VERSION%%/glibmm/propertyproxy.h +include/glibmm-%%API_VERSION%%/glibmm/propertyproxy_base.h +include/glibmm-%%API_VERSION%%/glibmm/quark.h +include/glibmm-%%API_VERSION%%/glibmm/random.h +include/glibmm-%%API_VERSION%%/glibmm/refptr.h +include/glibmm-%%API_VERSION%%/glibmm/sarray.h +include/glibmm-%%API_VERSION%%/glibmm/shell.h +include/glibmm-%%API_VERSION%%/glibmm/signalproxy.h +include/glibmm-%%API_VERSION%%/glibmm/signalproxy_connectionnode.h +include/glibmm-%%API_VERSION%%/glibmm/slisthandle.h +include/glibmm-%%API_VERSION%%/glibmm/spawn.h +include/glibmm-%%API_VERSION%%/glibmm/streamiochannel.h +include/glibmm-%%API_VERSION%%/glibmm/stringutils.h +include/glibmm-%%API_VERSION%%/glibmm/thread.h +include/glibmm-%%API_VERSION%%/glibmm/threadpool.h +include/glibmm-%%API_VERSION%%/glibmm/timer.h +include/glibmm-%%API_VERSION%%/glibmm/timeval.h +include/glibmm-%%API_VERSION%%/glibmm/unicode.h +include/glibmm-%%API_VERSION%%/glibmm/ustring.h +include/glibmm-%%API_VERSION%%/glibmm/utility.h +include/glibmm-%%API_VERSION%%/glibmm/value.h +include/glibmm-%%API_VERSION%%/glibmm/value_basictypes.h +include/glibmm-%%API_VERSION%%/glibmm/value_custom.h +include/glibmm-%%API_VERSION%%/glibmm/wrap.h +include/glibmm-%%API_VERSION%%/glibmm/wrap_init.h +include/glibmm-%%API_VERSION%%/glibmm_generate_extra_defs/generate_extra_defs.h +lib/glibmm-%%API_VERSION%%/include/glibmmconfig.h +lib/glibmm-%%API_VERSION%%/proc/beautify_docs.pl +lib/glibmm-%%API_VERSION%%/proc/generate_wrap_init.pl +lib/glibmm-%%API_VERSION%%/proc/gmmproc +lib/glibmm-%%API_VERSION%%/proc/m4/base.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/class_boxedtype.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/class_boxedtype_static.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/class_generic.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/class_gobject.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/class_gtkobject.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/class_interface.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/class_opaque_copyable.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/class_opaque_refcounted.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/class_shared.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/compare.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/convert.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/convert_atk.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/convert_base.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/convert_gdk.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/convert_glib.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/convert_gtk.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/convert_gtkmm.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/convert_pango.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/ctor.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/doc.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/enum.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/gerror.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/list.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/member.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/method.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/property.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/signal.m4 +lib/glibmm-%%API_VERSION%%/proc/m4/vfunc.m4 +lib/glibmm-%%API_VERSION%%/proc/pm/DocsParser.pm +lib/glibmm-%%API_VERSION%%/proc/pm/Enum.pm +lib/glibmm-%%API_VERSION%%/proc/pm/Function.pm +lib/glibmm-%%API_VERSION%%/proc/pm/FunctionBase.pm +lib/glibmm-%%API_VERSION%%/proc/pm/GtkDefs.pm +lib/glibmm-%%API_VERSION%%/proc/pm/Object.pm +lib/glibmm-%%API_VERSION%%/proc/pm/Output.pm +lib/glibmm-%%API_VERSION%%/proc/pm/Property.pm +lib/glibmm-%%API_VERSION%%/proc/pm/Util.pm +lib/glibmm-%%API_VERSION%%/proc/pm/WrapParser.pm +lib/libglibmm-%%VERSION%%.a +lib/libglibmm-%%VERSION%%.la +lib/libglibmm-%%VERSION%%.so +lib/libglibmm-%%VERSION%%.so.1 +lib/libglibmm_generate_extra_defs-%%VERSION%%.a +lib/libglibmm_generate_extra_defs-%%VERSION%%.la +lib/libglibmm_generate_extra_defs-%%VERSION%%.so +lib/libglibmm_generate_extra_defs-%%VERSION%%.so.1 +libdata/pkgconfig/glibmm-%%API_VERSION%%.pc +share/aclocal/glibmm_check_perl.m4 +@dirrm lib/glibmm-%%API_VERSION%%/proc/pm +@dirrm lib/glibmm-%%API_VERSION%%/proc/m4 +@dirrm lib/glibmm-%%API_VERSION%%/proc +@dirrm lib/glibmm-%%API_VERSION%%/include +@dirrm lib/glibmm-%%API_VERSION%% +@dirrm include/glibmm-%%API_VERSION%%/glibmm_generate_extra_defs +@dirrm include/glibmm-%%API_VERSION%%/glibmm/private +@dirrm include/glibmm-%%API_VERSION%%/glibmm +@dirrm include/glibmm-%%API_VERSION%% |