summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 07:17:31 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 07:17:31 +0000
commitc76cf46929051f9dd322487d888c82f104026e6d (patch)
treef415aeddadc6782b1474ebd88710bfa86cf08711 /mail
parentImplement USE_GNOME, part 1. (diff)
Implement USE_GNOME, part 2.
Diffstat (limited to 'mail')
-rw-r--r--mail/balsa/Makefile21
-rw-r--r--mail/balsa2/Makefile21
-rw-r--r--mail/evolution-devel/Makefile14
-rw-r--r--mail/evolution/Makefile14
-rw-r--r--mail/glacier/Makefile12
-rw-r--r--mail/glacier/files/patch-aa11
-rw-r--r--mail/mmc/Makefile18
-rw-r--r--mail/pmail/Makefile12
-rw-r--r--mail/pmail/pkg-plist312
-rw-r--r--mail/sonicmail/Makefile10
-rw-r--r--mail/sonicmail/files/patch-aa6
11 files changed, 213 insertions, 238 deletions
diff --git a/mail/balsa/Makefile b/mail/balsa/Makefile
index b74df71d4142..6a23fdd00e40 100644
--- a/mail/balsa/Makefile
+++ b/mail/balsa/Makefile
@@ -14,29 +14,18 @@ MASTER_SITES= http://www.theochem.kth.se/~pawsa/balsa/ \
MAINTAINER= sobomax@FreeBSD.org
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
- PropList.2:${PORTSDIR}/devel/libPropList \
+LIB_DEPENDS= PropList.2:${PORTSDIR}/devel/libPropList \
pspell.2:${PORTSDIR}/textproc/pspell \
gnomeprint.12:${PORTSDIR}/print/gnomeprint
-RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter \
- ${X11BASE}/share/gnome/sounds/login.wav:${PORTSDIR}/audio/gnomeaudio \
- panel:${PORTSDIR}/x11/gnomecore
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
USE_X_PREFIX= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
LIBTOOLFILES= configure libmutt/configure
-CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
- GTK_CONFIG='${GTK_CONFIG}' \
- GLIB_CONFIG='${GLIB_CONFIG}' \
- LIBS='-L${LOCALBASE}/lib'
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome \
- --with-gnome=${PREFIX} \
- --enable-threads \
+CONFIGURE_ARGS= --enable-threads \
--disable-more-warnings
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
MAN1= balsa.1
diff --git a/mail/balsa2/Makefile b/mail/balsa2/Makefile
index b74df71d4142..6a23fdd00e40 100644
--- a/mail/balsa2/Makefile
+++ b/mail/balsa2/Makefile
@@ -14,29 +14,18 @@ MASTER_SITES= http://www.theochem.kth.se/~pawsa/balsa/ \
MAINTAINER= sobomax@FreeBSD.org
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
- PropList.2:${PORTSDIR}/devel/libPropList \
+LIB_DEPENDS= PropList.2:${PORTSDIR}/devel/libPropList \
pspell.2:${PORTSDIR}/textproc/pspell \
gnomeprint.12:${PORTSDIR}/print/gnomeprint
-RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter \
- ${X11BASE}/share/gnome/sounds/login.wav:${PORTSDIR}/audio/gnomeaudio \
- panel:${PORTSDIR}/x11/gnomecore
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
USE_X_PREFIX= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
LIBTOOLFILES= configure libmutt/configure
-CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
- GTK_CONFIG='${GTK_CONFIG}' \
- GLIB_CONFIG='${GLIB_CONFIG}' \
- LIBS='-L${LOCALBASE}/lib'
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome \
- --with-gnome=${PREFIX} \
- --enable-threads \
+CONFIGURE_ARGS= --enable-threads \
--disable-more-warnings
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
MAN1= balsa.1
diff --git a/mail/evolution-devel/Makefile b/mail/evolution-devel/Makefile
index feae138d8876..30e9dfb045b8 100644
--- a/mail/evolution-devel/Makefile
+++ b/mail/evolution-devel/Makefile
@@ -14,8 +14,7 @@ MASTER_SITE_SUBDIR= unstable/sources/evolution
MAINTAINER= ade@FreeBSD.org
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
- xml.5:${PORTSDIR}/textproc/libxml \
+LIB_DEPENDS= xml.5:${PORTSDIR}/textproc/libxml \
glade.4:${PORTSDIR}/devel/libglade \
gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf \
gnomeprint.12:${PORTSDIR}/print/gnomeprint \
@@ -25,22 +24,15 @@ LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
unicode.0:${PORTSDIR}/devel/libunicode \
gtkhtml.4:${PORTSDIR}/www/gtkhtml \
ldap.1:${PORTSDIR}/net/openldap \
- capplet.4:${PORTSDIR}/sysutils/gnomecontrolcenter \
gpilotd.0:${PORTSDIR}/palm/gnomepilot
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
USE_GMAKE= yes
USE_X_PREFIX= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
LIBTOOLFILES= configure libical/configure
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome \
- --with-pisock=${LOCALBASE}/pilot
+CONFIGURE_ARGS= --with-pisock=${LOCALBASE}/pilot
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GLIB_CONFIG="${GLIB_CONFIG}" \
- GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
PLIST_SUB= VERSION=${PORTVERSION}
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index feae138d8876..30e9dfb045b8 100644
--- a/mail/evolution/Makefile
+++ b/mail/evolution/Makefile
@@ -14,8 +14,7 @@ MASTER_SITE_SUBDIR= unstable/sources/evolution
MAINTAINER= ade@FreeBSD.org
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
- xml.5:${PORTSDIR}/textproc/libxml \
+LIB_DEPENDS= xml.5:${PORTSDIR}/textproc/libxml \
glade.4:${PORTSDIR}/devel/libglade \
gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf \
gnomeprint.12:${PORTSDIR}/print/gnomeprint \
@@ -25,22 +24,15 @@ LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
unicode.0:${PORTSDIR}/devel/libunicode \
gtkhtml.4:${PORTSDIR}/www/gtkhtml \
ldap.1:${PORTSDIR}/net/openldap \
- capplet.4:${PORTSDIR}/sysutils/gnomecontrolcenter \
gpilotd.0:${PORTSDIR}/palm/gnomepilot
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
USE_GMAKE= yes
USE_X_PREFIX= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
LIBTOOLFILES= configure libical/configure
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome \
- --with-pisock=${LOCALBASE}/pilot
+CONFIGURE_ARGS= --with-pisock=${LOCALBASE}/pilot
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GLIB_CONFIG="${GLIB_CONFIG}" \
- GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
PLIST_SUB= VERSION=${PORTVERSION}
diff --git a/mail/glacier/Makefile b/mail/glacier/Makefile
index 8aefdf5a9eae..af7d88902a40 100644
--- a/mail/glacier/Makefile
+++ b/mail/glacier/Makefile
@@ -12,13 +12,13 @@ MASTER_SITES= http://glacier.linuxave.net/
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= GTK_CONFIG=${GTK_CONFIG}
-CONFIGURE_ARGS+=--datadir=${PREFIX}/share
USE_GMAKE= yes
+USE_GNOME= yes
+GNU_CONFIGURE= yes
+
+pre-patch:
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g'
.include <bsd.port.mk>
diff --git a/mail/glacier/files/patch-aa b/mail/glacier/files/patch-aa
new file mode 100644
index 000000000000..988f80154cd2
--- /dev/null
+++ b/mail/glacier/files/patch-aa
@@ -0,0 +1,11 @@
+--- configure.orig Sun Feb 27 16:05:09 2000
++++ configure Sun Feb 27 16:05:59 2000
+@@ -1333,7 +1333,7 @@
+ echo "configure:1334: checking for Gnome compile flags" >&5
+ GNOME_CFLAGS=`$gnomepath gnomeui --cflags 2>/dev/null`
+ GNOME_VER=`$gnomepath --version |$sedpath 's/gnome-libs //'`
+- GNOME_MINOR=`echo $GNOME_VER |$sedpath 's/\([0-9]**\).\([0-9]**\).\([0-9]**\)/\2/'`
++ GNOME_MINOR=`echo $GNOME_VER |$sedpath 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
+
+ if test "_$GNOME_MINOR" = "_20"; then
+ gnome=no
diff --git a/mail/mmc/Makefile b/mail/mmc/Makefile
index c5068004a167..6081cf7d345e 100644
--- a/mail/mmc/Makefile
+++ b/mail/mmc/Makefile
@@ -14,19 +14,19 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.1/-1/}
MAINTAINER= sobomax@FreeBSD.org
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs
-
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.1//}
USE_X_PREFIX= yes
+USE_GNOME= yes
GNU_CONFIGURE= yes
-
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
-CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
- GTK_CONFIG="${GTK_CONFIG}" \
- CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
+ s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
+
.include <bsd.port.mk>
diff --git a/mail/pmail/Makefile b/mail/pmail/Makefile
index f12c47d538e6..d13506635b68 100644
--- a/mail/pmail/Makefile
+++ b/mail/pmail/Makefile
@@ -16,16 +16,12 @@ BUILD_DEPENDS= ${PYTHON_LIBDIR}/site-packages/_gnomemodule.so:${PORTSDIR}/x11-to
LIB_DEPENDS= glade.4:${PORTSDIR}/devel/libglade
RUN_DEPENDS= ${PYTHON_LIBDIR}/site-packages/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome
+USE_X_PREFIX= yes
USE_GMAKE= yes
USE_PYTHON= yes
+USE_GNOME= yes
GNU_CONFIGURE= yes
-
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
-CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
- GTK_CONFIG="${GTK_CONFIG}" \
- CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>
diff --git a/mail/pmail/pkg-plist b/mail/pmail/pkg-plist
index 71f0dca9f63d..c1e42fe7968b 100644
--- a/mail/pmail/pkg-plist
+++ b/mail/pmail/pkg-plist
@@ -1,157 +1,157 @@
bin/pmail
-share/pmail/Base.py
-share/pmail/Base.pyc
-share/pmail/Base.pyo
-share/pmail/MessageList.py
-share/pmail/MessageList.pyc
-share/pmail/MessageList.pyo
-share/pmail/MimeWriter.py
-share/pmail/MimeWriter.pyc
-share/pmail/MimeWriter.pyo
-share/pmail/PmailGtkXmHTML.py
-share/pmail/PmailGtkXmHTML.pyc
-share/pmail/PmailGtkXmHTML.pyo
-share/pmail/_pmailextensionsmodule.so
-share/pmail/config/Config.py
-share/pmail/config/Config.pyc
-share/pmail/config/Config.pyo
-share/pmail/config/__init__.py
-share/pmail/config/__init__.pyc
-share/pmail/config/__init__.pyo
-share/pmail/config/paths.py
-share/pmail/config/paths.pyc
-share/pmail/config/paths.pyo
-share/pmail/dumpconfig.py
-share/pmail/dumpconfig.pyc
-share/pmail/dumpconfig.pyo
-share/pmail/gtkf/Compose.py
-share/pmail/gtkf/Compose.pyc
-share/pmail/gtkf/Compose.pyo
-share/pmail/gtkf/FrontEnd.py
-share/pmail/gtkf/FrontEnd.pyc
-share/pmail/gtkf/FrontEnd.pyo
-share/pmail/gtkf/GladeWindow.py
-share/pmail/gtkf/GladeWindow.pyc
-share/pmail/gtkf/GladeWindow.pyo
-share/pmail/gtkf/MainWindow.py
-share/pmail/gtkf/MainWindow.pyc
-share/pmail/gtkf/MainWindow.pyo
-share/pmail/gtkf/MessageList.py
-share/pmail/gtkf/MessageList.pyc
-share/pmail/gtkf/MessageList.pyo
-share/pmail/gtkf/MozillaMsgWindow.py
-share/pmail/gtkf/MozillaMsgWindow.pyc
-share/pmail/gtkf/MozillaMsgWindow.pyo
-share/pmail/gtkf/MsgWindow.py
-share/pmail/gtkf/MsgWindow.pyc
-share/pmail/gtkf/MsgWindow.pyo
-share/pmail/gtkf/Preferences.py
-share/pmail/gtkf/Preferences.pyc
-share/pmail/gtkf/Preferences.pyo
-share/pmail/gtkf/ProgressBar.py
-share/pmail/gtkf/ProgressBar.pyc
-share/pmail/gtkf/ProgressBar.pyo
-share/pmail/gtkf/SMessageWindow.py
-share/pmail/gtkf/SMessageWindow.pyc
-share/pmail/gtkf/SMessageWindow.pyo
-share/pmail/gtkf/SearchMessages.py
-share/pmail/gtkf/SearchMessages.pyc
-share/pmail/gtkf/SearchMessages.pyo
-share/pmail/gtkf/Spell.py
-share/pmail/gtkf/Spell.pyc
-share/pmail/gtkf/Spell.pyo
-share/pmail/gtkf/TextMsgWindow.py
-share/pmail/gtkf/TextMsgWindow.pyc
-share/pmail/gtkf/TextMsgWindow.pyo
-share/pmail/gtkf/TreeWindow.py
-share/pmail/gtkf/TreeWindow.pyc
-share/pmail/gtkf/TreeWindow.pyo
-share/pmail/gtkf/XmHTMLMsgWindow.py
-share/pmail/gtkf/XmHTMLMsgWindow.pyc
-share/pmail/gtkf/XmHTMLMsgWindow.pyo
-share/pmail/gtkf/__init__.py
-share/pmail/gtkf/__init__.pyc
-share/pmail/gtkf/__init__.pyo
-share/pmail/gtkf/all.glade
-share/pmail/gtkf/gnomeapp.glade
-share/pmail/gtkf/gutil.py
-share/pmail/gtkf/gutil.pyc
-share/pmail/gtkf/gutil.pyo
-share/pmail/gtkf/mygnome.py
-share/pmail/gtkf/mygnome.pyc
-share/pmail/gtkf/mygnome.pyo
-share/pmail/gtkf/update.py
-share/pmail/gtkf/update.pyc
-share/pmail/gtkf/update.pyo
-share/pmail/imaplib.py
-share/pmail/imaplib.pyc
-share/pmail/imaplib.pyo
-share/pmail/mail/IMAP.py
-share/pmail/mail/IMAP.pyc
-share/pmail/mail/IMAP.pyo
-share/pmail/mail/MH.py
-share/pmail/mail/MH.pyc
-share/pmail/mail/MH.pyo
-share/pmail/mail/Mailbox.py
-share/pmail/mail/Mailbox.pyc
-share/pmail/mail/Mailbox.pyo
-share/pmail/mail/Message.py
-share/pmail/mail/Message.pyc
-share/pmail/mail/Message.pyo
-share/pmail/mail/NewMessage.py
-share/pmail/mail/NewMessage.pyc
-share/pmail/mail/NewMessage.pyo
-share/pmail/mail/POP.py
-share/pmail/mail/POP.pyc
-share/pmail/mail/POP.pyo
-share/pmail/mail/Plugin.py
-share/pmail/mail/Plugin.pyc
-share/pmail/mail/Plugin.pyo
-share/pmail/mail/SearchCriteria.py
-share/pmail/mail/SearchCriteria.pyc
-share/pmail/mail/SearchCriteria.pyo
-share/pmail/mail/Source.py
-share/pmail/mail/Source.pyc
-share/pmail/mail/Source.pyo
-share/pmail/mail/SpoolFile.py
-share/pmail/mail/SpoolFile.pyc
-share/pmail/mail/SpoolFile.pyo
-share/pmail/mail/__init__.py
-share/pmail/mail/__init__.pyc
-share/pmail/mail/__init__.pyo
-share/pmail/mail/config_hooks.py
-share/pmail/mail/config_hooks.pyc
-share/pmail/mail/config_hooks.pyo
-share/pmail/mail/pmailmailbox.py
-share/pmail/mail/pmailmailbox.pyc
-share/pmail/mail/pmailmailbox.pyo
-share/pmail/mail/util.py
-share/pmail/mail/util.pyc
-share/pmail/mail/util.pyo
-share/pmail/main.py
-share/pmail/main.pyc
-share/pmail/main.pyo
-share/pmail/plugins/Filters.py
-share/pmail/plugins/Filters.pyc
-share/pmail/plugins/Filters.pyo
-share/pmail/plugins/HtmlViewer.py
-share/pmail/plugins/HtmlViewer.pyc
-share/pmail/plugins/HtmlViewer.pyo
-share/pmail/plugins/__init__.py
-share/pmail/plugins/__init__.pyc
-share/pmail/plugins/__init__.pyo
-share/pmail/plugins/filters.glade
-share/pmail/plugins/myf.py
-share/pmail/plugins/myf.pyc
-share/pmail/plugins/myf.pyo
-share/pmail/pmailmimify.py
-share/pmail/pmailmimify.pyc
-share/pmail/pmailmimify.pyo
-share/pmail/posixfile.py
-share/pmail/posixfile.pyc
-share/pmail/posixfile.pyo
-@dirrm share/pmail/plugins
-@dirrm share/pmail/mail
-@dirrm share/pmail/gtkf
-@dirrm share/pmail/config
-@dirrm share/pmail
+share/gnome/pmail/Base.py
+share/gnome/pmail/Base.pyc
+share/gnome/pmail/Base.pyo
+share/gnome/pmail/MessageList.py
+share/gnome/pmail/MessageList.pyc
+share/gnome/pmail/MessageList.pyo
+share/gnome/pmail/MimeWriter.py
+share/gnome/pmail/MimeWriter.pyc
+share/gnome/pmail/MimeWriter.pyo
+share/gnome/pmail/PmailGtkXmHTML.py
+share/gnome/pmail/PmailGtkXmHTML.pyc
+share/gnome/pmail/PmailGtkXmHTML.pyo
+share/gnome/pmail/_pmailextensionsmodule.so
+share/gnome/pmail/config/Config.py
+share/gnome/pmail/config/Config.pyc
+share/gnome/pmail/config/Config.pyo
+share/gnome/pmail/config/__init__.py
+share/gnome/pmail/config/__init__.pyc
+share/gnome/pmail/config/__init__.pyo
+share/gnome/pmail/config/paths.py
+share/gnome/pmail/config/paths.pyc
+share/gnome/pmail/config/paths.pyo
+share/gnome/pmail/dumpconfig.py
+share/gnome/pmail/dumpconfig.pyc
+share/gnome/pmail/dumpconfig.pyo
+share/gnome/pmail/gtkf/Compose.py
+share/gnome/pmail/gtkf/Compose.pyc
+share/gnome/pmail/gtkf/Compose.pyo
+share/gnome/pmail/gtkf/FrontEnd.py
+share/gnome/pmail/gtkf/FrontEnd.pyc
+share/gnome/pmail/gtkf/FrontEnd.pyo
+share/gnome/pmail/gtkf/GladeWindow.py
+share/gnome/pmail/gtkf/GladeWindow.pyc
+share/gnome/pmail/gtkf/GladeWindow.pyo
+share/gnome/pmail/gtkf/MainWindow.py
+share/gnome/pmail/gtkf/MainWindow.pyc
+share/gnome/pmail/gtkf/MainWindow.pyo
+share/gnome/pmail/gtkf/MessageList.py
+share/gnome/pmail/gtkf/MessageList.pyc
+share/gnome/pmail/gtkf/MessageList.pyo
+share/gnome/pmail/gtkf/MozillaMsgWindow.py
+share/gnome/pmail/gtkf/MozillaMsgWindow.pyc
+share/gnome/pmail/gtkf/MozillaMsgWindow.pyo
+share/gnome/pmail/gtkf/MsgWindow.py
+share/gnome/pmail/gtkf/MsgWindow.pyc
+share/gnome/pmail/gtkf/MsgWindow.pyo
+share/gnome/pmail/gtkf/Preferences.py
+share/gnome/pmail/gtkf/Preferences.pyc
+share/gnome/pmail/gtkf/Preferences.pyo
+share/gnome/pmail/gtkf/ProgressBar.py
+share/gnome/pmail/gtkf/ProgressBar.pyc
+share/gnome/pmail/gtkf/ProgressBar.pyo
+share/gnome/pmail/gtkf/SMessageWindow.py
+share/gnome/pmail/gtkf/SMessageWindow.pyc
+share/gnome/pmail/gtkf/SMessageWindow.pyo
+share/gnome/pmail/gtkf/SearchMessages.py
+share/gnome/pmail/gtkf/SearchMessages.pyc
+share/gnome/pmail/gtkf/SearchMessages.pyo
+share/gnome/pmail/gtkf/Spell.py
+share/gnome/pmail/gtkf/Spell.pyc
+share/gnome/pmail/gtkf/Spell.pyo
+share/gnome/pmail/gtkf/TextMsgWindow.py
+share/gnome/pmail/gtkf/TextMsgWindow.pyc
+share/gnome/pmail/gtkf/TextMsgWindow.pyo
+share/gnome/pmail/gtkf/TreeWindow.py
+share/gnome/pmail/gtkf/TreeWindow.pyc
+share/gnome/pmail/gtkf/TreeWindow.pyo
+share/gnome/pmail/gtkf/XmHTMLMsgWindow.py
+share/gnome/pmail/gtkf/XmHTMLMsgWindow.pyc
+share/gnome/pmail/gtkf/XmHTMLMsgWindow.pyo
+share/gnome/pmail/gtkf/__init__.py
+share/gnome/pmail/gtkf/__init__.pyc
+share/gnome/pmail/gtkf/__init__.pyo
+share/gnome/pmail/gtkf/all.glade
+share/gnome/pmail/gtkf/gnomeapp.glade
+share/gnome/pmail/gtkf/gutil.py
+share/gnome/pmail/gtkf/gutil.pyc
+share/gnome/pmail/gtkf/gutil.pyo
+share/gnome/pmail/gtkf/mygnome.py
+share/gnome/pmail/gtkf/mygnome.pyc
+share/gnome/pmail/gtkf/mygnome.pyo
+share/gnome/pmail/gtkf/update.py
+share/gnome/pmail/gtkf/update.pyc
+share/gnome/pmail/gtkf/update.pyo
+share/gnome/pmail/imaplib.py
+share/gnome/pmail/imaplib.pyc
+share/gnome/pmail/imaplib.pyo
+share/gnome/pmail/mail/IMAP.py
+share/gnome/pmail/mail/IMAP.pyc
+share/gnome/pmail/mail/IMAP.pyo
+share/gnome/pmail/mail/MH.py
+share/gnome/pmail/mail/MH.pyc
+share/gnome/pmail/mail/MH.pyo
+share/gnome/pmail/mail/Mailbox.py
+share/gnome/pmail/mail/Mailbox.pyc
+share/gnome/pmail/mail/Mailbox.pyo
+share/gnome/pmail/mail/Message.py
+share/gnome/pmail/mail/Message.pyc
+share/gnome/pmail/mail/Message.pyo
+share/gnome/pmail/mail/NewMessage.py
+share/gnome/pmail/mail/NewMessage.pyc
+share/gnome/pmail/mail/NewMessage.pyo
+share/gnome/pmail/mail/POP.py
+share/gnome/pmail/mail/POP.pyc
+share/gnome/pmail/mail/POP.pyo
+share/gnome/pmail/mail/Plugin.py
+share/gnome/pmail/mail/Plugin.pyc
+share/gnome/pmail/mail/Plugin.pyo
+share/gnome/pmail/mail/SearchCriteria.py
+share/gnome/pmail/mail/SearchCriteria.pyc
+share/gnome/pmail/mail/SearchCriteria.pyo
+share/gnome/pmail/mail/Source.py
+share/gnome/pmail/mail/Source.pyc
+share/gnome/pmail/mail/Source.pyo
+share/gnome/pmail/mail/SpoolFile.py
+share/gnome/pmail/mail/SpoolFile.pyc
+share/gnome/pmail/mail/SpoolFile.pyo
+share/gnome/pmail/mail/__init__.py
+share/gnome/pmail/mail/__init__.pyc
+share/gnome/pmail/mail/__init__.pyo
+share/gnome/pmail/mail/config_hooks.py
+share/gnome/pmail/mail/config_hooks.pyc
+share/gnome/pmail/mail/config_hooks.pyo
+share/gnome/pmail/mail/pmailmailbox.py
+share/gnome/pmail/mail/pmailmailbox.pyc
+share/gnome/pmail/mail/pmailmailbox.pyo
+share/gnome/pmail/mail/util.py
+share/gnome/pmail/mail/util.pyc
+share/gnome/pmail/mail/util.pyo
+share/gnome/pmail/main.py
+share/gnome/pmail/main.pyc
+share/gnome/pmail/main.pyo
+share/gnome/pmail/plugins/Filters.py
+share/gnome/pmail/plugins/Filters.pyc
+share/gnome/pmail/plugins/Filters.pyo
+share/gnome/pmail/plugins/HtmlViewer.py
+share/gnome/pmail/plugins/HtmlViewer.pyc
+share/gnome/pmail/plugins/HtmlViewer.pyo
+share/gnome/pmail/plugins/__init__.py
+share/gnome/pmail/plugins/__init__.pyc
+share/gnome/pmail/plugins/__init__.pyo
+share/gnome/pmail/plugins/filters.glade
+share/gnome/pmail/plugins/myf.py
+share/gnome/pmail/plugins/myf.pyc
+share/gnome/pmail/plugins/myf.pyo
+share/gnome/pmail/pmailmimify.py
+share/gnome/pmail/pmailmimify.pyc
+share/gnome/pmail/pmailmimify.pyo
+share/gnome/pmail/posixfile.py
+share/gnome/pmail/posixfile.pyc
+share/gnome/pmail/posixfile.pyo
+@dirrm share/gnome/pmail/plugins
+@dirrm share/gnome/pmail/mail
+@dirrm share/gnome/pmail/gtkf
+@dirrm share/gnome/pmail/config
+@dirrm share/gnome/pmail
diff --git a/mail/sonicmail/Makefile b/mail/sonicmail/Makefile
index 74e85ad3e819..6c166a89a5d2 100644
--- a/mail/sonicmail/Makefile
+++ b/mail/sonicmail/Makefile
@@ -12,8 +12,14 @@ MASTER_SITES= http://download.sourceforge.net/sonicmail/
MAINTAINER= nakai@FreeBSD.org
-LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore
-
USE_X_PREFIX= yes
+USE_GNOME= yes
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
.include <bsd.port.mk>
diff --git a/mail/sonicmail/files/patch-aa b/mail/sonicmail/files/patch-aa
index d0e58373185e..2986fa716524 100644
--- a/mail/sonicmail/files/patch-aa
+++ b/mail/sonicmail/files/patch-aa
@@ -6,8 +6,8 @@
# Change these to the default location of the pixmaps/wav files:
-XPMSPATH = /usr/share/pixmaps/sonicmail
-WAVSPATH = /usr/share/sound/sonicmail
-+XPMSPATH = /usr/X11R6/share/pixmaps/sonicmail
-+WAVSPATH = /usr/X11R6/share/sound/sonicmail
++XPMSPATH = ${PREFIX}/share/pixmaps/sonicmail
++WAVSPATH = ${PREFIX}/share/sound/sonicmail
# Change to 1 to activate debug mode:
SONICMAIL_DEBUG = 0
@@ -16,7 +16,7 @@
CFLAGS = -Wall $($(OSTYPE)_Flags) -O2 `gnome-config --cflags applets` $(DEFINES)
-LFLAGS = `gnome-config --libs applets` `gtk-config --libs gthread` -lpthread
-+LFLAGS = `gnome-config --libs applets` `gtk12-config --libs gthread`
++LFLAGS = `gnome-config --libs applets` `${GTK_CONFIG} --libs gthread`
# Define platform specific flags/libraries below:
Linux_Flags = -DLINUX