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

(-)mail/bbmail/Makefile (-8 / +5 lines)
Lines 7-13 Link Here
7
MASTER_SITES=	SF/bbtools/${PORTNAME}/${PORTNAME}-${PORTVERSION}
7
MASTER_SITES=	SF/bbtools/${PORTNAME}/${PORTNAME}-${PORTVERSION}
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
10
COMMENT=	A tool intended for Blackbox that checks for new mail
10
COMMENT=	Tool intended for Blackbox that checks for new mail
11
12
LICENSE=	GPLv2 # (or later)
11
13
12
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/libbt.pc:${PORTSDIR}/x11-wm/blackbox
14
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/libbt.pc:${PORTSDIR}/x11-wm/blackbox
13
15
Lines 15-26 Link Here
15
USE_XORG=	xext
17
USE_XORG=	xext
16
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
17
19
18
MAN1=		bbmail.1
20
PLIST_FILES=	bin/bbmail man/man1/bbmail.1.gz share/bbtools/bbmail.rc
19
PLIST_FILES=	bin/bbmail share/bbtools/bbmail.rc
21
PLIST_DIRSTRY=	share/bbtools
20
21
NO_STAGE=	yes
22
post-install:
23
	@${ECHO_CMD} "@unexec rmdir %D/share/bbtools 2>/dev/null || true" \
24
		>> ${TMPPLIST}
25
22
26
.include <bsd.port.mk>
23
.include <bsd.port.mk>
(-)mail/bbmail/files/patch-src__bbmail.cpp (+18 lines)
Line 0 Link Here
1
--- src/bbmail.cpp.orig
2
+++ src/bbmail.cpp
3
@@ -22,13 +22,14 @@
4
 #include "bbmail.h"
5
 #include "config.h"
6
 #include <string>
7
+#include <cstdlib>
8
+#include <cmath>
9
 
10
 extern "C" {
11
 #include <utime.h>
12
 #include <dirent.h>
13
 #include <X11/cursorfont.h>
14
 #include <sys/stat.h>
15
-#include <math.h>
16
 }
17
 
18
 #include "EWMH.hh"
(-)mail/bbmail/files/patch-src__mailboxmenu.cpp (+10 lines)
Line 0 Link Here
1
--- src/mailboxmenu.cpp.orig
2
+++ src/mailboxmenu.cpp
3
@@ -20,6 +20,7 @@
4
 //
5
 //
6
 #include "mailboxmenu.h"
7
+#include <cstdlib>
8
 
9
 MailboxMenu::MailboxMenu(ToolWindow *toolwindow) :
10
         Menu(*toolwindow, toolwindow->getCurrentScreen()), bbtool(toolwindow)
(-)mail/bbmail/files/patch-src__main.cpp (+10 lines)
Line 0 Link Here
1
--- src/main.cpp.orig
2
+++ src/main.cpp
3
@@ -22,6 +22,7 @@
4
 #include "bbmail.h"
5
 #include "main.h"
6
 #include "config.h"
7
+#include <cstdlib>
8
 
9
 Configuration::Configuration(int iargc, char **iargv)
10
 {
(-)mail/bbmail/files/patch-src__resource.cpp (+10 lines)
Line 0 Link Here
1
--- src/resource.cpp.orig
2
+++ src/resource.cpp
3
@@ -22,6 +22,7 @@
4
 #include "bbmail.h"
5
 #include "resource.h"
6
 #include "blackboxstyle.h"
7
+#include <cstdlib>
8
 
9
 Resource::Resource(ToolWindow *toolwindow, const std::string &rc_file):
10
 		BaseResource(*toolwindow, toolwindow->getCurrentScreen(), rc_file),

Return to bug 185335