mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Reviewed by:
Submitted by: Obtained from: metamail - implementation of MIME, the Multipurpose Internet Mail Extensions
This commit is contained in:
parent
3dd0bf6fec
commit
74fda86565
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266
20
mail/metamail/Makefile
Normal file
20
mail/metamail/Makefile
Normal file
@ -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>
|
78
mail/metamail/files/patch-aa
Normal file
78
mail/metamail/files/patch-aa
Normal file
@ -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)
|
33
mail/metamail/files/patch-ab
Normal file
33
mail/metamail/files/patch-ab
Normal file
@ -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
|
||||
|
1
mail/metamail/pkg-comment
Normal file
1
mail/metamail/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Metamail - implementation of MIME, the Multipurpose Internet Mail Extensions
|
5
mail/metamail/pkg-descr
Normal file
5
mail/metamail/pkg-descr
Normal file
@ -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.
|
29
mail/metamail/pkg-plist
Normal file
29
mail/metamail/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user