summaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gnome-utils/Makefile40
-rw-r--r--deskutils/gnome-utils/distinfo1
-rw-r--r--deskutils/gnome-utils/files/patch-ad28
-rw-r--r--deskutils/gnome-utils/files/patch-ai11
-rw-r--r--deskutils/gnome-utils/files/patch-configure11
-rw-r--r--deskutils/gnome-utils/files/patch-logview::log_repaint.c15
-rw-r--r--deskutils/gnome-utils/files/patch-logview::logrtns.h15
-rw-r--r--deskutils/gnome-utils/files/patch-logview_logview.c29
-rw-r--r--deskutils/gnome-utils/pkg-comment1
-rw-r--r--deskutils/gnome-utils/pkg-descr1
-rw-r--r--deskutils/gnome-utils/pkg-plist129
-rw-r--r--deskutils/gnomeutils2/Makefile40
-rw-r--r--deskutils/gnomeutils2/distinfo1
-rw-r--r--deskutils/gnomeutils2/files/patch-ad28
-rw-r--r--deskutils/gnomeutils2/files/patch-ai11
-rw-r--r--deskutils/gnomeutils2/files/patch-configure11
-rw-r--r--deskutils/gnomeutils2/files/patch-logview::log_repaint.c15
-rw-r--r--deskutils/gnomeutils2/files/patch-logview::logrtns.h15
-rw-r--r--deskutils/gnomeutils2/files/patch-logview_logview.c29
-rw-r--r--deskutils/gnomeutils2/pkg-comment1
-rw-r--r--deskutils/gnomeutils2/pkg-descr1
-rw-r--r--deskutils/gnomeutils2/pkg-plist129
22 files changed, 562 insertions, 0 deletions
diff --git a/deskutils/gnome-utils/Makefile b/deskutils/gnome-utils/Makefile
new file mode 100644
index 000000000..e3eda498b
--- /dev/null
+++ b/deskutils/gnome-utils/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: gnomeutils2
+# Date created: 06 May 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/deskutils/gnomeutils2/Makefile,v 1.54 2002/09/20 17:07:08 marcus Exp $
+#
+
+PORTNAME= gnomeutils2
+PORTVERSION= 2.1.0
+PORTEPOCH= 1
+CATEGORIES= misc gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/gnome-utils/2.1
+DISTNAME= gnome-utils-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+
+LIB_DEPENDS= panel-applet-2.0:${PORTSDIR}/x11/gnomepanel
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+USE_GMAKE= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomehier
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+MAN1= archive-generator.1 gnome-calculator.1 \
+ gnome-character-map.1 gnome-dictionary.1 \
+ gnome-search-tool.1 gnome-system-log.1 gdialog.1
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/deskutils/gnome-utils/distinfo b/deskutils/gnome-utils/distinfo
new file mode 100644
index 000000000..98e9c6b71
--- /dev/null
+++ b/deskutils/gnome-utils/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/gnome-utils-2.1.0.tar.bz2) = cf1d5355184edb5c66bc403822c9c166
diff --git a/deskutils/gnome-utils/files/patch-ad b/deskutils/gnome-utils/files/patch-ad
new file mode 100644
index 000000000..65ebff071
--- /dev/null
+++ b/deskutils/gnome-utils/files/patch-ad
@@ -0,0 +1,28 @@
+--- gdialog/dialog.h.orig Tue Jul 6 16:23:33 1999
++++ gdialog/dialog.h Wed Aug 18 11:34:23 1999
+@@ -36,24 +36,7 @@
+ #include <gnome.h>
+ #endif
+
+-#ifdef ultrix
+-# include <cursesX.h>
+-#else
+-# if defined(USE_NCURSES) && !defined(RENAMED_NCURSES)
+-# include <ncurses.h>
+-# else
+-# if !defined(_XOPEN_SOURCE_EXTENDED) && !defined(__sgi)
+-# define hacked 1
+-# define _XOPEN_SOURCE_EXTENDED
+-# define _ACS_COMPAT_CODE
+-# endif
+-# include <curses.h>
+-# ifdef hacked
+-# undef _XOPEN_SOURCE_EXTENDED
+-# undef _ACS_COMPAT_CODE
+-# endif
+-# endif
+-#endif
++#include <ncurses.h>
+
+ /*
+ * Change these if you want
diff --git a/deskutils/gnome-utils/files/patch-ai b/deskutils/gnome-utils/files/patch-ai
new file mode 100644
index 000000000..fb458fcea
--- /dev/null
+++ b/deskutils/gnome-utils/files/patch-ai
@@ -0,0 +1,11 @@
+--- sgmldocs.make.orig Mon May 6 23:46:55 2002
++++ sgmldocs.make Mon May 6 23:47:10 2002
+@@ -32,7 +32,7 @@
+ # dist-hook: app-dist-hook
+ #
+
+-docdir = $(datadir)/gnome/help/$(docname)/$(lang)
++docdir = $(datadir)/help/$(docname)/$(lang)
+
+ doc_DATA = index.html
+
diff --git a/deskutils/gnome-utils/files/patch-configure b/deskutils/gnome-utils/files/patch-configure
new file mode 100644
index 000000000..5e293fbc0
--- /dev/null
+++ b/deskutils/gnome-utils/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Sun May 12 01:05:15 2002
++++ configure Sun May 12 01:08:20 2002
+@@ -8258,7 +8258,7 @@
+ < $srcdir/po/POTFILES.in > po/POTFILES
+
+ cat >>confdefs.h <<EOF
+-#define GNOME_ICONDIR "${prefix}/share/pixmaps"
++#define GNOME_ICONDIR "${datadir}/pixmaps"
+ EOF
+
+ ac_config_files="$ac_config_files Makefile gnome-utils.spec po/Makefile.in idl/Makefile gcalc/Makefile gcalc/help/Makefile gcalc/help/C/Makefile logview/Makefile logview/gnome-system-log-security logview/pixmaps/Makefile logview/help/Makefile logview/help/C/Makefile gcharmap/Makefile gcharmap/src/Makefile gcharmap/pixmaps/Makefile gcharmap/help/Makefile gcharmap/help/C/Makefile gsearchtool/Makefile gsearchtool/help/Makefile gsearchtool/help/C/Makefile gdialog/Makefile gdialog/help/Makefile gdialog/help/C/Makefile gdictsrc/Makefile gdictsrc/help/Makefile gdictsrc/help/C/Makefile gfloppy/Makefile gfloppy/doc/Makefile gfloppy/doc/C/Makefile gfloppy/src/Makefile meat-grinder/Makefile meat-grinder/help/Makefile meat-grinder/help/C/Makefile"
diff --git a/deskutils/gnome-utils/files/patch-logview::log_repaint.c b/deskutils/gnome-utils/files/patch-logview::log_repaint.c
new file mode 100644
index 000000000..dab9ef851
--- /dev/null
+++ b/deskutils/gnome-utils/files/patch-logview::log_repaint.c
@@ -0,0 +1,15 @@
+
+$FreeBSD: ports/deskutils/gnomeutils2/files/patch-logview::log_repaint.c,v 1.1 2001/11/23 16:24:43 sobomax Exp $
+
+--- logview/log_repaint.c 2001/11/23 16:01:55 1.1
++++ logview/log_repaint.c 2001/11/23 16:02:30
+@@ -24,7 +24,9 @@
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#ifdef HAVE_MALLOC_H
+ #include <malloc.h>
++#endif
+ #include <string.h>
+ #include <gnome.h>
+ #include "logview.h"
diff --git a/deskutils/gnome-utils/files/patch-logview::logrtns.h b/deskutils/gnome-utils/files/patch-logview::logrtns.h
new file mode 100644
index 000000000..74857aefb
--- /dev/null
+++ b/deskutils/gnome-utils/files/patch-logview::logrtns.h
@@ -0,0 +1,15 @@
+
+$FreeBSD: ports/misc/gnomeutils2/files/patch-logview::logrtns.h,v 1.1 2001/11/23 16:24:43 sobomax Exp $
+
+--- logview/logrtns.h 2001/11/23 16:04:00 1.1
++++ logview/logrtns.h 2001/11/23 16:04:14
+@@ -24,7 +24,9 @@
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#ifdef HAVE_MALLOC_H
+ #include <malloc.h>
++#endif
+ #include <string.h>
+ #include "logview.h"
+
diff --git a/deskutils/gnome-utils/files/patch-logview_logview.c b/deskutils/gnome-utils/files/patch-logview_logview.c
new file mode 100644
index 000000000..49e8b06b3
--- /dev/null
+++ b/deskutils/gnome-utils/files/patch-logview_logview.c
@@ -0,0 +1,29 @@
+--- logview/logview.c.orig Tue May 7 00:03:16 2002
++++ logview/logview.c Tue May 7 00:04:37 2002
+@@ -903,7 +903,7 @@
+
+ if ( ! found) {
+ g_snprintf (full_name, sizeof (full_name),
+- "%s/share/gnome-system-log/gnome-system-log-regexp.db", LOGVIEWINSTALLPREFIX);
++ "%s/gnome-system-log/gnome-system-log-regexp.db", DATADIR);
+ if (access (full_name, R_OK) == 0) {
+ found = TRUE;
+ g_free (cfg->regexp_db_path);
+@@ -926,7 +926,7 @@
+
+ if ( ! found) {
+ g_snprintf (full_name, sizeof (full_name),
+- "%s/share/gnome-system-log/gnome-system-log-descript.db", LOGVIEWINSTALLPREFIX);
++ "%s/gnome-system-log/gnome-system-log-descript.db", DATADIR);
+ if (access (full_name, R_OK) == 0) {
+ found = TRUE;
+ g_free (cfg->descript_db_path);
+@@ -960,7 +960,7 @@
+
+ if ( ! found) {
+ g_snprintf (full_name, sizeof (full_name),
+- "%s/share/gnome-system-log/gnome-system-log-actions.db", LOGVIEWINSTALLPREFIX);
++ "%s/gnome-system-log/gnome-system-log-actions.db", DATADIR);
+ if (access (full_name, R_OK) == 0) {
+ found = TRUE;
+ g_free (cfg->action_db_path);
diff --git a/deskutils/gnome-utils/pkg-comment b/deskutils/gnome-utils/pkg-comment
new file mode 100644
index 000000000..14a9b8e02
--- /dev/null
+++ b/deskutils/gnome-utils/pkg-comment
@@ -0,0 +1 @@
+GNOME 2.0 support utilities
diff --git a/deskutils/gnome-utils/pkg-descr b/deskutils/gnome-utils/pkg-descr
new file mode 100644
index 000000000..af1715c69
--- /dev/null
+++ b/deskutils/gnome-utils/pkg-descr
@@ -0,0 +1 @@
+GNOME 2.0 support utilities.
diff --git a/deskutils/gnome-utils/pkg-plist b/deskutils/gnome-utils/pkg-plist
new file mode 100644
index 000000000..ebbd4d943
--- /dev/null
+++ b/deskutils/gnome-utils/pkg-plist
@@ -0,0 +1,129 @@
+bin/archive-generator
+bin/gdialog
+bin/gnome-calculator
+bin/gnome-character-map
+bin/gnome-dictionary
+bin/gnome-search-tool
+bin/gnome-system-log
+etc/gconf/gconf.xml.defaults/apps/logview/%gconf.xml
+etc/gconf/gconf.xml.defaults/apps/gnome-dictionary/%gconf.xml
+etc/gconf/gconf.xml.defaults/schemas/apps/logview/%gconf.xml
+etc/gconf/gconf.xml.defaults/schemas/apps/gnome-dictionary/%gconf.xml
+etc/gconf/schemas/logview.schemas
+etc/gconf/schemas/gdict.schemas
+libdata/bonobo/servers/GNOME_GDictApplet.server
+libexec/gdict-applet
+share/gnome/applications/archive-generator.desktop
+share/gnome/applications/gnome-calculator.desktop
+share/gnome/applications/gnome-character-map.desktop
+share/gnome/applications/gnome-dictionary.desktop
+share/gnome/applications/gnome-search-tool.desktop
+share/gnome/applications/gnome-system-log.desktop
+share/gnome/gnome-2.0/ui/GNOME_GDictApplet.xml
+share/gnome/gnome-system-log/gnome-system-log-actions.db
+share/gnome/gnome-system-log/gnome-system-log-descript.db
+share/gnome/gnome-system-log/gnome-system-log-regexp.db
+share/gnome/help/archive-generator/C/archive-generator.xml
+share/gnome/help/archive-generator/C/figures/archive-generator-contents.png
+share/gnome/help/archive-generator/C/figures/archive-generator.png
+share/gnome/help/archive-generator/C/legal.xml
+share/gnome/help/gdialog/C/figures/example-dialog.png
+share/gnome/help/gdialog/C/figures/gdialog-msgbox.png
+share/gnome/help/gdialog/C/figures/gdialog-yesno.png
+share/gnome/help/gdialog/C/gdialog.xml
+share/gnome/help/gdialog/C/legal.xml
+share/gnome/help/gnome-calculator/C/figures/gcalc_window.png
+share/gnome/help/gnome-calculator/C/gnome-calculator.xml
+share/gnome/help/gnome-calculator/C/legal.xml
+share/gnome/help/gnome-character-map/C/figures/gnome-character-map.png
+share/gnome/help/gnome-character-map/C/gnome-character-map.xml
+share/gnome/help/gnome-character-map/C/legal.xml
+share/gnome/help/gnome-dictionary/C/figures/gdict-find.png
+share/gnome/help/gnome-dictionary/C/figures/gdict-main.png
+share/gnome/help/gnome-dictionary/C/figures/gdict-prefs.png
+share/gnome/help/gnome-dictionary/C/figures/gdict-soundex.png
+share/gnome/help/gnome-dictionary/C/figures/gdict-spell.png
+share/gnome/help/gnome-dictionary/C/figures/gdict_applet.png
+share/gnome/help/gnome-dictionary/C/figures/gdict_window.png
+share/gnome/help/gnome-dictionary/C/gnome-dictionary.xml
+share/gnome/help/gnome-dictionary/C/legal.xml
+share/gnome/help/gnome-search-tool/C/figures/gnome-search-tool_window.png
+share/gnome/help/gnome-search-tool/C/gnome-search-tool.xml
+share/gnome/help/gnome-search-tool/C/legal.xml
+share/gnome/help/gnome-system-log/C/figures/syslog_window.png
+share/gnome/help/gnome-system-log/C/gnome-system-log.xml
+share/gnome/help/gnome-system-log/C/legal.xml
+share/gnome/omf/gnome-utils/archive-generator-C.omf
+share/gnome/omf/gnome-utils/gdialog-C.omf
+share/gnome/omf/gnome-utils/gnome-calculator-C.omf
+share/gnome/omf/gnome-utils/gnome-character-map-C.omf
+share/gnome/omf/gnome-utils/gnome-dictionary-C.omf
+share/gnome/omf/gnome-utils/gnome-search-tool-C.omf
+share/gnome/omf/gnome-utils/gnome-system-log-C.omf
+share/gnome/pixmaps/gdict.png
+share/gnome/pixmaps/gnome-character-map.png
+share/gnome/pixmaps/gnome-searchtool.png
+share/gnome/pixmaps/gnome-system-log/logview.xpm
+share/locale/az/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/bg/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ca/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/cs/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/da/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/de/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/el/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/en_GB/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/es/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/et/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/eu/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/fi/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/fr/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ga/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/gl/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/hu/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/it/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ja/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ko/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/lt/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/lv/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ms/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/nl/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/nn/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/no/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/pl/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/pt/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ro/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ru/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/sk/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/sl/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/sv/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ta/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/tr/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/uk/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/vi/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/wa/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/zh_CN/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-utils-2.0.mo
+@dirrm share/gnome/pixmaps/gnome-system-log
+@dirrm share/gnome/help/gnome-system-log/C/figures
+@dirrm share/gnome/help/gnome-system-log/C
+@dirrm share/gnome/help/gnome-system-log
+@dirrm share/gnome/help/gnome-search-tool/C/figures
+@dirrm share/gnome/help/gnome-search-tool/C
+@dirrm share/gnome/help/gnome-search-tool
+@dirrm share/gnome/help/gnome-dictionary/C/figures
+@dirrm share/gnome/help/gnome-dictionary/C
+@dirrm share/gnome/help/gnome-dictionary
+@dirrm share/gnome/help/gnome-character-map/C/figures
+@dirrm share/gnome/help/gnome-character-map/C
+@dirrm share/gnome/help/gnome-character-map
+@dirrm share/gnome/help/gnome-calculator/C/figures
+@dirrm share/gnome/help/gnome-calculator/C
+@dirrm share/gnome/help/gnome-calculator
+@dirrm share/gnome/help/gdialog/C/figures
+@dirrm share/gnome/help/gdialog/C
+@dirrm share/gnome/gnome-system-log
+@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gnome-dictionary
+@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/logview
+@dirrm etc/gconf/gconf.xml.defaults/apps/gnome-dictionary
+@dirrm etc/gconf/gconf.xml.defaults/apps/logview
diff --git a/deskutils/gnomeutils2/Makefile b/deskutils/gnomeutils2/Makefile
new file mode 100644
index 000000000..e3eda498b
--- /dev/null
+++ b/deskutils/gnomeutils2/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: gnomeutils2
+# Date created: 06 May 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/deskutils/gnomeutils2/Makefile,v 1.54 2002/09/20 17:07:08 marcus Exp $
+#
+
+PORTNAME= gnomeutils2
+PORTVERSION= 2.1.0
+PORTEPOCH= 1
+CATEGORIES= misc gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/gnome-utils/2.1
+DISTNAME= gnome-utils-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+
+LIB_DEPENDS= panel-applet-2.0:${PORTSDIR}/x11/gnomepanel
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+USE_GMAKE= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomehier
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+MAN1= archive-generator.1 gnome-calculator.1 \
+ gnome-character-map.1 gnome-dictionary.1 \
+ gnome-search-tool.1 gnome-system-log.1 gdialog.1
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/deskutils/gnomeutils2/distinfo b/deskutils/gnomeutils2/distinfo
new file mode 100644
index 000000000..98e9c6b71
--- /dev/null
+++ b/deskutils/gnomeutils2/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/gnome-utils-2.1.0.tar.bz2) = cf1d5355184edb5c66bc403822c9c166
diff --git a/deskutils/gnomeutils2/files/patch-ad b/deskutils/gnomeutils2/files/patch-ad
new file mode 100644
index 000000000..65ebff071
--- /dev/null
+++ b/deskutils/gnomeutils2/files/patch-ad
@@ -0,0 +1,28 @@
+--- gdialog/dialog.h.orig Tue Jul 6 16:23:33 1999
++++ gdialog/dialog.h Wed Aug 18 11:34:23 1999
+@@ -36,24 +36,7 @@
+ #include <gnome.h>
+ #endif
+
+-#ifdef ultrix
+-# include <cursesX.h>
+-#else
+-# if defined(USE_NCURSES) && !defined(RENAMED_NCURSES)
+-# include <ncurses.h>
+-# else
+-# if !defined(_XOPEN_SOURCE_EXTENDED) && !defined(__sgi)
+-# define hacked 1
+-# define _XOPEN_SOURCE_EXTENDED
+-# define _ACS_COMPAT_CODE
+-# endif
+-# include <curses.h>
+-# ifdef hacked
+-# undef _XOPEN_SOURCE_EXTENDED
+-# undef _ACS_COMPAT_CODE
+-# endif
+-# endif
+-#endif
++#include <ncurses.h>
+
+ /*
+ * Change these if you want
diff --git a/deskutils/gnomeutils2/files/patch-ai b/deskutils/gnomeutils2/files/patch-ai
new file mode 100644
index 000000000..fb458fcea
--- /dev/null
+++ b/deskutils/gnomeutils2/files/patch-ai
@@ -0,0 +1,11 @@
+--- sgmldocs.make.orig Mon May 6 23:46:55 2002
++++ sgmldocs.make Mon May 6 23:47:10 2002
+@@ -32,7 +32,7 @@
+ # dist-hook: app-dist-hook
+ #
+
+-docdir = $(datadir)/gnome/help/$(docname)/$(lang)
++docdir = $(datadir)/help/$(docname)/$(lang)
+
+ doc_DATA = index.html
+
diff --git a/deskutils/gnomeutils2/files/patch-configure b/deskutils/gnomeutils2/files/patch-configure
new file mode 100644
index 000000000..5e293fbc0
--- /dev/null
+++ b/deskutils/gnomeutils2/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Sun May 12 01:05:15 2002
++++ configure Sun May 12 01:08:20 2002
+@@ -8258,7 +8258,7 @@
+ < $srcdir/po/POTFILES.in > po/POTFILES
+
+ cat >>confdefs.h <<EOF
+-#define GNOME_ICONDIR "${prefix}/share/pixmaps"
++#define GNOME_ICONDIR "${datadir}/pixmaps"
+ EOF
+
+ ac_config_files="$ac_config_files Makefile gnome-utils.spec po/Makefile.in idl/Makefile gcalc/Makefile gcalc/help/Makefile gcalc/help/C/Makefile logview/Makefile logview/gnome-system-log-security logview/pixmaps/Makefile logview/help/Makefile logview/help/C/Makefile gcharmap/Makefile gcharmap/src/Makefile gcharmap/pixmaps/Makefile gcharmap/help/Makefile gcharmap/help/C/Makefile gsearchtool/Makefile gsearchtool/help/Makefile gsearchtool/help/C/Makefile gdialog/Makefile gdialog/help/Makefile gdialog/help/C/Makefile gdictsrc/Makefile gdictsrc/help/Makefile gdictsrc/help/C/Makefile gfloppy/Makefile gfloppy/doc/Makefile gfloppy/doc/C/Makefile gfloppy/src/Makefile meat-grinder/Makefile meat-grinder/help/Makefile meat-grinder/help/C/Makefile"
diff --git a/deskutils/gnomeutils2/files/patch-logview::log_repaint.c b/deskutils/gnomeutils2/files/patch-logview::log_repaint.c
new file mode 100644
index 000000000..dab9ef851
--- /dev/null
+++ b/deskutils/gnomeutils2/files/patch-logview::log_repaint.c
@@ -0,0 +1,15 @@
+
+$FreeBSD: ports/deskutils/gnomeutils2/files/patch-logview::log_repaint.c,v 1.1 2001/11/23 16:24:43 sobomax Exp $
+
+--- logview/log_repaint.c 2001/11/23 16:01:55 1.1
++++ logview/log_repaint.c 2001/11/23 16:02:30
+@@ -24,7 +24,9 @@
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#ifdef HAVE_MALLOC_H
+ #include <malloc.h>
++#endif
+ #include <string.h>
+ #include <gnome.h>
+ #include "logview.h"
diff --git a/deskutils/gnomeutils2/files/patch-logview::logrtns.h b/deskutils/gnomeutils2/files/patch-logview::logrtns.h
new file mode 100644
index 000000000..74857aefb
--- /dev/null
+++ b/deskutils/gnomeutils2/files/patch-logview::logrtns.h
@@ -0,0 +1,15 @@
+
+$FreeBSD: ports/misc/gnomeutils2/files/patch-logview::logrtns.h,v 1.1 2001/11/23 16:24:43 sobomax Exp $
+
+--- logview/logrtns.h 2001/11/23 16:04:00 1.1
++++ logview/logrtns.h 2001/11/23 16:04:14
+@@ -24,7 +24,9 @@
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#ifdef HAVE_MALLOC_H
+ #include <malloc.h>
++#endif
+ #include <string.h>
+ #include "logview.h"
+
diff --git a/deskutils/gnomeutils2/files/patch-logview_logview.c b/deskutils/gnomeutils2/files/patch-logview_logview.c
new file mode 100644
index 000000000..49e8b06b3
--- /dev/null
+++ b/deskutils/gnomeutils2/files/patch-logview_logview.c
@@ -0,0 +1,29 @@
+--- logview/logview.c.orig Tue May 7 00:03:16 2002
++++ logview/logview.c Tue May 7 00:04:37 2002
+@@ -903,7 +903,7 @@
+
+ if ( ! found) {
+ g_snprintf (full_name, sizeof (full_name),
+- "%s/share/gnome-system-log/gnome-system-log-regexp.db", LOGVIEWINSTALLPREFIX);
++ "%s/gnome-system-log/gnome-system-log-regexp.db", DATADIR);
+ if (access (full_name, R_OK) == 0) {
+ found = TRUE;
+ g_free (cfg->regexp_db_path);
+@@ -926,7 +926,7 @@
+
+ if ( ! found) {
+ g_snprintf (full_name, sizeof (full_name),
+- "%s/share/gnome-system-log/gnome-system-log-descript.db", LOGVIEWINSTALLPREFIX);
++ "%s/gnome-system-log/gnome-system-log-descript.db", DATADIR);
+ if (access (full_name, R_OK) == 0) {
+ found = TRUE;
+ g_free (cfg->descript_db_path);
+@@ -960,7 +960,7 @@
+
+ if ( ! found) {
+ g_snprintf (full_name, sizeof (full_name),
+- "%s/share/gnome-system-log/gnome-system-log-actions.db", LOGVIEWINSTALLPREFIX);
++ "%s/gnome-system-log/gnome-system-log-actions.db", DATADIR);
+ if (access (full_name, R_OK) == 0) {
+ found = TRUE;
+ g_free (cfg->action_db_path);
diff --git a/deskutils/gnomeutils2/pkg-comment b/deskutils/gnomeutils2/pkg-comment
new file mode 100644
index 000000000..14a9b8e02
--- /dev/null
+++ b/deskutils/gnomeutils2/pkg-comment
@@ -0,0 +1 @@
+GNOME 2.0 support utilities
diff --git a/deskutils/gnomeutils2/pkg-descr b/deskutils/gnomeutils2/pkg-descr
new file mode 100644
index 000000000..af1715c69
--- /dev/null
+++ b/deskutils/gnomeutils2/pkg-descr
@@ -0,0 +1 @@
+GNOME 2.0 support utilities.
diff --git a/deskutils/gnomeutils2/pkg-plist b/deskutils/gnomeutils2/pkg-plist
new file mode 100644
index 000000000..ebbd4d943
--- /dev/null
+++ b/deskutils/gnomeutils2/pkg-plist
@@ -0,0 +1,129 @@
+bin/archive-generator
+bin/gdialog
+bin/gnome-calculator
+bin/gnome-character-map
+bin/gnome-dictionary
+bin/gnome-search-tool
+bin/gnome-system-log
+etc/gconf/gconf.xml.defaults/apps/logview/%gconf.xml
+etc/gconf/gconf.xml.defaults/apps/gnome-dictionary/%gconf.xml
+etc/gconf/gconf.xml.defaults/schemas/apps/logview/%gconf.xml
+etc/gconf/gconf.xml.defaults/schemas/apps/gnome-dictionary/%gconf.xml
+etc/gconf/schemas/logview.schemas
+etc/gconf/schemas/gdict.schemas
+libdata/bonobo/servers/GNOME_GDictApplet.server
+libexec/gdict-applet
+share/gnome/applications/archive-generator.desktop
+share/gnome/applications/gnome-calculator.desktop
+share/gnome/applications/gnome-character-map.desktop
+share/gnome/applications/gnome-dictionary.desktop
+share/gnome/applications/gnome-search-tool.desktop
+share/gnome/applications/gnome-system-log.desktop
+share/gnome/gnome-2.0/ui/GNOME_GDictApplet.xml
+share/gnome/gnome-system-log/gnome-system-log-actions.db
+share/gnome/gnome-system-log/gnome-system-log-descript.db
+share/gnome/gnome-system-log/gnome-system-log-regexp.db
+share/gnome/help/archive-generator/C/archive-generator.xml
+share/gnome/help/archive-generator/C/figures/archive-generator-contents.png
+share/gnome/help/archive-generator/C/figures/archive-generator.png
+share/gnome/help/archive-generator/C/legal.xml
+share/gnome/help/gdialog/C/figures/example-dialog.png
+share/gnome/help/gdialog/C/figures/gdialog-msgbox.png
+share/gnome/help/gdialog/C/figures/gdialog-yesno.png
+share/gnome/help/gdialog/C/gdialog.xml
+share/gnome/help/gdialog/C/legal.xml
+share/gnome/help/gnome-calculator/C/figures/gcalc_window.png
+share/gnome/help/gnome-calculator/C/gnome-calculator.xml
+share/gnome/help/gnome-calculator/C/legal.xml
+share/gnome/help/gnome-character-map/C/figures/gnome-character-map.png
+share/gnome/help/gnome-character-map/C/gnome-character-map.xml
+share/gnome/help/gnome-character-map/C/legal.xml
+share/gnome/help/gnome-dictionary/C/figures/gdict-find.png
+share/gnome/help/gnome-dictionary/C/figures/gdict-main.png
+share/gnome/help/gnome-dictionary/C/figures/gdict-prefs.png
+share/gnome/help/gnome-dictionary/C/figures/gdict-soundex.png
+share/gnome/help/gnome-dictionary/C/figures/gdict-spell.png
+share/gnome/help/gnome-dictionary/C/figures/gdict_applet.png
+share/gnome/help/gnome-dictionary/C/figures/gdict_window.png
+share/gnome/help/gnome-dictionary/C/gnome-dictionary.xml
+share/gnome/help/gnome-dictionary/C/legal.xml
+share/gnome/help/gnome-search-tool/C/figures/gnome-search-tool_window.png
+share/gnome/help/gnome-search-tool/C/gnome-search-tool.xml
+share/gnome/help/gnome-search-tool/C/legal.xml
+share/gnome/help/gnome-system-log/C/figures/syslog_window.png
+share/gnome/help/gnome-system-log/C/gnome-system-log.xml
+share/gnome/help/gnome-system-log/C/legal.xml
+share/gnome/omf/gnome-utils/archive-generator-C.omf
+share/gnome/omf/gnome-utils/gdialog-C.omf
+share/gnome/omf/gnome-utils/gnome-calculator-C.omf
+share/gnome/omf/gnome-utils/gnome-character-map-C.omf
+share/gnome/omf/gnome-utils/gnome-dictionary-C.omf
+share/gnome/omf/gnome-utils/gnome-search-tool-C.omf
+share/gnome/omf/gnome-utils/gnome-system-log-C.omf
+share/gnome/pixmaps/gdict.png
+share/gnome/pixmaps/gnome-character-map.png
+share/gnome/pixmaps/gnome-searchtool.png
+share/gnome/pixmaps/gnome-system-log/logview.xpm
+share/locale/az/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/bg/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ca/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/cs/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/da/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/de/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/el/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/en_GB/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/es/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/et/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/eu/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/fi/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/fr/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ga/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/gl/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/hu/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/it/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ja/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ko/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/lt/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/lv/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ms/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/nl/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/nn/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/no/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/pl/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/pt/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ro/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ru/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/sk/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/sl/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/sv/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/ta/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/tr/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/uk/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/vi/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/wa/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/zh_CN/LC_MESSAGES/gnome-utils-2.0.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-utils-2.0.mo
+@dirrm share/gnome/pixmaps/gnome-system-log
+@dirrm share/gnome/help/gnome-system-log/C/figures
+@dirrm share/gnome/help/gnome-system-log/C
+@dirrm share/gnome/help/gnome-system-log
+@dirrm share/gnome/help/gnome-search-tool/C/figures
+@dirrm share/gnome/help/gnome-search-tool/C
+@dirrm share/gnome/help/gnome-search-tool
+@dirrm share/gnome/help/gnome-dictionary/C/figures
+@dirrm share/gnome/help/gnome-dictionary/C
+@dirrm share/gnome/help/gnome-dictionary
+@dirrm share/gnome/help/gnome-character-map/C/figures
+@dirrm share/gnome/help/gnome-character-map/C
+@dirrm share/gnome/help/gnome-character-map
+@dirrm share/gnome/help/gnome-calculator/C/figures
+@dirrm share/gnome/help/gnome-calculator/C
+@dirrm share/gnome/help/gnome-calculator
+@dirrm share/gnome/help/gdialog/C/figures
+@dirrm share/gnome/help/gdialog/C
+@dirrm share/gnome/gnome-system-log
+@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gnome-dictionary
+@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/logview
+@dirrm etc/gconf/gconf.xml.defaults/apps/gnome-dictionary
+@dirrm etc/gconf/gconf.xml.defaults/apps/logview