Initial import of FreeBSD's "mpack" port.
This commit is contained in:
parent
c53c21a08f
commit
59f81f7185
7 changed files with 124 additions and 0 deletions
21
converters/mpack/Makefile
Normal file
21
converters/mpack/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
|||
# New ports collection makefile for: mpack
|
||||
# Version required: 1.5
|
||||
# Date created: 1 May 1995
|
||||
# Whom: ache
|
||||
#
|
||||
# $FreeBSD Id: Makefile,v 1.7 1997/04/26 23:55:23 asami Exp
|
||||
#
|
||||
|
||||
DISTNAME= mpack-1.5-src
|
||||
PKGNAME= mpack-1.5
|
||||
CATEGORIES= converters mail news
|
||||
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/mpack/
|
||||
EXTRACT_SUFX= .tar.Z
|
||||
|
||||
MAINTAINER= ache@FreeBSD.ORG
|
||||
|
||||
WRKSRC= ${WRKDIR}/mpack
|
||||
MAKEFLAGS= -DDESTDIR=${PREFIX} -f
|
||||
MAN1= mpack.1 munpack.1
|
||||
|
||||
.include <bsd.port.mk>
|
1
converters/mpack/files/md5
Normal file
1
converters/mpack/files/md5
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (mpack-1.5-src.tar.Z) = f41f8aa2ae92d90e1ac03291973e65e4
|
38
converters/mpack/patches/patch-aa
Normal file
38
converters/mpack/patches/patch-aa
Normal file
|
@ -0,0 +1,38 @@
|
|||
*** Makefile.bak Fri Feb 17 00:39:41 1995
|
||||
--- Makefile Mon May 1 18:09:04 1995
|
||||
***************
|
||||
*** 1,5 ****
|
||||
! CFLAGS=$(OPT) $(DEFINES)
|
||||
! OPT=-O
|
||||
|
||||
|
||||
#Uncomment the following line if your system does not have strchr()
|
||||
--- 1,5 ----
|
||||
! CFLAGS+=$(OPT) $(DEFINES)
|
||||
! #OPT=-O
|
||||
|
||||
|
||||
#Uncomment the following line if your system does not have strchr()
|
||||
***************
|
||||
*** 42,51 ****
|
||||
-mkdir $(DESTDIR)/bin
|
||||
-mkdir $(DESTDIR)/man
|
||||
-mkdir $(DESTDIR)/man/man1
|
||||
! install -s -m 755 mpack $(DESTDIR)/bin
|
||||
! install -s -m 755 munpack $(DESTDIR)/bin
|
||||
! install -m 644 unixpk.man $(DESTDIR)/man/man1/mpack.1
|
||||
! install -m 644 unixunpk.man $(DESTDIR)/man/man1/munpack.1
|
||||
|
||||
clean:
|
||||
rm -f *.o mpack munpack
|
||||
--- 42,51 ----
|
||||
-mkdir $(DESTDIR)/bin
|
||||
-mkdir $(DESTDIR)/man
|
||||
-mkdir $(DESTDIR)/man/man1
|
||||
! install -c -s -m 755 mpack $(DESTDIR)/bin
|
||||
! install -c -s -m 755 munpack $(DESTDIR)/bin
|
||||
! install -c -m 644 unixpk.man $(DESTDIR)/man/man1/mpack.1
|
||||
! install -c -m 644 unixunpk.man $(DESTDIR)/man/man1/munpack.1
|
||||
|
||||
clean:
|
||||
rm -f *.o mpack munpack
|
54
converters/mpack/patches/patch-ab
Normal file
54
converters/mpack/patches/patch-ab
Normal file
|
@ -0,0 +1,54 @@
|
|||
*** unixos.c.bak Fri Feb 17 00:39:50 1995
|
||||
--- unixos.c Mon Nov 11 10:19:28 1996
|
||||
***************
|
||||
*** 89,95 ****
|
||||
--- 89,99 ----
|
||||
strcpy(buf, getenv("TMPDIR"));
|
||||
}
|
||||
else {
|
||||
+ #ifdef __FreeBSD__
|
||||
+ strcpy(buf, "/var/tmp");
|
||||
+ #else
|
||||
strcpy(buf, "/usr/tmp");
|
||||
+ #endif
|
||||
}
|
||||
strcat(buf, "/m-prts-");
|
||||
p = getenv("USER");
|
||||
*** unixpk.man.bak Fri Feb 17 00:39:50 1995
|
||||
--- unixpk.man Mon Nov 11 10:19:46 1996
|
||||
***************
|
||||
*** 136,142 ****
|
||||
.SH ENVIRONMENT
|
||||
.TP
|
||||
.B TMPDIR
|
||||
! Directory to store temporary files. Default is /usr/tmp.
|
||||
.TP
|
||||
.B SPLITSIZE
|
||||
Default value of the -m switch.
|
||||
--- 136,142 ----
|
||||
.SH ENVIRONMENT
|
||||
.TP
|
||||
.B TMPDIR
|
||||
! Directory to store temporary files. Default is /var/tmp.
|
||||
.TP
|
||||
.B SPLITSIZE
|
||||
Default value of the -m switch.
|
||||
*** unixunpk.man.bak Fri Feb 17 00:39:50 1995
|
||||
--- unixunpk.man Mon Nov 11 10:19:59 1996
|
||||
***************
|
||||
*** 107,113 ****
|
||||
.SH ENVIRONMENT
|
||||
.TP
|
||||
.B TMPDIR
|
||||
! Directory to store temporary files. Default is /usr/tmp.
|
||||
.SH FILES
|
||||
.TP
|
||||
.B $TMPDIR/m-prts-$USER/
|
||||
--- 107,113 ----
|
||||
.SH ENVIRONMENT
|
||||
.TP
|
||||
.B TMPDIR
|
||||
! Directory to store temporary files. Default is /var/tmp.
|
||||
.SH FILES
|
||||
.TP
|
||||
.B $TMPDIR/m-prts-$USER/
|
1
converters/mpack/pkg/COMMENT
Normal file
1
converters/mpack/pkg/COMMENT
Normal file
|
@ -0,0 +1 @@
|
|||
External MIME packer/unpacker.
|
5
converters/mpack/pkg/DESCR
Normal file
5
converters/mpack/pkg/DESCR
Normal file
|
@ -0,0 +1,5 @@
|
|||
Mpack and munpack are utilities for encoding and decoding
|
||||
(respectively) binary files in MIME (Multipurpose Internet Mail
|
||||
Extensions) format mail messages. For compatibility with older forms
|
||||
of transferring binary files, the munpack program can also decode
|
||||
messages in split-uuencoded format.
|
4
converters/mpack/pkg/PLIST
Normal file
4
converters/mpack/pkg/PLIST
Normal file
|
@ -0,0 +1,4 @@
|
|||
bin/mpack
|
||||
bin/munpack
|
||||
man/man1/mpack.1.gz
|
||||
man/man1/munpack.1.gz
|
Loading…
Reference in a new issue