summaryrefslogtreecommitdiff
path: root/emulators/mtools
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1996-05-27 14:10:29 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1996-05-27 14:10:29 +0000
commitdbf23d7b3ef2280d19593a3e419294ae9c80d076 (patch)
tree02ae4a9cc20594769577a5e60eb046a9af1c61e5 /emulators/mtools
parentUse ${INSTALL} to install the xpm files rather than cp, otherwise you get (diff)
Upgrade to version 3.0
Notes
Notes: svn path=/head/; revision=3145
Diffstat (limited to 'emulators/mtools')
-rw-r--r--emulators/mtools/Makefile29
-rw-r--r--emulators/mtools/distinfo2
-rw-r--r--emulators/mtools/files/patch-225
-rw-r--r--emulators/mtools/pkg-descr40
-rw-r--r--emulators/mtools/pkg-plist19
5 files changed, 61 insertions, 54 deletions
diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile
index 658486038119..39b767faffe0 100644
--- a/emulators/mtools/Makefile
+++ b/emulators/mtools/Makefile
@@ -1,22 +1,35 @@
# New ports collection makefile for: mtools
-# Version required: 2.0.7
+# Version required: 3.0
# Date created: 5 October 1994
# Whom: jmz
#
-# $Id: Makefile,v 1.5 1995/07/13 01:13:14 asami Exp $
+# $Id: Makefile,v 1.6 1995/11/22 11:48:15 asami Exp $
#
-DISTNAME= mtools-2.0.7
+DISTNAME= mtools-3.0
CATEGORIES+= emulators
MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/
MAINTAINER= jmz@FreeBSD.org
-MAKE_FLAGS= PREFIX=${PREFIX}
-MAKEFILE=
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
-pre-install:
- @mkdir -p ${PREFIX}/bin
- @mkdir -p ${PREFIX}/man/man1
+post-patch:
+ @cd ${WRKSRC}; for f in config.c mtools.5 mtools.texi; do \
+ mv $$f $$f.orig; \
+ sed -e s:/etc/mtools.conf:${PREFIX}/etc/mtools.conf: \
+ < $$f.orig > $$f; done
+
+post-install:
+ @install -c ${WRKSRC}/mtools.conf ${PREFIX}/etc
+.if !defined(NOMANCOMPRESS)
+ @for f in mattrib.1 mbadblocks.1 mcd.1 mcopy.1 mdel.1 mdeltree.1 \
+ mdir.1 mformat.1 mkmanifest.1 mlabel.1 mmd.1 mmount.1 mmove.1 mrd.1 \
+ mread.1 mren.1 mtest.1 mtools.1 mtype.1 mwrite.1; do \
+ gzip -fn ${PREFIX}/man/man1/$$f; done
+ @gzip -fn ${PREFIX}/man/man5/mtools.5
+.endif
+ @rm -f ${PREFIX}/bin/lz
.include <bsd.port.mk>
diff --git a/emulators/mtools/distinfo b/emulators/mtools/distinfo
index a03cd7d33170..adf3483ce576 100644
--- a/emulators/mtools/distinfo
+++ b/emulators/mtools/distinfo
@@ -1 +1 @@
-MD5 (mtools-2.0.7.tar.gz) = 00683be21ff336523a24dd46fb658c0f
+MD5 (mtools-3.0.tar.gz) = 6148e796bbb8274001084317dd565aad
diff --git a/emulators/mtools/files/patch-2 b/emulators/mtools/files/patch-2
new file mode 100644
index 000000000000..bfccda0863fe
--- /dev/null
+++ b/emulators/mtools/files/patch-2
@@ -0,0 +1,25 @@
+*** mtools.conf~ Wed Jan 31 22:02:11 1996
+--- mtools.conf Mon May 27 05:03:09 1996
+***************
+*** 2,11 ****
+ drive b: file="/dev/fd1" exclusive
+
+ # First SCSI hard disk partition
+! drive c: file="/dev/sda1"
+
+ # First IDE hard disk partition
+! #drive c: file="/dev/hda1"
+
+ #dosemu floppy image
+ drive m: file="/var/lib/dosemu/diskimage"
+--- 2,11 ----
+ drive b: file="/dev/fd1" exclusive
+
+ # First SCSI hard disk partition
+! drive c: file="/dev/sd0s1"
+
+ # First IDE hard disk partition
+! #drive c: file="/dev/wd0s1"
+
+ #dosemu floppy image
+ drive m: file="/var/lib/dosemu/diskimage"
diff --git a/emulators/mtools/pkg-descr b/emulators/mtools/pkg-descr
index 0cbd8e28a485..f120e491e04c 100644
--- a/emulators/mtools/pkg-descr
+++ b/emulators/mtools/pkg-descr
@@ -36,43 +36,3 @@ 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
index 6ec81c49185d..90b0d1506dbd 100644
--- a/emulators/mtools/pkg-plist
+++ b/emulators/mtools/pkg-plist
@@ -1,33 +1,42 @@
-@cd /usr/local
-@owner bin
-@mode 755
bin/mattrib
bin/mcd
bin/mcopy
bin/mdel
+bin/mdeltree
bin/mdir
bin/mformat
bin/mlabel
bin/mmd
+bin/mmount
+bin/mmove
bin/mrd
bin/mread
bin/mren
+bin/mtest
+bin/mtools
bin/mtype
bin/mwrite
bin/mkmanifest
-@mode 644
+info/mtools.info
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/mtest.1
man/man1/mtools.1
man/man1/mtype.1
man/man1/mwrite.1
-man/man1/mkmanifest.1
+man/man5/mtools.5
+etc/mtools.conf \ No newline at end of file