diff -ruN --exclude=CVS /usr/ports/mail/mmc/Makefile ./Makefile --- /usr/ports/mail/mmc/Makefile 2011-09-24 04:23:57.000000000 +0600 +++ ./Makefile 2012-03-29 03:01:30.331234178 +0600 @@ -1,6 +1,6 @@ -# New ports collection makefile for: mmc -# Date created: 21 July 2000 -# Whom: Maxim Sobolev +# New ports collection makefile for: mmc +# Date created: 21 July 2000 +# Whom: Maxim Sobolev # # $FreeBSD: ports/mail/mmc/Makefile,v 1.20 2011/09/23 22:23:57 amdmi3 Exp $ # @@ -11,9 +11,10 @@ CATEGORIES= mail gnome MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= 5u623l20@gmail.com COMMENT= A tiny mail client for Gnome Desktop +PORTSCOUT= skipv:0.35 #Older than the current one WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.1//} USE_GNOME= gnomehack gnomelibs gnomeprefix @@ -23,4 +24,17 @@ CFLAGS+= -fpermissive +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +PLIST_FILES= bin/mmc \ + share/gnome/apps/Internet/mmc.desktop \ + %%NLS%%share/locale/de/LC_MESSAGES/mmc.mo \ + share/pixmaps/mmc-logo.png + .include diff -ruN --exclude=CVS /usr/ports/mail/mmc/files/patch-ab ./files/patch-ab --- /usr/ports/mail/mmc/files/patch-ab 2000-07-21 20:06:25.000000000 +0600 +++ ./files/patch-ab 1970-01-01 06:00:00.000000000 +0600 @@ -1,11 +0,0 @@ ---- src/Makefile.in 2000/07/21 13:35:12 1.1 -+++ src/Makefile.in 2000/07/21 13:35:38 -@@ -115,7 +115,7 @@ - mmc_SOURCES = main.cc main.h msg.cc msg.h pop3.cc pop3.h mime.cc mime.h compose.cc compose.h smtp.cc smtp.h address.cc progressbar.cc protocols.h protocols.cc folders.cc folders.h address.h progress.h - - --mmc_LDADD = $(GNOMEUI_LIBS) $(GNOME_LIBDIR) $(INTLLIBS) -ldb -+mmc_LDADD = $(GNOMEUI_LIBS) $(GNOME_LIBDIR) $(INTLLIBS) - - EXTRA_DIST = logo.png - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff -ruN --exclude=CVS /usr/ports/mail/mmc/files/patch-ac ./files/patch-ac --- /usr/ports/mail/mmc/files/patch-ac 2001-01-25 22:18:17.000000000 +0600 +++ ./files/patch-ac 1970-01-01 06:00:00.000000000 +0600 @@ -1,19 +0,0 @@ - -$FreeBSD: ports/mail/mmc/files/patch-ac,v 1.2 2001/01/25 16:18:17 sobomax Exp $ - ---- src/address.h.orig Sun Jan 14 01:12:18 2001 -+++ src/address.h Thu Jan 25 17:46:23 2001 -@@ -27,11 +27,12 @@ - #include - #endif - --#include - #if defined(HAVE_DB1_DB_H) - # include - #elif defined(HAVE_DB_185_H) - # include -+#else -+# include - #endif - #include - #include diff -ruN --exclude=CVS /usr/ports/mail/mmc/files/patch-ad ./files/patch-ad --- /usr/ports/mail/mmc/files/patch-ad 2000-07-21 20:06:25.000000000 +0600 +++ ./files/patch-ad 1970-01-01 06:00:00.000000000 +0600 @@ -1,10 +0,0 @@ ---- src/pop3.cc 2000/07/21 13:31:58 1.1 -+++ src/pop3.cc 2000/07/21 13:32:56 -@@ -26,6 +26,7 @@ - */ - - #include -+#include - #include - #include - #include diff -ruN --exclude=CVS /usr/ports/mail/mmc/files/patch-ae ./files/patch-ae --- /usr/ports/mail/mmc/files/patch-ae 2001-01-25 22:18:17.000000000 +0600 +++ ./files/patch-ae 1970-01-01 06:00:00.000000000 +0600 @@ -1,13 +0,0 @@ - -$FreeBSD: ports/mail/mmc/files/patch-ae,v 1.2 2001/01/25 16:18:17 sobomax Exp $ - ---- src/smtp.cc.orig Fri Jan 19 18:06:46 2001 -+++ src/smtp.cc Thu Jan 25 17:44:11 2001 -@@ -23,6 +23,7 @@ - #ifdef HAVE_CONFIG_H - # include - #endif -+#include - #include - #include - diff -ruN --exclude=CVS /usr/ports/mail/mmc/files/patch-src-Makefile.in ./files/patch-src-Makefile.in --- /usr/ports/mail/mmc/files/patch-src-Makefile.in 1970-01-01 06:00:00.000000000 +0600 +++ ./files/patch-src-Makefile.in 2012-03-29 03:00:18.117234000 +0600 @@ -0,0 +1,11 @@ +--- src/Makefile.in 2000/07/21 13:35:12 1.1 ++++ src/Makefile.in 2000/07/21 13:35:38 +@@ -115,7 +115,7 @@ + mmc_SOURCES = main.cc main.h msg.cc msg.h pop3.cc pop3.h mime.cc mime.h compose.cc compose.h smtp.cc smtp.h address.cc progressbar.cc protocols.h protocols.cc folders.cc folders.h address.h progress.h + + +-mmc_LDADD = $(GNOMEUI_LIBS) $(GNOME_LIBDIR) $(INTLLIBS) -ldb ++mmc_LDADD = $(GNOMEUI_LIBS) $(GNOME_LIBDIR) $(INTLLIBS) + + EXTRA_DIST = logo.png + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff -ruN --exclude=CVS /usr/ports/mail/mmc/files/patch-src-address.h ./files/patch-src-address.h --- /usr/ports/mail/mmc/files/patch-src-address.h 1970-01-01 06:00:00.000000000 +0600 +++ ./files/patch-src-address.h 2012-03-29 03:00:18.121234000 +0600 @@ -0,0 +1,19 @@ + +$FreeBSD: ports/mail/mmc/files/patch-ac,v 1.2 2001/01/25 16:18:17 sobomax Exp $ + +--- src/address.h.orig Sun Jan 14 01:12:18 2001 ++++ src/address.h Thu Jan 25 17:46:23 2001 +@@ -27,11 +27,12 @@ + #include + #endif + +-#include + #if defined(HAVE_DB1_DB_H) + # include + #elif defined(HAVE_DB_185_H) + # include ++#else ++# include + #endif + #include + #include diff -ruN --exclude=CVS /usr/ports/mail/mmc/files/patch-src-pop3.cc ./files/patch-src-pop3.cc --- /usr/ports/mail/mmc/files/patch-src-pop3.cc 1970-01-01 06:00:00.000000000 +0600 +++ ./files/patch-src-pop3.cc 2012-03-29 03:00:18.111234000 +0600 @@ -0,0 +1,10 @@ +--- src/pop3.cc 2000/07/21 13:31:58 1.1 ++++ src/pop3.cc 2000/07/21 13:32:56 +@@ -26,6 +26,7 @@ + */ + + #include ++#include + #include + #include + #include diff -ruN --exclude=CVS /usr/ports/mail/mmc/files/patch-src-protocols.cc ./files/patch-src-protocols.cc --- /usr/ports/mail/mmc/files/patch-src-protocols.cc 1970-01-01 06:00:00.000000000 +0600 +++ ./files/patch-src-protocols.cc 2012-03-29 03:00:18.119233000 +0600 @@ -0,0 +1,11 @@ +--- src/protocols.cc.orig Sat Jan 20 00:19:56 2001 ++++ src/protocols.cc Sat Nov 8 02:07:44 2003 +@@ -46,6 +46,8 @@ + #include "progress.h" + #include "pop3.h" + ++using namespace std; ++ + // TODO: make the following List User-Configurable + gchar const * headers[] = { + "From:", diff -ruN --exclude=CVS /usr/ports/mail/mmc/files/patch-src-smtp.cc ./files/patch-src-smtp.cc --- /usr/ports/mail/mmc/files/patch-src-smtp.cc 1970-01-01 06:00:00.000000000 +0600 +++ ./files/patch-src-smtp.cc 2012-03-29 03:00:18.113233000 +0600 @@ -0,0 +1,13 @@ + +$FreeBSD: ports/mail/mmc/files/patch-ae,v 1.2 2001/01/25 16:18:17 sobomax Exp $ + +--- src/smtp.cc.orig Fri Jan 19 18:06:46 2001 ++++ src/smtp.cc Thu Jan 25 17:44:11 2001 +@@ -23,6 +23,7 @@ + #ifdef HAVE_CONFIG_H + # include + #endif ++#include + #include + #include + diff -ruN --exclude=CVS /usr/ports/mail/mmc/files/patch-src::protocols.cc ./files/patch-src::protocols.cc --- /usr/ports/mail/mmc/files/patch-src::protocols.cc 2003-11-11 01:26:39.000000000 +0600 +++ ./files/patch-src::protocols.cc 1970-01-01 06:00:00.000000000 +0600 @@ -1,11 +0,0 @@ ---- src/protocols.cc.orig Sat Jan 20 00:19:56 2001 -+++ src/protocols.cc Sat Nov 8 02:07:44 2003 -@@ -46,6 +46,8 @@ - #include "progress.h" - #include "pop3.h" - -+using namespace std; -+ - // TODO: make the following List User-Configurable - gchar const * headers[] = { - "From:", diff -ruN --exclude=CVS /usr/ports/mail/mmc/pkg-plist ./pkg-plist --- /usr/ports/mail/mmc/pkg-plist 2007-10-25 05:34:58.000000000 +0600 +++ ./pkg-plist 1970-01-01 06:00:00.000000000 +0600 @@ -1,4 +0,0 @@ -bin/mmc -share/gnome/apps/Internet/mmc.desktop -share/locale/de/LC_MESSAGES/mmc.mo -share/pixmaps/mmc-logo.png