summaryrefslogtreecommitdiff
path: root/mail/elm
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>1998-01-23 12:19:45 +0000
committerbouyer <bouyer@pkgsrc.org>1998-01-23 12:19:45 +0000
commitc82adae82eb7cc72f694504b0802d2e9ee85b971 (patch)
tree02450b42a16a9d47cae4540e89894aa8633bc2a0 /mail/elm
parent71c9ef3d2b9b58436fb919ef2637a4b8961896c8 (diff)
downloadpkgsrc-c82adae82eb7cc72f694504b0802d2e9ee85b971.tar.gz
Import from FreeBSD ports
Diffstat (limited to 'mail/elm')
-rw-r--r--mail/elm/Makefile37
-rw-r--r--mail/elm/files/elm.mimetypes98
-rw-r--r--mail/elm/files/md51
-rw-r--r--mail/elm/patches/patch-ab49
-rw-r--r--mail/elm/patches/patch-ac36
-rw-r--r--mail/elm/pkg/COMMENT1
-rw-r--r--mail/elm/pkg/DESCR2
-rw-r--r--mail/elm/pkg/PLIST36
-rw-r--r--mail/elm/scripts/pre-configure312
9 files changed, 572 insertions, 0 deletions
diff --git a/mail/elm/Makefile b/mail/elm/Makefile
new file mode 100644
index 00000000000..7cd9886d6a4
--- /dev/null
+++ b/mail/elm/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: elm
+# See also: http://www.ozone.fmi.fi/KEH/
+# Version required: 2.4.25.ME+32
+# Date created: 26 June 1995
+# Whom: ache
+#
+# $Id: Makefile,v 1.1.1.1 1998/01/23 12:19:45 bouyer Exp $
+#
+
+DISTNAME= elm-2.4ME+32
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.ozone.fmi.fi/KEH/ \
+ ftp://ftp.funet.fi/pub/unix/mail/elm/elm-2.4ME+/ \
+ ftp://ftp.ibp.fr/pub/unix/mail/elm-me/
+
+MAINTAINER= ache@FreeBSD.ORG
+
+WRKSRC= ${WRKDIR}/elm2.4.ME+.32
+MAN1= answer.1 checkalias.1 elm.1 elmalias.1 fastmail.1 \
+ listalias.1 messages.1 newalias.1 printmail.1 readmsg.1
+
+HAS_CONFIGURE= Yes
+CONFIGURE_SCRIPT= Configure
+CONFIGURE_ENV= PREFIX="${PREFIX}"
+CONFIGURE_ARGS= -S
+
+post-install:
+ cd ${WRKSRC}/nls; ${MAKE} install
+ if [ -f ${PREFIX}/lib/elm.mimetypes ] ; then \
+ ${INSTALL_DATA} \
+ ${FILESDIR}/elm.mimetypes ${PREFIX}/lib/elm.mimetypes-dist; \
+ else \
+ ${INSTALL_DATA} \
+ ${FILESDIR}/elm.mimetypes ${PREFIX}/lib; \
+ fi
+
+.include <bsd.port.mk>
diff --git a/mail/elm/files/elm.mimetypes b/mail/elm/files/elm.mimetypes
new file mode 100644
index 00000000000..f121812d6ec
--- /dev/null
+++ b/mail/elm/files/elm.mimetypes
@@ -0,0 +1,98 @@
+# application/activemessage
+# application/andrew-inset
+# application/applefile
+# application/atomicmail
+# application/dca-rft
+# application/dec-dx
+# application/mac-binhex40
+# application/macwriteii
+doc application/msword
+# application/news-message-id
+# application/news-transmission
+bin application/octet-stream
+exe application/octet-stream
+oda application/oda
+pdf application/pdf
+ai application/postscript
+eps application/postscript
+ps application/postscript
+# application/remote-printing
+rtf application/rtf
+# application/slate
+mif application/x-mif
+# application/wita
+# application/wordperfect5.1
+csh application/x-csh
+dvi application/x-dvi
+gz application/x-gzip
+hdf application/x-hdf
+latex application/x-latex
+nc application/x-netcdf
+cdf application/x-netcdf
+sh application/x-sh
+tcl application/x-tcl
+tex application/x-tex
+texi application/x-texinfo
+texinfo application/x-texinfo
+t application/x-troff
+tr application/x-troff
+roff application/x-troff
+man application/x-troff-man
+me application/x-troff-me
+ms application/x-troff-ms
+src application/x-wais-source
+zip application/zip
+bcpio application/x-bcpio
+cpio application/x-cpio
+tgz application/x-gtar
+shar application/x-shar
+# application/x-sv4cpio
+# application/x-sv4crc
+tar application/x-tar
+ustar application/x-ustar
+au audio/basic
+snd audio/basic
+aif audio/x-aiff
+aiff audio/x-aiff
+aifc audio/x-aiff
+wav audio/x-wav
+gif image/gif
+ief image/ief
+jpeg image/jpeg
+jpg image/jpeg
+jpe image/jpeg
+tiff image/tiff
+tif image/tiff
+ras image/x-cmu-raster
+pnm image/x-portable-anymap
+pbm image/x-portable-bitmap
+pgm image/x-portable-graymap
+ppm image/x-portable-pixmap
+rgb image/x-rgb
+xbm image/x-xbitmap
+xpm image/x-xpixmap
+xwd image/x-xwindowdump
+# message/external-body
+# message/news
+# message/partial
+# message/rfc822
+# multipart/alternative
+# multipart/appledouble
+# multipart/digest
+# multipart/mixed
+# multipart/parallel
+html text/html
+htm text/html
+txt text/plain
+rtx text/richtext
+tsv text/tab-separated-values
+etx text/x-setext
+mpeg video/mpeg
+mpg video/mpeg
+mpe video/mpeg
+qt video/quicktime
+mov video/quicktime
+avi video/x-msvideo
+movie video/x-sgi-movie
+dl video/x-dl
+fli video/x-fli
diff --git a/mail/elm/files/md5 b/mail/elm/files/md5
new file mode 100644
index 00000000000..14e6ef7b199
--- /dev/null
+++ b/mail/elm/files/md5
@@ -0,0 +1 @@
+MD5 (elm-2.4ME+32.tar.gz) = 7db4b64a0db169dee2b96a3a031aef88
diff --git a/mail/elm/patches/patch-ab b/mail/elm/patches/patch-ab
new file mode 100644
index 00000000000..42fd950579d
--- /dev/null
+++ b/mail/elm/patches/patch-ab
@@ -0,0 +1,49 @@
+*** nls/Makefile.old Thu Mar 10 20:21:47 1994
+--- nls/Makefile Fri Jul 28 06:55:04 1995
+***************
+*** 1,6 ****
+ LANGFILE=LANGS
+ CATNAME=elm2.4.cat
+! GENCAT= nls/gencat
+
+ HDIR= ../hdrs
+ SDIR= C/C/C
+--- 1,6 ----
+ LANGFILE=LANGS
+ CATNAME=elm2.4.cat
+! GENCAT= gencat
+
+ HDIR= ../hdrs
+ SDIR= C/C/C
+***************
+*** 39,45 ****
+ ./Install $(LANGFILE) $(GENCAT) $(CATNAME)
+
+ $(HFILES): $(MFILES)
+! gencat/gencat $(MSGCAT) "$(SDIR)/`basename $@ .h`".m -h $@
+
+ clean: FRC
+ /bin/rm -f $(MSGCAT)
+--- 39,45 ----
+ ./Install $(LANGFILE) $(GENCAT) $(CATNAME)
+
+ $(HFILES): $(MFILES)
+! $(GENCAT) $(MSGCAT) "$(SDIR)/`basename $@ .h`".m -h $@
+
+ clean: FRC
+ /bin/rm -f $(MSGCAT)
+*** nls/LANGS.old Sun Jun 28 04:32:25 1992
+--- nls/LANGS Fri Jul 28 06:48:31 1995
+***************
+*** 1,5 ****
+ # LANGS file
+
+! C/C/C /usr/local/nls/msg/C
+! english/us/ascii /usr/local/nls/msg/english
+! french/canada/8859 /usr/local/nls/msg/french
+--- 1,5 ----
+ # LANGS file
+
+! C/C/C /usr/local/share/nls/C
+! english/us/ascii /usr/local/share/nls/en_US.ISO_8859-1
+! french/canada/8859 /usr/local/share/nls/fr_FR.ISO_8859-1
diff --git a/mail/elm/patches/patch-ac b/mail/elm/patches/patch-ac
new file mode 100644
index 00000000000..e4e265215ff
--- /dev/null
+++ b/mail/elm/patches/patch-ac
@@ -0,0 +1,36 @@
+*** Configure.bak Mon Mar 11 18:47:43 1996
+--- Configure Tue Mar 12 14:52:18 1996
+***************
+*** 18,28 ****
+ PATH=".:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ucb:/usr/local:/usr/lbin:/etc:/usr/new:/usr/new/bin:/usr/nbin:$PATH"
+ export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myself to sh."; sh $0; kill $$)
+
+- if test ! -t 0; then
+- echo "Say 'sh Configure', not 'sh <Configure'"
+- exit 1
+- fi
+-
+ (alias) >/dev/null 2>&1 && \
+ echo "(I see you are using the Korn shell. Some ksh's blow up on Configure," && \
+ echo "especially on exotic machines. If yours does, try the Bourne shell instead.)"
+--- 18,23 ----
+***************
+*** 2278,2284 ****
+
+ : see if crypt exists
+ echo " "
+! if $contains '^crypt$' libc.list >/dev/null 2>&1; then
+ echo 'crypt() found.'
+ d_crypt="$define"
+ cryptlib=''
+--- 2273,2282 ----
+
+ : see if crypt exists
+ echo " "
+! if $test "$cryptlib" = -lcrypt; then
+! echo 'crypt() found.'
+! d_crypt="$define"
+! elif $contains '^crypt$' libc.list >/dev/null 2>&1; then
+ echo 'crypt() found.'
+ d_crypt="$define"
+ cryptlib=''
diff --git a/mail/elm/pkg/COMMENT b/mail/elm/pkg/COMMENT
new file mode 100644
index 00000000000..4dcc379db14
--- /dev/null
+++ b/mail/elm/pkg/COMMENT
@@ -0,0 +1 @@
+ELM Mail User Agent
diff --git a/mail/elm/pkg/DESCR b/mail/elm/pkg/DESCR
new file mode 100644
index 00000000000..489b59b72c5
--- /dev/null
+++ b/mail/elm/pkg/DESCR
@@ -0,0 +1,2 @@
+ Elm is an interactive screen-oriented mailer program that
+ supersedes mail and mailx.
diff --git a/mail/elm/pkg/PLIST b/mail/elm/pkg/PLIST
new file mode 100644
index 00000000000..cf040bfca29
--- /dev/null
+++ b/mail/elm/pkg/PLIST
@@ -0,0 +1,36 @@
+bin/elm
+bin/answer
+bin/checkalias
+bin/elmalias
+bin/fastmail
+bin/frm
+@exec ln -f %D/%F %D/bin/nfrm
+bin/listalias
+bin/messages
+bin/newalias
+bin/newmail
+@exec ln -f %D/%F %D/bin/wnewmail
+bin/printmail
+bin/readmsg
+lib/prlong
+lib/elm.mimetypes
+lib/elmrc-info
+lib/elm-help.0
+lib/elm-help.1
+lib/elm-help.2
+lib/elm-help.3
+man/man1/answer.1.gz
+man/man1/checkalias.1.gz
+man/man1/elm.1.gz
+man/man1/elmalias.1.gz
+man/man1/fastmail.1.gz
+man/man1/frm.1
+@exec ln -f %D/%F %D/man/man1/nfrm.1.gz
+man/man1/listalias.1.gz
+man/man1/messages.1.gz
+man/man1/newalias.1.gz
+man/man1/newmail.1
+@exec ln -f %D/%F %D/man/man1/wnewmail.1
+man/man1/printmail.1.gz
+man/man1/readmsg.1.gz
+share/nls/C/elm2.4.cat
diff --git a/mail/elm/scripts/pre-configure b/mail/elm/scripts/pre-configure
new file mode 100644
index 00000000000..ca09484eb9a
--- /dev/null
+++ b/mail/elm/scripts/pre-configure
@@ -0,0 +1,312 @@
+#!/bin/sh -
+#
+# pre-configure script for Elm port to FreeBSD 2.0
+# $Id: pre-configure,v 1.1.1.1 1998/01/23 12:19:45 bouyer Exp $
+
+PortsDir=$PORTSDIR
+ CurDir=$CURDIR
+ WrkSrc=$WRKSRC
+
+ cat > ${WrkSrc}/config.sh << 'EOF'
+#!/bin/sh
+# config.sh
+# This file was produced by running the Configure script.
+
+Log='$Log'
+Header='$Header'
+bin="${PREFIX}/bin"
+contains='grep'
+cppstdin='/usr/bin/cpp'
+cppminus=''
+d_getopt='define'
+d_memcpy='define'
+d_mkdir='define'
+d_rename='define'
+d_symlink='define'
+d_whoami='undef'
+d_poll='undef'
+d_inttypes='undef'
+d_nointtypes='undef'
+n='-n'
+c=''
+orderlib='false'
+ranlib='/usr/bin/ranlib'
+package='elm2'
+pager='builtin++'
+startsh='#!/bin/sh'
+define='define'
+loclist='
+cat
+chgrp
+chmod
+cp
+echo
+expr
+grep
+ln
+ls
+make
+mv
+rm
+sed
+sleep
+touch
+tr
+'
+expr='/bin/expr'
+sed='/usr/bin/sed'
+echo='/bin/echo'
+cat='/bin/cat'
+rm='/bin/rm'
+mv='/bin/mv'
+cp='/bin/cp'
+tail=''
+tr='/usr/bin/tr'
+mkdir=''
+sort=''
+uniq=''
+grep='/usr/bin/grep'
+trylist='
+Mcc
+compress
+cpp
+date
+emacs
+execmail
+finger
+ispell
+line
+lint
+lp
+lpr
+mailx
+metamail
+mips
+more
+nroff
+pack
+pg
+pgp
+pmake
+pr
+rmail
+sendmail
+shar
+smail
+submit
+tar
+tbl
+test
+troff
+uname
+uuname
+vi
+'
+test='/bin/test'
+inews=''
+ispell="${PREFIX}/bin/ispell"
+egrep=''
+more='/usr/bin/more'
+pg='pg'
+Mcc='Mcc'
+vi='/usr/bin/vi'
+mailx='mailx'
+mail=''
+cpp='/usr/bin/cpp'
+perl=''
+emacs='emacs'
+ls='/bin/ls'
+rmail='/bin/rmail'
+sendmail='/usr/sbin/sendmail'
+shar='/usr/bin/shar'
+smail='smail'
+submit=''
+tbl='/usr/bin/tbl'
+troff='/usr/bin/troff'
+nroff='/usr/bin/nroff'
+uname='/usr/bin/uname'
+uuname='/usr/bin/uuname'
+line='line'
+chgrp='/usr/bin/chgrp'
+chmod='/bin/chmod'
+lint='/usr/bin/lint'
+sleep='/bin/sleep'
+pr='/usr/bin/pr'
+tar='/usr/bin/tar'
+ln='/bin/ln'
+lpr='/usr/bin/lpr'
+lp='/usr/bin/lp'
+touch='/usr/bin/touch'
+make='/usr/bin/make'
+date='/bin/date'
+csh=''
+pmake='pmake'
+mips='false'
+col=''
+pack='pack'
+compress='/usr/bin/compress'
+execmail=''
+libswanted='intl nls'
+noaddlib='yes'
+c_date='Mon Dec 23 07:44:59 MSK 1996'
+d_ascii='undef'
+d_broke_ctype='undef'
+d_calendar='define'
+calendar='calendar'
+d_chown_neg1='define'
+d_content='undef'
+d_crypt='define'
+cryptlib='-lcrypt'
+d_cuserid='undef'
+d_disphost='undef'
+d_domname='define'
+d_usegetdom='undef'
+d_errlst='define'
+d_flock='define'
+d_dotlock='undef'
+d_fcntlock='undef'
+has_flock='define'
+has_fcntl='define'
+d_ftruncate='define'
+d_gethname='define'
+d_douname='undef'
+d_host_comp='undef'
+ign_hname='n'
+d_havetlib='define'
+termlib='-ltermlib'
+d_index='undef'
+d_internet='define'
+d_ispell='define'
+ispell_path="${PREFIX}/bin/ispell"
+ispell_options=''
+d_locale='define'
+d_nl_types='define'
+d_msgcat='define'
+d_usenls='undef'
+d_mallocvoid='define'
+d_mboxedit='define'
+d_mime='define'
+metamail_path='none'
+defencoding=''
+d_8bitmime='define'
+d_binarymime='undef'
+d_dsn='define'
+defcharset='ISO-8859-1'
+defdispcharset='ISO-8859-1'
+d_mmdf='undef'
+d_newauto='define'
+d_noaddfrom='define'
+d_usedomain='undef'
+d_noxheader='undef'
+d_pidcheck='define'
+d_ptem='undef'
+d_putenv='define'
+d_remlock='undef'
+maxattempts='6'
+d_setgid='undef'
+d_savegrpmboxid='undef'
+mailermode='755'
+d_sigvec='undef'
+d_sigvectr='undef'
+d_sigset='undef'
+d_sighold='undef'
+d_sigprocmask='define'
+d_sigblock='undef'
+d_waitpid='define'
+d_sigaction='define'
+d_strcspn='define'
+d_strspn='define'
+d_strpbrk='define'
+d_strerror='define'
+d_strftime='define'
+d_strings='undef'
+d_pwdinsys='undef'
+strings='/usr/include/string.h'
+includepath=''
+d_strstr='define'
+d_strtok='define'
+d_subshell='define'
+d_tempnam='define'
+tempnamo=''
+tempnamc=''
+d_termio='undef'
+d_termios='define'
+d_useembed='define'
+d_utimbuf='define'
+d_vfork='define'
+defbatsub='no subject (file transmission)'
+defeditor='/usr/bin/vi'
+editoropts=''
+hostname="${Hostname}"
+phostname='hostname'
+mydomain="${Domain}"
+autohostname='define'
+i_memory='define'
+i_stdarg='define'
+i_stdlib='define'
+i_time='define'
+i_systime='define'
+d_systimekernel='undef'
+i_unistd='define'
+i_utime='define'
+i_sysutime='undef'
+lib="${PREFIX}/lib"
+libc='/usr/lib/libc.so.3.0'
+linepr='/usr/bin/lp'
+maildir='/var/mail'
+mailer='/usr/sbin/sendmail'
+mailgrp='bin'
+mansrc="${PREFIX}/man/man1"
+catmansrc="${PREFIX}/man/cat1"
+manext='.1'
+manext_choice='.1'
+catmanext='.1'
+catmanext_choice='.1'
+packed='n'
+manroff='/usr/bin/nroff'
+manroffopts=''
+suffix=''
+packer=''
+models='none'
+split=''
+small=''
+medium=''
+large=''
+huge=''
+optimize="$CFLAGS"
+ccflags=''
+cppflags=''
+ldflags='-s'
+cc='cc'
+libs=''
+nametype='bsd'
+d_passnames='define'
+d_berknames='define'
+d_usgnames='undef'
+passcat='cat /etc/passwd'
+rmttape='unknown-remote-tape-unit'
+roff='/usr/bin/troff'
+roffopts=''
+sigtype='void'
+spitshell='cat'
+shsharp='true'
+sharpbang='#!'
+tmpdir='/tmp'
+tzname_handling='TM_ZONE'
+use_pmake='n'
+xencf=''
+xenlf=''
+d_xenix='undef'
+d_bsd='define'
+d_pgp='define'
+pgp="${PREFIX}/bin/pgp"
+pgp_path="${PREFIX}/bin/pgp"
+d_remailer='define'
+finger='/usr/bin/finger'
+finger_path='/usr/bin/finger'
+CONFIG=true
+EOF
+
+exit 0
+# END
+