View | Details | Raw Unified | Return to bug 166476
Collapse All | Expand All

(-)./Makefile (-4 / +18 lines)
Lines 1-6 Link Here
1
# New ports collection makefile for:	mmc
1
# New ports collection makefile for:    mmc
2
# Date created:				21 July 2000
2
# Date created:                         21 July 2000
3
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
3
# Whom:                                 Maxim Sobolev <sobomax@FreeBSD.org>
4
#
4
#
5
# $FreeBSD: ports/mail/mmc/Makefile,v 1.20 2011/09/23 22:23:57 amdmi3 Exp $
5
# $FreeBSD: ports/mail/mmc/Makefile,v 1.20 2011/09/23 22:23:57 amdmi3 Exp $
6
#
6
#
Lines 11-19 Link Here
11
CATEGORIES=	mail gnome
11
CATEGORIES=	mail gnome
12
MASTER_SITES=	SF
12
MASTER_SITES=	SF
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	5u623l20@gmail.com
15
COMMENT=	A tiny mail client for Gnome Desktop
15
COMMENT=	A tiny mail client for Gnome Desktop
16
16
17
PORTSCOUT=	skipv:0.35      #Older than the current one
17
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.1//}
18
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.1//}
18
19
19
USE_GNOME=	gnomehack gnomelibs gnomeprefix
20
USE_GNOME=	gnomehack gnomelibs gnomeprefix
Lines 23-26 Link Here
23
24
24
CFLAGS+=	-fpermissive
25
CFLAGS+=	-fpermissive
25
26
27
.if !defined(WITHOUT_NLS)
28
USE_GETTEXT=	yes
29
PLIST_SUB+=	NLS=""
30
.else
31
CONFIGURE_ARGS+=	--disable-nls
32
PLIST_SUB+=		NLS="@comment "
33
.endif
34
35
PLIST_FILES=	bin/mmc \
36
		share/gnome/apps/Internet/mmc.desktop \
37
		%%NLS%%share/locale/de/LC_MESSAGES/mmc.mo \
38
		share/pixmaps/mmc-logo.png
39
26
.include <bsd.port.mk>
40
.include <bsd.port.mk>
(-)./files/patch-ab (-11 lines)
Lines 1-11 Link Here
1
--- src/Makefile.in	2000/07/21 13:35:12	1.1
2
+++ src/Makefile.in	2000/07/21 13:35:38
3
@@ -115,7 +115,7 @@
4
 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
5
 
6
 
7
-mmc_LDADD = $(GNOMEUI_LIBS) $(GNOME_LIBDIR) $(INTLLIBS) -ldb
8
+mmc_LDADD = $(GNOMEUI_LIBS) $(GNOME_LIBDIR) $(INTLLIBS)
9
 
10
 EXTRA_DIST = logo.png
11
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
(-)./files/patch-ac (-19 lines)
Lines 1-19 Link Here
1
2
$FreeBSD: ports/mail/mmc/files/patch-ac,v 1.2 2001/01/25 16:18:17 sobomax Exp $
3
4
--- src/address.h.orig	Sun Jan 14 01:12:18 2001
5
+++ src/address.h	Thu Jan 25 17:46:23 2001
6
@@ -27,11 +27,12 @@
7
 #include<config.h>
8
 #endif
9
 
10
-#include <alloca.h>
11
 #if defined(HAVE_DB1_DB_H)
12
 # include<db1/db.h>
13
 #elif defined(HAVE_DB_185_H)
14
 # include <db_185.h>
15
+#else
16
+# include <db.h>
17
 #endif
18
 #include <errno.h>
19
 #include <fcntl.h>
(-)./files/patch-ad (-10 lines)
Lines 1-10 Link Here
1
--- src/pop3.cc	2000/07/21 13:31:58	1.1
2
+++ src/pop3.cc	2000/07/21 13:32:56
3
@@ -26,6 +26,7 @@
4
  */
5
 
6
 #include <sys/types.h>
7
+#include <sys/socket.h>
8
 #include <sys/stat.h>
9
 #include <netinet/in.h>
10
 #include <arpa/inet.h>
(-)./files/patch-ae (-13 lines)
Lines 1-13 Link Here
1
2
$FreeBSD: ports/mail/mmc/files/patch-ae,v 1.2 2001/01/25 16:18:17 sobomax Exp $
3
4
--- src/smtp.cc.orig	Fri Jan 19 18:06:46 2001
5
+++ src/smtp.cc	Thu Jan 25 17:44:11 2001
6
@@ -23,6 +23,7 @@
7
 #ifdef HAVE_CONFIG_H
