pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mm mail/mm: import package from wip.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6e2f485fe3d
branches:  trunk
changeset: 390054:d6e2f485fe3d
user:      vins <vins%pkgsrc.org@localhost>
date:      Thu Dec 15 12:50:51 2022 +0000

description:
mail/mm: import package from wip.

Columbia MM (Mail Manager) is an interactive, text-mode mail client for
UNIX, based on the TOPS-20 MM program. It is written in C using the CCMD
(TOPS-20 COMND Jsys in C) package developed at Columbia University.

Project is currently hosted and maintained on Kermit Project's FTP
server.

CCMD libraries are built alongside MM and included in the package.

This package uses a stripped-down tarball with all the required files
(+ a couple of fixes) hosted on my account at ftp.NetBSD.org, for
reasons of conveniency.
Interesting docs and historical notes are included too.

diffstat:

 mail/mm/DESCR                  |    8 +
 mail/mm/MESSAGE                |   12 +
 mail/mm/Makefile               |   81 +++++++++
 mail/mm/PLIST                  |  357 +++++++++++++++++++++++++++++++++++++++++
 mail/mm/distinfo               |    6 +
 mail/mm/files/sample-mm-conf   |   23 ++
 mail/mm/patches/patch-Makefile |   76 ++++++++
 7 files changed, 563 insertions(+), 0 deletions(-)

diffs (truncated from 591 to 300 lines):

