aboutsummaryrefslogtreecommitdiffstats
path: root/mail/elmo
diff options
context:
space:
mode:
Diffstat (limited to 'mail/elmo')
-rw-r--r--mail/elmo/Makefile59
-rw-r--r--mail/elmo/distinfo1
-rw-r--r--mail/elmo/pkg-descr9
-rw-r--r--mail/elmo/pkg-message2
4 files changed, 71 insertions, 0 deletions
diff --git a/mail/elmo/Makefile b/mail/elmo/Makefile
new file mode 100644
index 000000000000..2fc8fd74dfe3
--- /dev/null
+++ b/mail/elmo/Makefile
@@ -0,0 +1,59 @@
+# New ports collection makefile for: elmo
+# Date created: 2003-09-27
+# Whom: trevor
+#
+# $FreeBSD$
+#
+
+PORTNAME= elmo
+PORTVERSION= 0.8.3
+CATEGORIES= mail
+MASTER_SITES= \
+ http://savannah.nongnu.org/download/elmo/unstable.pkg/${PORTVERSION}/
+
+MAINTAINER= trevor@FreeBSD.org
+COMMENT= Receive, filter, read, compose and send mail at the text console
+
+LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
+ intl.4:${PORTSDIR}/devel/gettext
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= CFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
+MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
+MAN1= elmo.1 elmoconf.pl.1
+PLIST= ${WRKDIR}/pkg-plist
+
+pre-extract:
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD} sleeping ten seconds--press control-C to cancel build
+ @${ECHO_CMD} 
+ @sleep 10
+
+pre-install:
+ ${ECHO_CMD} @unexec install-info --delete %D/info/elmo.info %D/info/dir\
+ > ${PLIST}
+ ${ECHO_CMD} @exec install-info --info-dir=%D/info %D/info/elmo.info \
+ >> ${PLIST}
+ ${ECHO_CMD} info/elmo.info >> ${PLIST}
+.for ii in elmo elmoconf.pl
+ ${ECHO_CMD} bin/${ii} >> ${PLIST}
+.endfor
+.for ii in de pl
+ ${ECHO_CMD} share/locale/${ii}/LC_MESSAGES/elmo.mo >> ${PLIST}
+.endfor
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/elmo ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/elmoconf.pl ${PREFIX}/bin/
+.for ii in ${MAN1}
+ ${INSTALL_MAN} ${WRKSRC}/doc/${ii} ${MANPREFIX}/man/man1
+.endfor
+.for ii in de pl
+ ${INSTALL_DATA} ${WRKSRC}/po/${ii}.gmo \
+ ${PREFIX}/share/locale/${ii}/LC_MESSAGES/elmo.mo
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/doc/elmo.info ${PREFIX}/info/
+ - install-info --info-dir=${PREFIX}/info ${PREFIX}/info/elmo.info
+
+.include <bsd.port.mk>
diff --git a/mail/elmo/distinfo b/mail/elmo/distinfo
new file mode 100644
index 000000000000..b2c0cb603d6f
--- /dev/null
+++ b/mail/elmo/distinfo
@@ -0,0 +1 @@
+MD5 (elmo-0.8.3.tar.gz) = a7837950dbb4ffcc5ec7fea15150c525
diff --git a/mail/elmo/pkg-descr b/mail/elmo/pkg-descr
new file mode 100644
index 000000000000..a03177b4e2ff
--- /dev/null
+++ b/mail/elmo/pkg-descr
@@ -0,0 +1,9 @@
+Elmo (ELectronic Mail Operator) is an ncurses-based program for
+receiving, filtering, reading, composing, and sending mail from a
+character terminal. It speaks POP3 and SMTP and can work with
+maildir or Berkeley-formatted mailboxes.
+
+Before running elmo, users should run elmoconf.pl to generate an
+~/.elmorc file.
+
+WWW: http://elmo.sourceforge.net/
diff --git a/mail/elmo/pkg-message b/mail/elmo/pkg-message
new file mode 100644
index 000000000000..4251ec07b065
--- /dev/null
+++ b/mail/elmo/pkg-message
@@ -0,0 +1,2 @@
+* WARNING:
+* the source code of elmo has not been reviewed by the FreeBSD port maintainer.