pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import multimail 0.51 as wip/multimail.
Module Name: pkgsrc-wip
Committed By: Frederic Cambus <fred%statdns.com@localhost>
Pushed By: fcambus
Date: Fri Jan 25 15:20:42 2019 +0100
Changeset: ae9a7c470439a891baac07db3a3df7cb15dc23de
Added Files:
multimail/DESCR
multimail/Makefile
multimail/PLIST
multimail/distinfo
multimail/patches/patch-Makefile
Log Message:
Import multimail 0.51 as wip/multimail.
MultiMail is an offline mail packet reader, supporting the Blue Wave,
QWK, OMEN, SOUP and OPX formats. It uses a simple curses-based
interface.
SOUP is used for Internet email and Usenet. The other formats are
primarily used with dialup (or telnet) BBSes, to save connect time and
to provide a better interface to the message base.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ae9a7c470439a891baac07db3a3df7cb15dc23de
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
multimail/DESCR | 7 ++++++
multimail/Makefile | 19 ++++++++++++++++
multimail/PLIST | 4 ++++
multimail/distinfo | 7 ++++++
multimail/patches/patch-Makefile | 48 ++++++++++++++++++++++++++++++++++++++++
5 files changed, 85 insertions(+)
diffs:
diff --git a/multimail/DESCR b/multimail/DESCR
new file mode 100644
index 0000000000..f13a5f41f5
--- /dev/null
+++ b/multimail/DESCR
@@ -0,0 +1,7 @@
+MultiMail is an offline mail packet reader, supporting the Blue Wave,
+QWK, OMEN, SOUP and OPX formats. It uses a simple curses-based
+interface.
+
+SOUP is used for Internet email and Usenet. The other formats are
+primarily used with dialup (or telnet) BBSes, to save connect time and
+to provide a better interface to the message base.
diff --git a/multimail/Makefile b/multimail/Makefile
new file mode 100644
index 0000000000..926f172edd
--- /dev/null
+++ b/multimail/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME= mmail-0.51
+CATEGORIES= news
+MASTER_SITES= https://downloads.sourceforge.net/project/multimail/MultiMail/0.51/
+
+MAINTAINER= fred%statdns.com@localhost
+HOMEPAGE= https://multimail.sourceforge.io/
+COMMENT= Offline mail reader for Blue Wave, QWK, OMEN, SOUP and OPX
+LICENSE= gnu-gpl-v3
+
+USE_LANGUAGES= c++
+USE_TOOLS+= gmake
+
+AUTO_MKDIRS= yes
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
+.include "../../devel/ncursesw/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimail/PLIST b/multimail/PLIST
new file mode 100644
index 0000000000..176826c73d
--- /dev/null
+++ b/multimail/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/mm
+man/man1/mm.1
+man/man1/mmail.1
diff --git a/multimail/distinfo b/multimail/distinfo
new file mode 100644
index 0000000000..d2fd9284e0
--- /dev/null
+++ b/multimail/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (mmail-0.51.tar.gz) = eb16f372af41079da17b9f792008e90a5086ff24
+RMD160 (mmail-0.51.tar.gz) = d64e3c31e48f32ac25e5922bf3fe48fdcd23d01d
+SHA512 (mmail-0.51.tar.gz) = 8a7e0f450c204b927e9a01461abc51f5cd278d26d9110efc919dbe04d1b4c90c39dbd71f3ed5db186184070d5d25dcdc3cb1322edcc75dbd6117ecb400666072
+Size (mmail-0.51.tar.gz) = 220574 bytes
+SHA1 (patch-Makefile) = 69c9263c3ab799e155483aeade79573ae55cd758
diff --git a/multimail/patches/patch-Makefile b/multimail/patches/patch-Makefile
new file mode 100644
index 0000000000..73322e8e2c
--- /dev/null
+++ b/multimail/patches/patch-Makefile
@@ -0,0 +1,48 @@
+$NetBSD$
+
+Link against ncursesw and adapt install target for pkgsrc.
+
+--- Makefile.orig 2018-03-29 09:26:02.000000000 +0000
++++ Makefile
+@@ -18,7 +18,8 @@ endif
+ # PREFIX is the base directory under which to install the binary and man
+ # page; generally either /usr/local or /usr (or perhaps /opt...).
+
+-PREFIX = /usr/local
++DESTDIR ?=
++PREFIX ?= /usr/local
+
+ #--------------------------------------------------------------
+ # Defaults are for the standard curses setup:
+@@ -41,7 +42,7 @@ ifeq ($(OS),Windows_NT)
+ else
+ CURS_DIR = .
+ CURS_LIB = .
+- LIBS = -lcurses
++ LIBS = -lncursesw
+ RM = rm -f
+ SEP = ;
+ E =
+@@ -101,7 +102,7 @@ $(IOBJS) : %.o: $(isrc)/%.cc
+ $(CXX) $(CPPFLAGS) -c $<
+
+ mm$(E): $(MOBJS) $(IOBJS)
+- $(CXX) -o mm$(E) $(MOBJS) $(IOBJS) -L$(CURS_LIB) $(LIBS)
++ $(CXX) -o mm$(E) $(MOBJS) $(IOBJS) -L$(CURS_LIB) $(LIBS) $(LDFLAGS)
+ $(POST)
+
+ dep:
+@@ -113,9 +114,9 @@ clean:
+ $(RM) mm$(E)
+
+ install::
+- install -c -s mm $(PREFIX)/bin
+- install -c -m 644 mm.1 $(HELPDIR)
+- $(RM) $(HELPDIR)/mmail.1
+- ln $(HELPDIR)/mm.1 $(HELPDIR)/mmail.1
++ install -c -s mm $(DESTDIR)$(PREFIX)/bin
++ install -c -m 644 mm.1 $(DESTDIR)$(HELPDIR)
++ $(RM) $(DESTDIR)$(HELPDIR)/mmail.1
++ ln $(HELPDIR)/mm.1 $(DESTDIR)$(HELPDIR)/mmail.1
+
+ include depend
Home |
Main Index |
Thread Index |
Old Index