aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/mtools
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-10-06 06:32:58 +0800
committerjkh <jkh@FreeBSD.org>1994-10-06 06:32:58 +0800
commitcdfa0d442a2b33626471934ac09b7992189b5553 (patch)
tree1f1217d1b63c23b6c8d26cc5f676296cade21851 /emulators/mtools
parent28590a9128a8bbc33a58881bb6c079e421550481 (diff)
downloadfreebsd-ports-graphics-cdfa0d442a2b33626471934ac09b7992189b5553.tar.gz
freebsd-ports-graphics-cdfa0d442a2b33626471934ac09b7992189b5553.tar.zst
freebsd-ports-graphics-cdfa0d442a2b33626471934ac09b7992189b5553.zip
Jean-Marc Zucconi's mtools port.
Submitted by: jmz
Diffstat (limited to 'emulators/mtools')
-rw-r--r--emulators/mtools/Makefile11
-rw-r--r--emulators/mtools/pkg-descr78
-rw-r--r--emulators/mtools/pkg-plist33
3 files changed, 122 insertions, 0 deletions
diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile
new file mode 100644
index 00000000000..9335fdd1165
--- /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 <bsd.port.mk>
diff --git a/emulators/mtools/pkg-descr b/emulators/mtools/pkg-descr
new file mode 100644
index 00000000000..0cbd8e28a48
--- /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 00000000000..6ec81c49185
--- /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