aboutsummaryrefslogtreecommitdiff
path: root/mail/metamail
diff options
context:
space:
mode:
authorTorsten Blum <torstenb@FreeBSD.org>1994-10-23 01:19:51 +0000
committerTorsten Blum <torstenb@FreeBSD.org>1994-10-23 01:19:51 +0000
commit74fda86565234ce2f5b02523aebf9aebc149013f (patch)
tree39ab1e7454220eea654e52eb84c93b67e3c90c28 /mail/metamail
parent3dd0bf6fecb29ce0cb5f494f1c5ddc6973e5ce26 (diff)
downloadports-74fda86565234ce2f5b02523aebf9aebc149013f.tar.gz
ports-74fda86565234ce2f5b02523aebf9aebc149013f.zip
Notes
Diffstat (limited to 'mail/metamail')
-rw-r--r--mail/metamail/Makefile20
-rw-r--r--mail/metamail/files/patch-aa78
-rw-r--r--mail/metamail/files/patch-ab33
-rw-r--r--mail/metamail/pkg-comment1
-rw-r--r--mail/metamail/pkg-descr5
-rw-r--r--mail/metamail/pkg-plist29
6 files changed, 166 insertions, 0 deletions
diff --git a/mail/metamail/Makefile b/mail/metamail/Makefile
new file mode 100644
index 000000000000..d2871509d32b
--- /dev/null
+++ b/mail/metamail/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: metamail
+# Version required: 2.7
+# Date created: 17 Oct 1994
+# Whom: torstenb
+#
+# $Id:$
+#
+
+DISTNAME= mm2.7
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+MASTER_SITES= ftp://thumper.bellcore.com/pub/nsb/
+EXTRACT_SUFX= .tar.Z
+
+pre-install:
+ mkdir -p ${PREFIX}/bin
+ mkdir -p ${PREFIX}/etc
+ mkdir -p ${PREFIX}/man/man1
+ mkdir -p ${PREFIX}/man/man4
+
+.include <bsd.port.mk>
diff --git a/mail/metamail/files/patch-aa b/mail/metamail/files/patch-aa
new file mode 100644
index 000000000000..2dd1f4ad79d9
--- /dev/null
+++ b/mail/metamail/files/patch-aa
@@ -0,0 +1,78 @@
+*** Makefile.orig Wed Jan 26 18:32:33 1994
+--- Makefile Mon Oct 17 21:38:58 1994
+***************
+*** 38,44 ****
+
+ STATICFLAG=FOOBAR${HOST_ARCH}
+
+! CFLAGS = -g -I. ${$(STATICFLAG)}
+ # The following is better if you want to make sure you run with SYSV defined
+ # CFLAGS = -g -I. ${$(STATICFLAG)} -DSYSV
+ # Also, for SGI Irix, compile in K&R mode
+--- 38,44 ----
+
+ STATICFLAG=FOOBAR${HOST_ARCH}
+
+! CFLAGS = -g -O -I. ${$(STATICFLAG)}
+ # The following is better if you want to make sure you run with SYSV defined
+ # CFLAGS = -g -I. ${$(STATICFLAG)} -DSYSV
+ # Also, for SGI Irix, compile in K&R mode
+***************
+*** 49,57 ****
+ # LDLIBS variable.
+ #
+ # For Sun and BSD systems, the following should work...
+! LDLIBS =
+ # On BSD 4.4 systems, you will need the following
+! # LDLIBS = -lcompat
+ # On SGI machines, we need -lsun for getpw...(), and -lc_s saves some space.
+ # LDLIBS = -lsun -lc_s
+ # ISC SysVr3.2.2 has a shared C library and requires libinet.a to resolve
+--- 49,57 ----
+ # LDLIBS variable.
+ #
+ # For Sun and BSD systems, the following should work...
+! # LDLIBS =
+ # On BSD 4.4 systems, you will need the following
+! LDLIBS = -lcompat
+ # On SGI machines, we need -lsun for getpw...(), and -lc_s saves some space.
+ # LDLIBS = -lsun -lc_s
+ # ISC SysVr3.2.2 has a shared C library and requires libinet.a to resolve
+***************
+*** 75,81 ****
+ INSTALL = install -c -s
+
+ # Root of installation tree
+! INSTROOT = /usr/local
+ #
+ # This is where binaries should be copied
+ LOCALBINDIR = ${INSTROOT}/bin
+--- 75,81 ----
+ INSTALL = install -c -s
+
+ # Root of installation tree
+! INSTROOT = ${PREFIX}
+ #
+ # This is where binaries should be copied
+ LOCALBINDIR = ${INSTROOT}/bin
+***************
+*** 96,104 ****
+ # This helps with the "for" constructs below on some platforms:
+ SHELL=/bin/sh
+
+! install: basics
+
+! basics::
+ (cd metamail ; $(MAKE) CONFIGDIR=../${CONFIGDIR} CFLAGS="${CFLAGS}" CC="${CC}" LDLIBS="${LDLIBS}")
+ -${RM} bin/metamail
+ (cd bin; ${LN} ../metamail/metamail metamail)
+--- 96,104 ----
+ # This helps with the "for" constructs below on some platforms:
+ SHELL=/bin/sh
+
+! install: install-all
+
+! all basics::
+ (cd metamail ; $(MAKE) CONFIGDIR=../${CONFIGDIR} CFLAGS="${CFLAGS}" CC="${CC}" LDLIBS="${LDLIBS}")
+ -${RM} bin/metamail
+ (cd bin; ${LN} ../metamail/metamail metamail)
diff --git a/mail/metamail/files/patch-ab b/mail/metamail/files/patch-ab
new file mode 100644
index 000000000000..87f0b6b6f1c9
--- /dev/null
+++ b/mail/metamail/files/patch-ab
@@ -0,0 +1,33 @@
+*** config.h.orig Mon Oct 17 21:06:22 1994
+--- config.h Mon Oct 17 21:08:13 1994
+***************
+*** 73,79 ****
+ #ifdef SYSV
+ #define RESET_PROGRAM "tput clear"
+ #else
+! #ifdef __BSD_4_4__
+ #define RESET_PROGRAM "/usr/bin/reset"
+ #else
+ #define RESET_PROGRAM "/usr/ucb/reset"
+--- 73,79 ----
+ #ifdef SYSV
+ #define RESET_PROGRAM "tput clear"
+ #else
+! #if defined(__BSD_4_4__) || defined(__FreeBSD__)
+ #define RESET_PROGRAM "/usr/bin/reset"
+ #else
+ #define RESET_PROGRAM "/usr/ucb/reset"
+***************
+*** 155,161 ****
+--- 155,165 ----
+ #ifdef NeXT
+ #define sigtype void
+ #else
++ #ifdef __FreeBSD__
++ #define sigtype void
++ #else
+ #define sigtype int
++ #endif
+ #endif
+ #endif
+
diff --git a/mail/metamail/pkg-comment b/mail/metamail/pkg-comment
new file mode 100644
index 000000000000..65779b7f147f
--- /dev/null
+++ b/mail/metamail/pkg-comment
@@ -0,0 +1 @@
+Metamail - implementation of MIME, the Multipurpose Internet Mail Extensions
diff --git a/mail/metamail/pkg-descr b/mail/metamail/pkg-descr
new file mode 100644
index 000000000000..e21cb9eceb18
--- /dev/null
+++ b/mail/metamail/pkg-descr
@@ -0,0 +1,5 @@
+Metamail is an implementation of MIME, the Multipurpose Internet
+Mail Extensions, a proposed standard for multimedia mail on the Internet.
+Metamail implements MIME, and also implements extensibility and
+configuration via the "mailcap" mechanism described in an informational
+RFC that is a companion to the MIME document.
diff --git a/mail/metamail/pkg-plist b/mail/metamail/pkg-plist
new file mode 100644
index 000000000000..285ec51bb74b
--- /dev/null
+++ b/mail/metamail/pkg-plist
@@ -0,0 +1,29 @@
+@cwd /usr/local
+bin/mailto
+bin/metamail
+bin/mimencode
+bin/mmencode
+bin/richtext
+bin/richtoatk
+bin/splitmail
+etc/mailcap
+man/man1/audiocompose.1
+man/man1/audiosend.1
+man/man1/extcompose.1
+man/man1/getfilename.1
+man/man1/mailto-hebrew.1
+man/man1/mailto.1
+man/man1/metamail.1
+man/man1/metasend.1
+man/man1/mime.1
+man/man1/mimencode.1
+man/man1/mmencode.1
+man/man1/patch-metamail.1
+man/man1/richtext.1
+man/man1/showaudio.1
+man/man1/showexternal.1
+man/man1/shownonascii.1
+man/man1/showpartial.1
+man/man1/showpicture.1
+man/man1/splitmail.1
+man/man4/mailcap.4