svn commit: r340256 - in head/mail/bbmail: . files
Martin Wilke
miwi at FreeBSD.org
Sun Jan 19 09:27:42 UTC 2014
Author: miwi
Date: Sun Jan 19 09:27:40 2014
New Revision: 340256
URL: http://svnweb.freebsd.org/changeset/ports/340256
QAT: https://qat.redports.org/buildarchive/r340256/
Log:
- Fix build
- Add License
PR: 185335
Submitted by: ports fury
Added:
head/mail/bbmail/files/
head/mail/bbmail/files/patch-src__bbmail.cpp (contents, props changed)
head/mail/bbmail/files/patch-src__mailboxmenu.cpp (contents, props changed)
head/mail/bbmail/files/patch-src__main.cpp (contents, props changed)
head/mail/bbmail/files/patch-src__resource.cpp (contents, props changed)
Modified:
head/mail/bbmail/Makefile (contents, props changed)
Modified: head/mail/bbmail/Makefile
==============================================================================
--- head/mail/bbmail/Makefile Sun Jan 19 09:27:22 2014 (r340255)
+++ head/mail/bbmail/Makefile Sun Jan 19 09:27:40 2014 (r340256)
@@ -7,7 +7,9 @@ CATEGORIES= mail
MASTER_SITES= SF/bbtools/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
-COMMENT= A tool intended for Blackbox that checks for new mail
+COMMENT= Tool intended for Blackbox that checks for new mail
+
+LICENSE= GPLv2 # (or later)
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libbt.pc:${PORTSDIR}/x11-wm/blackbox
@@ -15,12 +17,7 @@ USES= pkgconfig
USE_XORG= xext
GNU_CONFIGURE= yes
-MAN1= bbmail.1
-PLIST_FILES= bin/bbmail share/bbtools/bbmail.rc
-
-NO_STAGE= yes
-post-install:
- @${ECHO_CMD} "@unexec rmdir %D/share/bbtools 2>/dev/null || true" \
- >> ${TMPPLIST}
+PLIST_FILES= bin/bbmail man/man1/bbmail.1.gz share/bbtools/bbmail.rc
+PLIST_DIRSTRY= share/bbtools
.include <bsd.port.mk>
Added: head/mail/bbmail/files/patch-src__bbmail.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/bbmail/files/patch-src__bbmail.cpp Sun Jan 19 09:27:40 2014 (r340256)
@@ -0,0 +1,18 @@
+--- src/bbmail.cpp.orig
++++ src/bbmail.cpp
+@@ -22,13 +22,14 @@
+ #include "bbmail.h"
+ #include "config.h"
+ #include <string>
++#include <cstdlib>
++#include <cmath>
+
+ extern "C" {
+ #include <utime.h>
+ #include <dirent.h>
+ #include <X11/cursorfont.h>
+ #include <sys/stat.h>
+-#include <math.h>
+ }
+
+ #include "EWMH.hh"
Added: head/mail/bbmail/files/patch-src__mailboxmenu.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/bbmail/files/patch-src__mailboxmenu.cpp Sun Jan 19 09:27:40 2014 (r340256)
@@ -0,0 +1,10 @@
+--- src/mailboxmenu.cpp.orig
++++ src/mailboxmenu.cpp
+@@ -20,6 +20,7 @@
+ //
+ //
+ #include "mailboxmenu.h"
++#include <cstdlib>
+
+ MailboxMenu::MailboxMenu(ToolWindow *toolwindow) :
+ Menu(*toolwindow, toolwindow->getCurrentScreen()), bbtool(toolwindow)
Added: head/mail/bbmail/files/patch-src__main.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/bbmail/files/patch-src__main.cpp Sun Jan 19 09:27:40 2014 (r340256)
@@ -0,0 +1,10 @@
+--- src/main.cpp.orig
++++ src/main.cpp
+@@ -22,6 +22,7 @@
+ #include "bbmail.h"
+ #include "main.h"
+ #include "config.h"
++#include <cstdlib>
+
+ Configuration::Configuration(int iargc, char **iargv)
+ {
Added: head/mail/bbmail/files/patch-src__resource.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/bbmail/files/patch-src__resource.cpp Sun Jan 19 09:27:40 2014 (r340256)
@@ -0,0 +1,10 @@
+--- src/resource.cpp.orig
++++ src/resource.cpp
+@@ -22,6 +22,7 @@
+ #include "bbmail.h"
+ #include "resource.h"
+ #include "blackboxstyle.h"
++#include <cstdlib>
+
+ Resource::Resource(ToolWindow *toolwindow, const std::string &rc_file):
+ BaseResource(*toolwindow, toolwindow->getCurrentScreen(), rc_file),
More information about the svn-ports-all
mailing list