mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
Author patch. Adds recursive mcopy, mdir, mattrib. Bugfixes to FAT32
handling. Adds mshowfat cmd.
This commit is contained in:
parent
bcc5c3461d
commit
b045b7eb79
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=9391
4 changed files with 28 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
MD5 (mtools-3.8.tar.gz) = 837176ae3ef9ba3ab0aff6833dfa60b6
|
||||
MD5 (mtools-3.8-1611.diff.gz) = c44f15782f3a9371774856dfbd1ee421
|
||||
|
|
11
emulators/mtools/files/patch-d
Normal file
11
emulators/mtools/files/patch-d
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- configure.38-1611 Wed Jan 21 00:15:20 1998
|
||||
+++ configure Wed Jan 21 00:19:56 1998
|
||||
@@ -2067,7 +2067,7 @@
|
||||
fi
|
||||
|
||||
echo "$ac_t""$cf_cv_dcl_sys_errlist" 1>&6
|
||||
-test $cf_cv_dcl_sys_errlist = no && cat >> confdefs.h <<\EOF
|
||||
+test $cf_cv_dcl_sys_errlist = no || cat >> confdefs.h <<\EOF
|
||||
#define DECL_SYS_ERRLIST 1
|
||||
EOF
|
||||
|
|
@ -46,6 +46,9 @@ bin/mkmanifest
|
|||
bin/mxtar
|
||||
bin/xcopy
|
||||
bin/mcomp
|
||||
bin/lz
|
||||
bin/mdu
|
||||
bin/mshowfat
|
||||
@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
|
||||
|
@ -58,6 +61,7 @@ man/man1/mcopy.1.gz
|
|||
man/man1/mdel.1.gz
|
||||
man/man1/mdeltree.1.gz
|
||||
man/man1/mdir.1.gz
|
||||
man/man1/mdu.1.gz
|
||||
man/man1/mformat.1.gz
|
||||
man/man1/mkmanifest.1.gz
|
||||
man/man1/mlabel.1.gz
|
||||
|
@ -67,6 +71,7 @@ man/man1/mmove.1.gz
|
|||
man/man1/mrd.1.gz
|
||||
man/man1/mread.1.gz
|
||||
man/man1/mren.1.gz
|
||||
man/man1/mshowfat.1.gz
|
||||
man/man1/mtoolstest.1.gz
|
||||
man/man1/mtools.1.gz
|
||||
man/man1/mtype.1.gz
|
||||
|
|
Loading…
Add table
Reference in a new issue