Below diff updates lumail to the recently released 0.08. A patch was
removed so apply with -E. Also fixed 2 typos in the DESCR. Tested on
amd64. oks?

-- 
James Turner
Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/lumail/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile    31 May 2013 19:08:15 -0000      1.3
+++ Makefile    7 Jun 2013 00:23:53 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =              console-based e-mail client with Lua scripting support
 
-DISTNAME =             lumail-0.07
+DISTNAME =             lumail-0.08
 CATEGORIES =           mail
 
 MAINTAINER =           James Turner <ja...@calminferno.net>
@@ -33,7 +33,7 @@ post-extract:
        @rm -f ${WRKSRC}/.depend
 
 do-test:
-       @cd ${WRKSRC}/tests && ${MAKE} test
+       @cd ${WRKSRC}/tests && env -i ${MAKE_ENV} ${MAKE_PROGRAM} test
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/lumail ${PREFIX}/bin
Index: distinfo
===================================================================
RCS file: /cvs/ports/mail/lumail/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo    31 May 2013 15:20:21 -0000      1.1.1.1
+++ distinfo    7 Jun 2013 00:23:53 -0000
@@ -1,2 +1,2 @@
-SHA256 (lumail-0.07.tar.gz) = O9NmCFfrzoGw81zLn4LRbnDoIwdqTs5nrVe2qc9ziCU=
-SIZE (lumail-0.07.tar.gz) = 71472
+SHA256 (lumail-0.08.tar.gz) = SAXs8zKZ/7vAkyD0AD2nSCobCiO2/8GDJyXbIoX3AEo=
+SIZE (lumail-0.08.tar.gz) = 75616
Index: patches/patch-Makefile
===================================================================
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- patches/patch-Makefile      31 May 2013 15:20:22 -0000      1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-$OpenBSD: patch-Makefile,v 1.1.1.1 2013/05/31 15:20:22 jturner Exp $
---- Makefile.orig      Fri May 31 09:40:39 2013
-+++ Makefile   Fri May 31 09:40:49 2013
-@@ -25,8 +25,8 @@ TARGET=lumail
- #
- # NOTE: We use "-std=gnu++0x" so we can use "unordered_map".
- #
--CPPFLAGS=-std=gnu++0x -g -Wall -Werror $(shell pkg-config --cflags lua5.1)
--LDLIBS=$(shell pkg-config --libs lua5.1) -lcurses -lmimetic
-+CPPFLAGS?=-std=gnu++0x -g -Wall -Werror $(shell pkg-config --cflags lua5.1)
-+LDLIBS?=$(shell pkg-config --libs lua5.1) -lcurses -lmimetic
- 
- 
- #
Index: patches/patch-lumail_lua
===================================================================
RCS file: /cvs/ports/mail/lumail/patches/patch-lumail_lua,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-lumail_lua
--- patches/patch-lumail_lua    31 May 2013 15:20:22 -0000      1.1.1.1
+++ patches/patch-lumail_lua    7 Jun 2013 00:23:53 -0000
@@ -1,15 +1,32 @@
 $OpenBSD: patch-lumail_lua,v 1.1.1.1 2013/05/31 15:20:22 jturner Exp $
---- lumail.lua.orig    Fri May 31 05:10:57 2013
-+++ lumail.lua Fri May 31 09:40:00 2013
-@@ -54,6 +54,11 @@ sent_mail( maildir_prefix() .. "/sent-mail" );
- default_email = "Steve Kemp <st...@steve.org.uk>";
- from( default_email );
+--- lumail.lua.orig    Thu Jun  6 00:05:56 2013
++++ lumail.lua Thu Jun  6 20:23:15 2013
+@@ -66,13 +66,20 @@ from( default_email );
  
-+--
+ 
+ --
 +-- Set the path to the binary that will actually deliver
 +-- outgoing email.
 +--
 +sendmail_path( "/usr/sbin/sendmail -t" );
++
++
++--
+ -- Specify the editor to use for composing/replying to email messages.
+ --
+ -- If this isn't set lumail will default to using the value of the
+ -- environmental variable "EDITOR", and if that is unset it will use
+ -- "vim".
+ --
+-editor( "/usr/bin/vim" )
++editor( "/usr/bin/vi" )
+ 
  
  --
- -- Show all folders by default
+@@ -616,4 +623,4 @@ function mark_machines_read()
+          mark_all_read();
+       end
+    end
+-end
+\ No newline at end of file
++end
Index: patches/patch-tests_Makefile
===================================================================
RCS file: /cvs/ports/mail/lumail/patches/patch-tests_Makefile,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-tests_Makefile
--- patches/patch-tests_Makefile        31 May 2013 19:08:15 -0000      1.1
+++ patches/patch-tests_Makefile        7 Jun 2013 00:23:53 -0000
@@ -1,14 +1,14 @@
 $OpenBSD: patch-tests_Makefile,v 1.1 2013/05/31 19:08:15 jturner Exp $
---- tests/Makefile.orig        Fri May 31 12:57:26 2013
-+++ tests/Makefile     Fri May 31 12:57:40 2013
+--- tests/Makefile.orig        Thu Jun  6 00:05:56 2013
++++ tests/Makefile     Thu Jun  6 20:23:05 2013
 @@ -30,7 +30,7 @@ clean:
  #
  
  file_tests: file_tests.cpp ../file.cc
--      g++ -I.. -o file_tests ../file.cc file_tests.cpp
-+      $(CXX) -I.. -o file_tests ../file.cc file_tests.cpp
+-      g++ -std=gnu++0x -I.. -o file_tests ../file.cc file_tests.cpp
++      ${CXX} -std=gnu++0x -I.. -o file_tests ../file.cc file_tests.cpp
  
  history_tests: history_tests.cpp ../history.cc
--      g++ -I.. -o history_tests ../history.cc history_tests.cpp
+-      g++ -std=gnu++0x -I.. -o history_tests ../history.cc history_tests.cpp
 \ No newline at end of file
-+      $(CXX) -I.. -o history_tests ../history.cc history_tests.cpp
++      ${CXX} -std=gnu++0x -I.. -o history_tests ../history.cc 
history_tests.cpp
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/mail/lumail/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   31 May 2013 15:20:21 -0000      1.1.1.1
+++ pkg/DESCR   7 Jun 2013 00:23:54 -0000
@@ -1,5 +1,5 @@
-lumail is a modern console-base e-mail client. It operates exclusively
-on Maildir hierarchies, there is no support for POP3 or IMAP. luamail
-has built in Lua scripting support. Its configuration is done in Lua
-and there are a number of useful primitives you can use to control its
+lumail is a modern console-based e-mail client. It operates exclusively
+on Maildir hierarchies, there is no support for POP3 or IMAP. lumail has
+built in Lua scripting support. Its configuration is done in Lua and
+there are a number of useful primitives you can use to control its
 behavior and functionality.

Reply via email to