From 5031dfe1da5da5c276d1059aa2c78fb6fee24143 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Wed, 5 Oct 1994 22:32:58 +0000 Subject: Jean-Marc Zucconi's mtools port. Submitted by: jmz --- emulators/mtools/Makefile | 11 +++++++ emulators/mtools/pkg-descr | 78 ++++++++++++++++++++++++++++++++++++++++++++++ emulators/mtools/pkg-plist | 33 ++++++++++++++++++++ 3 files changed, 122 insertions(+) create mode 100644 emulators/mtools/Makefile create mode 100644 emulators/mtools/pkg-descr create mode 100644 emulators/mtools/pkg-plist (limited to 'emulators') diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile new file mode 100644 index 000000000000..9335fdd11650 --- /dev/null +++ b/emulators/mtools/Makefile @@ -0,0 +1,11 @@ +DISTNAME= mtools-2.0.7 +MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/ + +MAKE_FLAGS= PREFIX=${PREFIX} +MAKEFILE= + +pre-install: + @mkdir -p ${PREFIX}/bin + @mkdir -p ${PREFIX}/man/man1 + +.include diff --git a/emulators/mtools/pkg-descr b/emulators/mtools/pkg-descr new file mode 100644 index 000000000000..0cbd8e28a485 --- /dev/null +++ b/emulators/mtools/pkg-descr @@ -0,0 +1,78 @@ +Mtools is a public domain collection of programs to allow Unix systems +to read, write, and manipulate files on an MSDOS filesystem (typically +a diskette). Each program attempts to emulate the MSDOS equivalent +command as closely as practical. + +The following MSDOS commands are emulated: + +Mtool MSDOS +name equivalent Description +----- ---- ----------- +mattrib ATTRIB change MSDOS file attribute flags +mcd CD change MSDOS directory +mcopy COPY copy MSDOS files to/from Unix +mdel DEL/ERASE delete an MSDOS file +mdir DIR display an MSDOS directory +mformat FORMAT add MSDOS filesystem to a low-level format +mlabel LABEL make an MSDOS volume label. +mmd MD/MKDIR make an MSDOS subdirectory +mrd RD/RMDIR remove an MSDOS subdirectory +mread COPY low level read (copy) an MSDOS file to Unix +mren REN/RENAME rename an existing MSDOS file +mtype TYPE display contents of an MSDOS file +mwrite COPY low level write (copy) a Unix file to MSDOS + +You should be able to just close your eyes and pretend you're on an MSDOS +system. Everything should work the same... except for the added 'm' at +the beginning of each command. + +MSDOS filenames are optionally composed of a drive letter followed by +a colon, a subdirectory, and a filename. Sub- directory names can use +either the '/' or '\' separator. The use of the '\' separator or +wildcards will require the names to be enclosed in quotes to protect +them from the shell. + +The regular expression "pattern matching" routines follow the +Unix-style rules. For example, '*' matches all MSDOS files in lieu of +'*.*'. The archive, hidden, read-only and system attribute bits are +ignored during pattern matching. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + local 2 + + diff --git a/emulators/mtools/pkg-plist b/emulators/mtools/pkg-plist new file mode 100644 index 000000000000..6ec81c49185d --- /dev/null +++ b/emulators/mtools/pkg-plist @@ -0,0 +1,33 @@ +@cd /usr/local +@owner bin +@mode 755 +bin/mattrib +bin/mcd +bin/mcopy +bin/mdel +bin/mdir +bin/mformat +bin/mlabel +bin/mmd +bin/mrd +bin/mread +bin/mren +bin/mtype +bin/mwrite +bin/mkmanifest +@mode 644 +man/man1/mattrib.1 +man/man1/mcd.1 +man/man1/mcopy.1 +man/man1/mdel.1 +man/man1/mdir.1 +man/man1/mformat.1 +man/man1/mlabel.1 +man/man1/mmd.1 +man/man1/mrd.1 +man/man1/mread.1 +man/man1/mren.1 +man/man1/mtools.1 +man/man1/mtype.1 +man/man1/mwrite.1 +man/man1/mkmanifest.1 -- cgit v1.2.3