Import macutil 2.0b3.

Submitted by Sebastian Stark <seb@todesplanet.de>.

With these tools you can handle Macintosh files.
This commit is contained in:
naddy 2002-10-25 21:45:02 +00:00
parent dd81e7d5dd
commit 7c80d4dd4a
14 changed files with 187 additions and 0 deletions

View File

@ -0,0 +1,47 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/10/25 21:45:02 naddy Exp $
COMMENT= "several programs to handle macintosh files and archives"
DISTNAME= macutil2.0b3
PKGNAME= macutil-2.0b3
CATEGORIES= archivers
MAINTAINER= Sebastian Stark <seb@todesplanet.de>
# very unclear blather
PERMIT_PACKAGE_CDROM= "no license"
PERMIT_PACKAGE_FTP= "no license"
PERMIT_DISTFILES_CDROM= "no license"
PERMIT_DISTFILES_FTP= "no license"
MASTER_SITES= ftp://ftp.cwi.nl/pub/dik/
EXTRACT_SUFX= .shar.Z
MAKE_FILE= makefile
WRKDIST= ${WRKDIR}/macutil
MAKE_ENV= CF="${CFLAGS}" \
CC=${CC}
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKDIST}/macunpack/macunpack \
${WRKDIST}/hexbin/hexbin \
${WRKDIST}/mixed/macsave \
${WRKDIST}/mixed/macstream \
${WRKDIST}/binhex/binhex \
${WRKDIST}/comm/tomac \
${WRKDIST}/comm/frommac ${PREFIX}/bin
${INSTALL_MAN} ${WRKDIST}/man/macunpack.1 \
${WRKDIST}/man/hexbin.1 \
${WRKDIST}/man/macsave.1 \
${WRKDIST}/man/macstream.1 \
${WRKDIST}/man/binhex.1 \
${WRKDIST}/man/tomac.1 \
${WRKDIST}/man/frommac.1 \
${WRKDIST}/man/macutil.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/macutil
${INSTALL_DATA} ${WRKDIST}/README ${PREFIX}/share/doc/macutil
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (macutil2.0b3.shar.Z) = 2994c01ce0cf86ef6e76e0d88b6c0f3f
RMD160 (macutil2.0b3.shar.Z) = 5cf3b22d8bdd3a8fa61211e7a0d598ebac9bbfe4
SHA1 (macutil2.0b3.shar.Z) = 820e4dd278fe8d043306134aaafccab10b832218

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-binhex_makefile,v 1.1.1.1 2002/10/25 21:45:02 naddy Exp $
--- binhex/makefile.orig Fri Oct 25 17:30:16 2002
+++ binhex/makefile Fri Oct 25 17:30:24 2002
@@ -1,4 +1,4 @@
-CFLAGS = -O $(CF)
+CFLAGS = $(CF)
SRCS = binhex.c dofile.c

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-comm_makefile,v 1.1.1.1 2002/10/25 21:45:02 naddy Exp $
--- comm/makefile.orig Fri Oct 25 17:30:30 2002
+++ comm/makefile Fri Oct 25 17:30:34 2002
@@ -1,4 +1,4 @@
-CFLAGS = -O $(CF)
+CFLAGS = $(CF)
SRCS1 = tomac.c xm_to.c ym_to.c zm_to.c to.c tty.c globals.c
SRCS2 = frommac.c xm_from.c ym_from.c zm_from.c from.c tty.c globals.c

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-crc_makefile,v 1.1.1.1 2002/10/25 21:45:02 naddy Exp $
--- crc/makefile.orig Fri Oct 25 17:27:17 2002
+++ crc/makefile Fri Oct 25 17:29:27 2002
@@ -1,4 +1,4 @@
-CFLAGS = -O $(CF)
+CFLAGS = $(CF)
CRCC = arc.c ccitt.c kermit.c binhex.c ccitt32.c zip.c
CRCO = arc.o ccitt.o kermit.o binhex.o ccitt32.o zip.o
@@ -16,7 +16,7 @@ $(CRCC): makecrc
./makecrc
makecrc: makecrc.o
- cc -O -o makecrc makecrc.o
+ ${CC} ${CFLAGS} -o makecrc makecrc.o
arc.o: arc.c
ccitt.o: ccitt.c

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-fileio_makefile,v 1.1.1.1 2002/10/25 21:45:02 naddy Exp $
--- fileio/makefile.orig Fri Oct 25 17:28:33 2002
+++ fileio/makefile Fri Oct 25 17:28:40 2002
@@ -1,4 +1,4 @@
-CFLAGS= -O $(CF)
+CFLAGS= $(CF)
all: wrfile.o rdfile.o fileglob.o
touch all

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-hexbin_makefile,v 1.1.1.1 2002/10/25 21:45:02 naddy Exp $
--- hexbin/makefile.orig Fri Oct 25 17:29:35 2002
+++ hexbin/makefile Fri Oct 25 17:29:46 2002
@@ -1,4 +1,4 @@
-CFLAGS= -O $(CF)
+CFLAGS= $(CF)
SRCS = hexbin.c \
dl.c \

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-macunpack_makefile,v 1.1.1.1 2002/10/25 21:45:02 naddy Exp $
--- macunpack/makefile.orig Fri Oct 25 17:28:47 2002
+++ macunpack/makefile Fri Oct 25 17:29:12 2002
@@ -1,4 +1,4 @@
-CFLAGS = -O $(CF)
+CFLAGS = $(CF)
SRCS = macunpack.c \
globals.c \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-makefile,v 1.1.1.1 2002/10/25 21:45:02 naddy Exp $
--- makefile.orig Fri Oct 25 17:14:13 2002
+++ makefile Fri Oct 25 17:15:25 2002
@@ -27,7 +27,7 @@ BINDIR = /ufs/dik/tmpbin
# -DDEBUG might trigger some debugging output in some program, do not
# use it unless you know where that output goes!
#
-CF = -DBSD -DTYPES_H -DDIRENT_H -DTERMIOS_H -DNODOT -DAPPLEDOUBLE -DDEBUG
+CF += -DBSD -DTYPES_H -DDIRENT_H -DTERMIOS_H -DAUFSPLUS
all:
(cd crc; make CF='$(CF)')

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-man_macutil_1,v 1.1.1.1 2002/10/25 21:45:02 naddy Exp $
--- man/macutil.1.orig Fri Oct 25 17:53:19 2002
+++ man/macutil.1 Fri Oct 25 17:53:27 2002
@@ -20,10 +20,6 @@ Convert hexified files to their MacIntos
.B macsave
Save a series of files from a MacBinary stream as individual files.
.TP
-.B macdesea
-The same as macsave, but this program will rewrite self-extracting
-archives as normal archives.
-.TP
.B macstream
Combine a series of files to a MacBinary stream.
.TP

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-mixed_makefile,v 1.1.1.1 2002/10/25 21:45:02 naddy Exp $
--- mixed/makefile.orig Fri Oct 25 17:29:52 2002
+++ mixed/makefile Fri Oct 25 17:29:58 2002
@@ -1,4 +1,4 @@
-CFLAGS = -O $(CF)
+CFLAGS = $(CF)
SRCS1 = macsave.c \
globals.c \

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-util_makefile,v 1.1.1.1 2002/10/25 21:45:02 naddy Exp $
--- util/makefile.orig Fri Oct 25 17:28:11 2002
+++ util/makefile Fri Oct 25 17:28:22 2002
@@ -1,4 +1,4 @@
-CFLAGS= -O $(CF)
+CFLAGS= $(CF)
all: util.o transname.o backtrans.o
touch all

View File

@ -0,0 +1,12 @@
With these tools you can handle Macintosh files. The package
contains the following utilities:
binhex - Convert files to BinHex 4.0 compatible hexified form
frommac - Receives files from the Macintosh in the Unix system
hexbin - Convert hexified files to their Macintosh format
macsave - Save a series of files from a MacBinary stream as
individual files
macstream - Combine a series of files to a MacBinary stream
macunpack - Unpack a Macintosh archive into its constituents
tomac - Transmits files from the Unix system to a Macintosh

View File

@ -0,0 +1,18 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/10/25 21:45:02 naddy Exp $
bin/binhex
bin/frommac
bin/hexbin
bin/macsave
bin/macstream
bin/macunpack
bin/tomac
man/man1/binhex.1
man/man1/frommac.1
man/man1/hexbin.1
man/man1/macsave.1
man/man1/macstream.1
man/man1/macunpack.1
man/man1/macutil.1
man/man1/tomac.1
share/doc/macutil/README
@dirrm share/doc/macutil