summaryrefslogtreecommitdiff
path: root/sysutils/mtools
diff options
context:
space:
mode:
authoris <is>1998-01-22 15:44:44 +0000
committeris <is>1998-01-22 15:44:44 +0000
commita516c290d019359aa3437a4c66c70f12cfdc2995 (patch)
treef0fc1116e88784b2569af3b0aca1609d50ccaca4 /sysutils/mtools
parentca4993a374d1997a5fb7650c2274ef2940e32a16 (diff)
downloadpkgsrc-a516c290d019359aa3437a4c66c70f12cfdc2995.tar.gz
Initial import of the mtools package, as adapted by me.
Can probably be refined a bit (e.g. patching in correct pathnames into documentation).
Diffstat (limited to 'sysutils/mtools')
-rw-r--r--sysutils/mtools/Makefile16
-rw-r--r--sysutils/mtools/files/md51
-rw-r--r--sysutils/mtools/patches/patch-aa11
-rw-r--r--sysutils/mtools/pkg/COMMENT1
-rw-r--r--sysutils/mtools/pkg/DESCR4
-rw-r--r--sysutils/mtools/pkg/PLIST57
6 files changed, 90 insertions, 0 deletions
diff --git a/sysutils/mtools/Makefile b/sysutils/mtools/Makefile
new file mode 100644
index 00000000000..002f9d44976
--- /dev/null
+++ b/sysutils/mtools/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/01/22 15:44:44 is Exp $
+#
+
+DISTNAME= mtools-3.6
+CATEGORIES= convert
+MASTER_SITES= ${MASTER_SITE_GNU}
+#MASTER_SITES= ftp://ftp.cs.uni-bonn.de/pub/gnu/
+
+MAINTAINER= is@netbsd.org
+
+HAS_CONFIGURE= yes
+USE_GMAKE= yes
+
+CONFIGURE_ARGS+= --prefix=/usr/pkg
+
+.include <bsd.port.mk>
diff --git a/sysutils/mtools/files/md5 b/sysutils/mtools/files/md5
new file mode 100644
index 00000000000..8d90cab911a
--- /dev/null
+++ b/sysutils/mtools/files/md5
@@ -0,0 +1 @@
+MD5 (mtools-3.6.tar.gz) = 87f670df9bec4537598182429c1ffb8e
diff --git a/sysutils/mtools/patches/patch-aa b/sysutils/mtools/patches/patch-aa
new file mode 100644
index 00000000000..73ee3690bb9
--- /dev/null
+++ b/sysutils/mtools/patches/patch-aa
@@ -0,0 +1,11 @@
+--- sysincludes.h.original Wed Jan 21 17:53:59 1998
++++ sysincludes.h Wed Jan 21 17:44:09 1998
+@@ -11,6 +11,8 @@
+ /* */
+ /***********************************************************************/
+
++#include <sys/param.h>
++
+ #ifdef BSD
+ /* on BSD we prefer gettimeofday, ... */
+ # ifdef HAVE_GETTIMEOFDAY
diff --git a/sysutils/mtools/pkg/COMMENT b/sysutils/mtools/pkg/COMMENT
new file mode 100644
index 00000000000..3003b2864e3
--- /dev/null
+++ b/sysutils/mtools/pkg/COMMENT
@@ -0,0 +1 @@
+FAT (MS-DOS, Atari) disk access tools
diff --git a/sysutils/mtools/pkg/DESCR b/sysutils/mtools/pkg/DESCR
new file mode 100644
index 00000000000..5cd82b60d2c
--- /dev/null
+++ b/sysutils/mtools/pkg/DESCR
@@ -0,0 +1,4 @@
+These tools allow you to access MS-DOS or other FAT disks without mounting
+them. You can copy from or to BSD files, list directories, or run various
+other MS-DOS-style file / disk access tool imitates, (in general with an 'm'
+prepended to their name).
diff --git a/sysutils/mtools/pkg/PLIST b/sysutils/mtools/pkg/PLIST
new file mode 100644
index 00000000000..6533c079f86
--- /dev/null
+++ b/sysutils/mtools/pkg/PLIST
@@ -0,0 +1,57 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/01/22 15:44:44 is Exp $
+bin/mattrib
+bin/mcd
+bin/mcopy
+bin/mdel
+bin/mdeltree
+bin/mdir
+bin/mformat
+bin/minfo
+bin/mlabel
+bin/mmd
+bin/mtools
+bin/mmount
+bin/mmove
+bin/mpartition
+bin/mrd
+bin/mread
+bin/mren
+bin/mtype
+bin/mwrite
+bin/mtoolstest
+bin/mbadblocks
+bin/mzip
+bin/mcheck
+bin/mxtar
+bin/uz
+bin/tgz
+bin/xcopy
+bin/mcomp
+bin/lz
+bin/mkmanifest
+@unexec install-info --delete %D/info/mtools.info %D/info/dir
+info/mtools.info
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/mtools.info %D/info/dir
+man/man1/mattrib.1
+man/man1/mbadblocks.1
+man/man1/mcd.1
+man/man1/mcopy.1
+man/man1/mdel.1
+man/man1/mdeltree.1
+man/man1/mdir.1
+man/man1/mformat.1
+man/man1/mkmanifest.1
+man/man1/mlabel.1
+man/man1/mmd.1
+man/man1/mmount.1
+man/man1/mmove.1
+man/man1/mrd.1
+man/man1/mread.1
+man/man1/mren.1
+man/man1/mtoolstest.1
+man/man1/mtools.1
+man/man1/mtype.1
+man/man1/mwrite.1
+man/man1/mzip.1
+man/man5/mtools.5