summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print/libgnomeprintmm/Makefile31
-rw-r--r--print/libgnomeprintmm/distinfo1
-rw-r--r--print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc11
-rw-r--r--print/libgnomeprintmm/pkg-descr2
-rw-r--r--print/libgnomeprintmm/pkg-plist29
5 files changed, 74 insertions, 0 deletions
diff --git a/print/libgnomeprintmm/Makefile b/print/libgnomeprintmm/Makefile
new file mode 100644
index 000000000..72c417226
--- /dev/null
+++ b/print/libgnomeprintmm/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: libgnomeprintmm
+# Date created: 17 December 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libgnomeprintmm
+PORTVERSION= 2.5.0
+CATEGORIES= print gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.5
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= C++ bindings for the GNOME print support library
+
+LIB_DEPENDS= gtkmm-2.3.2:${PORTSDIR}/x11-toolkits/gtk--2
+BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack lthack libgnomeprint
+INSTALLS_SHLIB= yes
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --enable-static
+
+PLIST_SUB= VERSION="2.5" API_VERSION="2.6"
+
+.include <bsd.port.mk>
diff --git a/print/libgnomeprintmm/distinfo b/print/libgnomeprintmm/distinfo
new file mode 100644
index 000000000..1c0a58806
--- /dev/null
+++ b/print/libgnomeprintmm/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/libgnomeprintmm-2.5.0.tar.bz2) = 61db9f654329c01a0d1f7454eaab7864
diff --git a/print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc b/print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc
new file mode 100644
index 000000000..b8b050cf7
--- /dev/null
+++ b/print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc
@@ -0,0 +1,11 @@
+--- libgnomeprint/libgnomeprintmm/font.cc.orig Wed Dec 17 19:59:13 2003
++++ libgnomeprint/libgnomeprintmm/font.cc Wed Dec 17 19:59:29 2003
+@@ -180,7 +180,7 @@
+
+ Glib::RefPtr<Font> Font::find_closest(const Glib::ustring& family, FontWeight weight, bool italic, double size)
+ {
+- return Glib::wrap(gnome_font_find_closest_from_weight_slant((const guchar*)family.c_str(), static_cast<GnomeFontWeight>(weight), static_cast<int>(italic), size));
++ return Glib::wrap(gnome_font_find_closest_from_weight_slant((const guchar*)family.c_str(), (GnomeFontWeight)(weight), static_cast<int>(italic), size));
+ }
+
+ Glib::RefPtr<Pango::Font> Font::get_closest_pango_font(const Glib::RefPtr<Pango::FontMap>& map, double dpi) const
diff --git a/print/libgnomeprintmm/pkg-descr b/print/libgnomeprintmm/pkg-descr
new file mode 100644
index 000000000..56f3bfeae
--- /dev/null
+++ b/print/libgnomeprintmm/pkg-descr
@@ -0,0 +1,2 @@
+This is a set of thin C++ wrappers around the libgnomeprint printing support
+system.
diff --git a/print/libgnomeprintmm/pkg-plist b/print/libgnomeprintmm/pkg-plist
new file mode 100644
index 000000000..bd6ae8140
--- /dev/null
+++ b/print/libgnomeprintmm/pkg-plist
@@ -0,0 +1,29 @@
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm.h
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/config.h
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/context.h
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/enums.h
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/font.h
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/init.h
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/job.h
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/private.h
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/private/config_p.h
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/private/context_p.h
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/private/enums_p.h
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/private/font_p.h
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/private/job_p.h
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/types.h
+include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/wrap_init.h
+lib/libgnomeprintmm-%%VERSION%%.a
+lib/libgnomeprintmm-%%VERSION%%.so
+lib/libgnomeprintmm-%%VERSION%%.so.1
+lib/libgnomeprintmm-%%API_VERSION%%/include/libgnomeprintmmconfig.h
+lib/libgnomeprintmm-%%API_VERSION%%/proc/m4/convert.m4
+lib/libgnomeprintmm-%%API_VERSION%%/proc/m4/convert_libgnomeprintmm.m4
+libdata/pkgconfig/libgnomeprintmm-%%API_VERSION%%.pc
+@dirrm lib/libgnomeprintmm-%%API_VERSION%%/proc/m4
+@dirrm lib/libgnomeprintmm-%%API_VERSION%%/proc
+@dirrm lib/libgnomeprintmm-%%API_VERSION%%/include
+@dirrm lib/libgnomeprintmm-%%API_VERSION%%
+@dirrm include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/private
+@dirrm include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm
+@dirrm include/libgnomeprintmm-%%API_VERSION%%