aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/mtools/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-01-21 08:57:16 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-01-21 08:57:16 +0000
commitb045b7eb79a0558e94e4e2be16438232973f40d2 (patch)
treefa2a54a69b8bd82397837e01c9d425ca80f4d1fe /emulators/mtools/Makefile
parentbcc5c3461d70f8a9c3b074580fd790ba8a9c4344 (diff)
Author patch. Adds recursive mcopy, mdir, mattrib. Bugfixes to FAT32
handling. Adds mshowfat cmd.
Diffstat (limited to 'emulators/mtools/Makefile')
-rw-r--r--emulators/mtools/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile
index 1c1ac7f13efe..09e9d4f04ff7 100644
--- a/emulators/mtools/Makefile
+++ b/emulators/mtools/Makefile
@@ -3,7 +3,7 @@
# Date created: 5 October 1994
# Whom: jmz
#
-# $Id: Makefile,v 1.17 1997/10/08 21:12:22 jmz Exp $
+# $Id: Makefile,v 1.18 1997/12/24 01:21:25 alex Exp $
#
DISTNAME= mtools-3.8
@@ -11,16 +11,21 @@ CATEGORIES= emulators
MASTER_SITES= ftp://linux.wauug.org/pub/knaff/mtools/ \
ftp://sunsite.unc.edu/pub/Linux/utils/disk-management/
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= mtools-3.8-1611.diff.gz
+
MAINTAINER= jmz@FreeBSD.org
+PATCH_DIST_STRIP= -p1
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --enable-xdf --prefix=${PREFIX}
USE_GMAKE= yes
MAN1= 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 mtoolstest.1 mtools.1 mtype.1 mwrite.1 mzip.1
+ mdir.1 mdu.1 mformat.1 mkmanifest.1 mlabel.1 mmd.1 mmount.1 mmove.1 \
+ mrd.1 mread.1 mren.1 mshowfat.1 mtoolstest.1 mtools.1 mtype.1 mwrite.1 \
+ mzip.1
MAN5= mtools.5
post-patch:
@@ -28,6 +33,9 @@ post-patch:
mv $$f $$f.orig; \
sed -e s:/etc/mtools.conf:${PREFIX}/etc/mtools.conf: \
< $$f.orig > $$f; done
+ @cd ${WRKSRC}/scripts; for f in ocopy xcopy; do \
+ if [ ! -f $$f -a -f $$f.orig ]; then cp -p $$f.orig $$f ; fi \
+ done
post-install:
@install -c ${WRKSRC}/mtools.conf ${PREFIX}/etc