diff options
author | tron <tron@pkgsrc.org> | 1998-02-25 23:51:08 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-02-25 23:51:08 +0000 |
commit | 59f81f7185101d7df7d6a024129d4b79c13ac1c6 (patch) | |
tree | 2a9f23ef9e7f5758fb67dcb5efc96608344cfb6a /converters | |
parent | c53c21a08fcf21ab2d11d5cf6ab2df4c1d72fcbd (diff) | |
download | pkgsrc-59f81f7185101d7df7d6a024129d4b79c13ac1c6.tar.gz |
Initial import of FreeBSD's "mpack" port.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/mpack/Makefile | 21 | ||||
-rw-r--r-- | converters/mpack/files/md5 | 1 | ||||
-rw-r--r-- | converters/mpack/patches/patch-aa | 38 | ||||
-rw-r--r-- | converters/mpack/patches/patch-ab | 54 | ||||
-rw-r--r-- | converters/mpack/pkg/COMMENT | 1 | ||||
-rw-r--r-- | converters/mpack/pkg/DESCR | 5 | ||||
-rw-r--r-- | converters/mpack/pkg/PLIST | 4 |
7 files changed, 124 insertions, 0 deletions
diff --git a/converters/mpack/Makefile b/converters/mpack/Makefile new file mode 100644 index 00000000000..ad01c17a688 --- /dev/null +++ b/converters/mpack/Makefile @@ -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> diff --git a/converters/mpack/files/md5 b/converters/mpack/files/md5 new file mode 100644 index 00000000000..a0f5434a067 --- /dev/null +++ b/converters/mpack/files/md5 @@ -0,0 +1 @@ +MD5 (mpack-1.5-src.tar.Z) = f41f8aa2ae92d90e1ac03291973e65e4 diff --git a/converters/mpack/patches/patch-aa b/converters/mpack/patches/patch-aa new file mode 100644 index 00000000000..08171df7667 --- /dev/null +++ b/converters/mpack/patches/patch-aa @@ -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 diff --git a/converters/mpack/patches/patch-ab b/converters/mpack/patches/patch-ab new file mode 100644 index 00000000000..81754bad4ed --- /dev/null +++ b/converters/mpack/patches/patch-ab @@ -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/ diff --git a/converters/mpack/pkg/COMMENT b/converters/mpack/pkg/COMMENT new file mode 100644 index 00000000000..13cdb3bdef0 --- /dev/null +++ b/converters/mpack/pkg/COMMENT @@ -0,0 +1 @@ +External MIME packer/unpacker. diff --git a/converters/mpack/pkg/DESCR b/converters/mpack/pkg/DESCR new file mode 100644 index 00000000000..63ae10f9329 --- /dev/null +++ b/converters/mpack/pkg/DESCR @@ -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. diff --git a/converters/mpack/pkg/PLIST b/converters/mpack/pkg/PLIST new file mode 100644 index 00000000000..32d6cc559cd --- /dev/null +++ b/converters/mpack/pkg/PLIST @@ -0,0 +1,4 @@ +bin/mpack +bin/munpack +man/man1/mpack.1.gz +man/man1/munpack.1.gz |