8
 # include<config.h>
9
 #endif
10
+#include <sys/types.h>
11
 #include<sys/socket.h>
12
 #include<gnome.h>
13
 
(-)./files/patch-src-Makefile.in (+11 lines)
Line 0 Link Here
1
--- src/Makefile.in	2000/07/21 13:35:12	1.1
2
+++ src/Makefile.in	2000/07/21 13:35:38
3
@@ -115,7 +115,7 @@
4
 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
5
 
6
 
7
-mmc_LDADD = $(GNOMEUI_LIBS) $(GNOME_LIBDIR) $(INTLLIBS) -ldb
8
+mmc_LDADD = $(GNOMEUI_LIBS) $(GNOME_LIBDIR) $(INTLLIBS)
9
 
10
 EXTRA_DIST = logo.png
11
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
(-)./files/patch-src-address.h (+19 lines)
Line 0 Link Here
1
2
$FreeBSD: ports/mail/mmc/files/patch-ac,v 1.2 2001/01/25 16:18:17 sobomax Exp $
3
4
--- src/address.h.orig	Sun Jan 14 01:12:18 2001
5
+++ src/address.h	Thu Jan 25 17:46:23 2001
6
@@ -27,11 +27,12 @@
7
 #include<config.h>
8
 #endif
9
 
10
-#include <alloca.h>
11
 #if defined(HAVE_DB1_DB_H)
12
 # include<db1/db.h>
13
 #elif defined(HAVE_DB_185_H)
14
 # include <db_185.h>
15
+#else
16
+# include <db.h>
17
 #endif
18
 #include <errno.h>
19
 #include <fcntl.h>
(-)./files/patch-src-pop3.cc (+10 lines)
Line 0 Link Here
1
--- src/pop3.cc	2000/07/21 13:31:58	1.1
2
+++ src/pop3.cc	2000/07/21 13:32:56
3
@@ -26,6 +26,7 @@
4
  */
5
 
6
 #include <sys/types.h>
7
+#include <sys/socket.h>
8
 #include <sys/stat.h>
9
 #include <netinet/in.h>
10
 #include <arpa/inet.h>
(-)./files/patch-src-protocols.cc (+11 lines)
Line 0 Link Here
1
--- src/protocols.cc.orig	Sat Jan 20 00:19:56 2001
2
+++ src/protocols.cc	Sat Nov  8 02:07:44 2003
3
@@ -46,6 +46,8 @@
4
 #include "progress.h"
5
 #include "pop3.h"
6
 
7
+using namespace std;
8
+
9
 // TODO: make the following List User-Configurable
10
 gchar const * headers[] = {
11
 				"From:",
(-)./files/patch-src-smtp.cc (+13 lines)
Line 0 Link Here
1
2
$FreeBSD: ports/mail/mmc/files/patch-ae,v 1.2 2001/01/25 16:18:17 sobomax Exp $
3
4
--- src/smtp.cc.orig	Fri Jan 19 18:06:46 2001
5
+++ src/smtp.cc	Thu Jan 25 17:44:11 2001
6
@@ -23,6 +23,7 @@
7
 #ifdef HAVE_CONFIG_H
8
 # include<config.h>
9
 #endif
10
+#include <sys/types.h>
11
 #include<sys/socket.h>
12
 #include<gnome.h>
13
 
(-)./files/patch-src::protocols.cc (-11 lines)
Lines 1-11 Link Here
1
--- src/protocols.cc.orig	Sat Jan 20 00:19:56 2001
2
+++ src/protocols.cc	Sat Nov  8 02:07:44 2003
3
@@ -46,6 +46,8 @@
4
 #include "progress.h"
5
 #include "pop3.h"
6
 
7
+using namespace std;
8
+
9
 // TODO: make the following List User-Configurable
10
 gchar const * headers[] = {
11
 				"From:",
(-)./pkg-plist (-4 lines)
Lines 1-4 Link Here
1
bin/mmc
2
share/gnome/apps/Internet/mmc.desktop
3
share/locale/de/LC_MESSAGES/mmc.mo
4
share/pixmaps/mmc-logo.png

Return to bug 166476