diff -r 2b25c72c9ead -r d6e2f485fe3d mail/mm/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mm/DESCR     Thu Dec 15 12:50:51 2022 +0000
@@ -0,0 +1,8 @@
+Columbia MM (Mail Manager) is an interactive, text-mode mail client for
+UNIX, based on the TOPS-20 MM program. It is written in C using the CCMD
+(TOPS-20 COMND Jsys in C) package developed at Columbia University.
+
+MM has a lot of  features that appeal to people who deal mainly with
+text and who like to keep their hands on the keyboard and work fast. It
+is noted for its powerful message selection and management features and
+its user-friendly (truly) DEC-20 style command language.
diff -r 2b25c72c9ead -r d6e2f485fe3d mail/mm/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mm/MESSAGE   Thu Dec 15 12:50:51 2022 +0000
@@ -0,0 +1,12 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2022/12/15 12:50:51 vins Exp $
+
+To configure mm, run ${PREFIX}/bin/mm-sysprof to enter the interactive
+setup.
+Then move the generated 'mm.conf' file to ${PREFIX}/pkg/lib/mm.
+Sample configuration files are available at ${PREFIX}/share/examples/mm.
+
+For the Emacs `mmail' mode, load the lisp library file provided as: 
+${PREFIX}/lib/mm/mmail.el. 
+
+===========================================================================
diff -r 2b25c72c9ead -r d6e2f485fe3d mail/mm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mm/Makefile  Thu Dec 15 12:50:51 2022 +0000
@@ -0,0 +1,81 @@
+# $NetBSD: Makefile,v 1.1 2022/12/15 12:50:51 vins Exp $
+
+DISTNAME=      mm-0.96.0.14
+CATEGORIES=    mail
+MASTER_SITES=  ftp://ftp.NetBSD.org/pub/NetBSD/misc/vins/dists/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    vins%NetBSD.org@localhost
+HOMEPAGE=      https://www.kermitproject.org/mm/
+COMMENT=       UNIX reimplementation of the TOPS-20 MM program
+LICENSE=       modified-bsd
+
+USE_TOOLS+=    pax
+
+MAKE_FLAGS+=   OPT=${CFLAGS:Q}
+MAKE_FLAGS+=   LDFLAGS=${LDFLAGS:Q}
+MAKE_FLAGS+=   prefix=${PREFIX}
+MAKE_FLAGS+=   LOCLIB=${DESTDIR}${PREFIX}/lib/mm
+
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_MESSAGE.paths=   Replacing hard-coded paths.
+SUBST_FILES.paths+=    config.h pathnames.h
+SUBST_FILES.paths+=    regex-0.12/configure
+SUBST_SED.paths=       -e 's|/usr/local|${PREFIX}|'
+
+SETUID_ROOT_PERMS=     ${REAL_ROOT_USER} daemon 2551
+SPECIAL_PERMS+=                lib/mm/movemail  ${SETUID_ROOT_PERMS}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS:M*BSD} || ${OPSYS} == Linux
+TARGET:=       ${LOWER_OPSYS}
+.elif ${OPSYS} == Darwin
+TARGET:=       macosx
+.elif ${OPSYS} == SunOS
+.  if ${OPSYS_VERSION} <= 051000
+TARGET:=       solaris10
+.  else
+TARGET:=       solaris-gcc
+.  endif
+.endif
+
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+DOCDIR=        ${PREFIX}/share/doc/${PKGBASE}
+
+INSTALLATION_DIRS+=    bin lib ${EGDIR} ${DOCDOR}
+
+WRKSRC=        ${WRKDIR}/mm/mm
+
+post-extract:
+       ${RUN}${CHMOD} +x ${WRKSRC}/regex-0.12/configure
+
+pre-build:
+       ${RUN}cd ${WRKDIR}/mm/ccmd && ${SETENV} ${MAKE_ENV}     \
+               ${MAKE_PROGRAM} ${MAKE_FLAGS} ${TARGET}
+
+do-build:
+       ${RUN}cd ${WRKSRC} && ${SETENV} ${MAKE_ENV}             \
+               ${MAKE_PROGRAM} ${MAKE_FLAGS} ${TARGET}
+
+pre-install:
+       ${RUN}cd ${WRKDIR}/mm/ccmd && ${SETENV} ${MAKE_ENV}     \
+               ${INSTALL_ENV} ${MAKE_PROGRAM}                  \
+               prefix=${DESTDIR}${PREFIX} install
+
+post-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/sys-prof                   \
+               ${DESTDIR}/${PREFIX}/bin/mm-sysprof
+       ${RUN}cd ${WRKDIR}/mm/docs &&                           \
+               ${PAX} -rw . ${DESTDIR}${DOCDIR}
+.for f in samples/*
+       ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${EGDIR}
+.endfor
+       ${INSTALL_DATA} ${FILESDIR}/sample-mm-conf ${DESTDIR}${EGDIR}
+       #Fix files permissions.
+       ${RUN}${CHMOD} -x ${DESTDIR}${PREFIX}/lib/libccmd.a
+       ${RUN}${CHMOD} g-w ${DESTDIR}${PREFIX}/lib/mm/mmail.el
+
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2b25c72c9ead -r d6e2f485fe3d mail/mm/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mm/PLIST     Thu Dec 15 12:50:51 2022 +0000
@@ -0,0 +1,357 @@
+@comment $NetBSD: PLIST,v 1.1 2022/12/15 12:50:51 vins Exp $
+bin/mm
+bin/mm-sysprof
+bin/mm-trans
+include/ccmd.h
+include/ccmdmd.h
+include/cmfnc.h
+include/cmfncs.h
+include/datime.h
+lib/libccmd.a
+lib/mm/help/READ.DIR/!.HLP
+lib/mm/help/READ.DIR/answer.HLP
+lib/mm/help/READ.DIR/backtrack.HLP
+lib/mm/help/READ.DIR/blank.HLP
+lib/mm/help/READ.DIR/browse.HLP
+lib/mm/help/READ.DIR/bug.HLP
+lib/mm/help/READ.DIR/cd.HLP
+lib/mm/help/READ.DIR/check.HLP
+lib/mm/help/READ.DIR/continue.HLP
+lib/mm/help/READ.DIR/copy.HLP
+lib/mm/help/READ.DIR/create-init.HLP
+lib/mm/help/READ.DIR/daytime.HLP
+lib/mm/help/READ.DIR/define.HLP
+lib/mm/help/READ.DIR/delete.HLP
+lib/mm/help/READ.DIR/echo.HLP
+lib/mm/help/READ.DIR/edit.HLP
+lib/mm/help/READ.DIR/finger.HLP
+lib/mm/help/READ.DIR/flag.HLP
+lib/mm/help/READ.DIR/follow.HLP
+lib/mm/help/READ.DIR/forward.HLP
+lib/mm/help/READ.DIR/headers.HLP
+lib/mm/help/READ.DIR/help.HLP
+lib/mm/help/READ.DIR/jump.HLP
+lib/mm/help/READ.DIR/keyword.HLP
+lib/mm/help/READ.DIR/kill.HLP
+lib/mm/help/READ.DIR/list.HLP
+lib/mm/help/READ.DIR/literal.HLP
+lib/mm/help/READ.DIR/mail.HLP
+lib/mm/help/READ.DIR/mark.HLP
+lib/mm/help/READ.DIR/mm.HLP
+lib/mm/help/READ.DIR/move.HLP
+lib/mm/help/READ.DIR/next.HLP
+lib/mm/help/READ.DIR/previous.HLP
+lib/mm/help/READ.DIR/print.HLP
+lib/mm/help/READ.DIR/profile.HLP
+lib/mm/help/READ.DIR/push.HLP
+lib/mm/help/READ.DIR/pwd.HLP
+lib/mm/help/READ.DIR/quit.HLP
+lib/mm/help/READ.DIR/remail.HLP
+lib/mm/help/READ.DIR/reply.HLP
+lib/mm/help/READ.DIR/restore-draft.HLP
+lib/mm/help/READ.DIR/route.HLP
+lib/mm/help/READ.DIR/save-init.HLP
+lib/mm/help/READ.DIR/send.HLP
+lib/mm/help/READ.DIR/set.HLP
+lib/mm/help/READ.DIR/show.HLP
+lib/mm/help/READ.DIR/spell.HLP
+lib/mm/help/READ.DIR/status.HLP
+lib/mm/help/READ.DIR/suspend.HLP
+lib/mm/help/READ.DIR/take.HLP
+lib/mm/help/READ.DIR/type.HLP
+lib/mm/help/READ.DIR/unanswer.HLP
+lib/mm/help/READ.DIR/undelete.HLP
+lib/mm/help/READ.DIR/unflag.HLP
+lib/mm/help/READ.DIR/unkeyword.HLP
+lib/mm/help/READ.DIR/unmark.HLP
+lib/mm/help/READ.DIR/version.HLP
+lib/mm/help/READ.DIR/who.HLP
+lib/mm/help/READ.DIR/write.HLP
+lib/mm/help/READ.DIR/z.HLP
+lib/mm/help/SEND.DIR/!.HLP
+lib/mm/help/SEND.DIR/bcc.HLP
+lib/mm/help/SEND.DIR/blank.HLP
+lib/mm/help/SEND.DIR/cc.HLP
+lib/mm/help/SEND.DIR/cd.HLP
+lib/mm/help/SEND.DIR/check.HLP
+lib/mm/help/SEND.DIR/copy.HLP
+lib/mm/help/SEND.DIR/create-init.HLP
+lib/mm/help/SEND.DIR/daytime.HLP
+lib/mm/help/SEND.DIR/define.HLP
+lib/mm/help/SEND.DIR/display.HLP
+lib/mm/help/SEND.DIR/echo.HLP
+lib/mm/help/SEND.DIR/edit.HLP
+lib/mm/help/SEND.DIR/erase.HLP
+lib/mm/help/SEND.DIR/fcc.HLP
+lib/mm/help/SEND.DIR/finger.HLP
+lib/mm/help/SEND.DIR/flag.HLP
+lib/mm/help/SEND.DIR/from.HLP
+lib/mm/help/SEND.DIR/headers.HLP
+lib/mm/help/SEND.DIR/help.HLP
+lib/mm/help/SEND.DIR/in-reply-to.HLP
+lib/mm/help/SEND.DIR/insert.HLP
+lib/mm/help/SEND.DIR/keyword.HLP
+lib/mm/help/SEND.DIR/list.HLP
+lib/mm/help/SEND.DIR/literal.HLP
+lib/mm/help/SEND.DIR/mark.HLP
+lib/mm/help/SEND.DIR/mm.HLP
+lib/mm/help/SEND.DIR/move.HLP
+lib/mm/help/SEND.DIR/print.HLP
+lib/mm/help/SEND.DIR/profile.HLP
+lib/mm/help/SEND.DIR/push.HLP
+lib/mm/help/SEND.DIR/pwd.HLP
+lib/mm/help/SEND.DIR/quit.HLP
+lib/mm/help/SEND.DIR/remove.HLP
+lib/mm/help/SEND.DIR/reply-to.HLP
+lib/mm/help/SEND.DIR/route.HLP
+lib/mm/help/SEND.DIR/save-draft.HLP
+lib/mm/help/SEND.DIR/save-init.HLP
+lib/mm/help/SEND.DIR/send.HLP
+lib/mm/help/SEND.DIR/set.HLP
+lib/mm/help/SEND.DIR/show.HLP
+lib/mm/help/SEND.DIR/spell.HLP
+lib/mm/help/SEND.DIR/status.HLP
+lib/mm/help/SEND.DIR/subject.HLP
+lib/mm/help/SEND.DIR/suspend.HLP
+lib/mm/help/SEND.DIR/take.HLP
+lib/mm/help/SEND.DIR/text.HLP
+lib/mm/help/SEND.DIR/to.HLP
+lib/mm/help/SEND.DIR/type.HLP
+lib/mm/help/SEND.DIR/unanswer.HLP
+lib/mm/help/SEND.DIR/unflag.HLP
+lib/mm/help/SEND.DIR/unkeyword.HLP
+lib/mm/help/SEND.DIR/unmark.HLP
+lib/mm/help/SEND.DIR/user-header.HLP
+lib/mm/help/SEND.DIR/version.HLP
+lib/mm/help/SEND.DIR/who.HLP
+lib/mm/help/SEND.DIR/write.HLP
+lib/mm/help/SEND.DIR/z.HLP
+lib/mm/help/TOP.DIR/!.HLP
+lib/mm/help/TOP.DIR/alias.HLP
+lib/mm/help/TOP.DIR/answer.HLP
+lib/mm/help/TOP.DIR/backtrack.HLP
+lib/mm/help/TOP.DIR/blank.HLP
+lib/mm/help/TOP.DIR/browse.HLP
+lib/mm/help/TOP.DIR/bug.HLP
+lib/mm/help/TOP.DIR/bye.HLP
+lib/mm/help/TOP.DIR/cd.HLP
+lib/mm/help/TOP.DIR/check.HLP
+lib/mm/help/TOP.DIR/continue.HLP
+lib/mm/help/TOP.DIR/copy.HLP
+lib/mm/help/TOP.DIR/count.HLP
+lib/mm/help/TOP.DIR/create-init.HLP
+lib/mm/help/TOP.DIR/daytime.HLP
+lib/mm/help/TOP.DIR/define.HLP
+lib/mm/help/TOP.DIR/delete.HLP
+lib/mm/help/TOP.DIR/echo.HLP
+lib/mm/help/TOP.DIR/edit.HLP
+lib/mm/help/TOP.DIR/examine.HLP
+lib/mm/help/TOP.DIR/exit.HLP
+lib/mm/help/TOP.DIR/expunge.HLP
+lib/mm/help/TOP.DIR/finger.HLP
+lib/mm/help/TOP.DIR/flag.HLP
+lib/mm/help/TOP.DIR/follow.HLP
+lib/mm/help/TOP.DIR/forward.HLP
+lib/mm/help/TOP.DIR/get.HLP
+lib/mm/help/TOP.DIR/headers.HLP
+lib/mm/help/TOP.DIR/help.HLP
+lib/mm/help/TOP.DIR/jump.HLP
+lib/mm/help/TOP.DIR/keyword.HLP
+lib/mm/help/TOP.DIR/list.HLP
+lib/mm/help/TOP.DIR/literal.HLP
+lib/mm/help/TOP.DIR/mail.HLP
+lib/mm/help/TOP.DIR/mark.HLP
+lib/mm/help/TOP.DIR/mm.HLP
+lib/mm/help/TOP.DIR/move.HLP
+lib/mm/help/TOP.DIR/next.HLP
+lib/mm/help/TOP.DIR/previous.HLP
+lib/mm/help/TOP.DIR/print.HLP
+lib/mm/help/TOP.DIR/profile.HLP
+lib/mm/help/TOP.DIR/push.HLP
+lib/mm/help/TOP.DIR/pwd.HLP
+lib/mm/help/TOP.DIR/quit.HLP
+lib/mm/help/TOP.DIR/read.HLP
+lib/mm/help/TOP.DIR/remail.HLP
+lib/mm/help/TOP.DIR/reply.HLP
+lib/mm/help/TOP.DIR/restore-draft.HLP
+lib/mm/help/TOP.DIR/review.HLP
+lib/mm/help/TOP.DIR/route.HLP
+lib/mm/help/TOP.DIR/save-init.HLP
+lib/mm/help/TOP.DIR/send.HLP
+lib/mm/help/TOP.DIR/set.HLP
+lib/mm/help/TOP.DIR/shell.HLP
+lib/mm/help/TOP.DIR/show.HLP



Home | Main Index | Thread Index | Old Index