mtools-3.9.1, distribution patch 1502.
This commit is contained in:
parent
0f1b7efc9d
commit
8b1af000e8
24
sysutils/mtools/Makefile
Normal file
24
sysutils/mtools/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1999/02/28 11:18:13 fgsch Exp $
|
||||
#
|
||||
|
||||
DISTNAME= mtools-3.9.1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ftp://ftp.tux.org/pub/tux/knaff/mtools/
|
||||
|
||||
PATCH_SITES= ftp://ftp.tux.org/pub/tux/knaff/mtools/
|
||||
PATCHFILES= mtools-3.9.1-1502.diff.gz
|
||||
|
||||
MAINTAINER= ports@openbsd.org
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
INFO_FILES= mtools.info
|
||||
|
||||
pre-patch:
|
||||
@${LN} -s . ${WRKSRC}/mtools
|
||||
|
||||
post-patch:
|
||||
@${RM} ${WRKSRC}/mtools
|
||||
|
||||
.include <bsd.port.mk>
|
2
sysutils/mtools/files/md5
Normal file
2
sysutils/mtools/files/md5
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (mtools-3.9.1.tar.gz) = 2604651c49fb42c612ac4679054b2317
|
||||
MD5 (mtools-3.9.1-1502.diff.gz) = 58658813f1b0bd4e081c2b4ed5de2b38
|
49
sysutils/mtools/patches/patch-aa
Normal file
49
sysutils/mtools/patches/patch-aa
Normal file
@ -0,0 +1,49 @@
|
||||
--- Makefile.in.orig Sun Feb 28 07:17:39 1999
|
||||
+++ Makefile.in Sun Feb 28 07:22:16 1999
|
||||
@@ -25,7 +25,7 @@
|
||||
srcdir=@srcdir@
|
||||
VPATH=@srcdir@
|
||||
|
||||
-prefix = @prefix@
|
||||
+prefix = ${PREFIX}
|
||||
exec_prefix = @exec_prefix@
|
||||
bindir = @bindir@
|
||||
infodir = @infodir@
|
||||
@@ -45,9 +45,10 @@
|
||||
MACHDEPLIBS = @MACHDEPLIBS@
|
||||
LN_S = @LN_S@
|
||||
|
||||
-INSTALL = @INSTALL@
|
||||
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
-INSTALL_DATA = @INSTALL_DATA@
|
||||
+INSTALL_PROGRAM = ${BSD_INSTALL_PROGRAM}
|
||||
+INSTALL_DATA = ${BSD_INSTALL_DATA}
|
||||
+INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT}
|
||||
+INSTALL_MAN = ${BSD_INSTALL_MAN}
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .o .c
|
||||
@@ -200,7 +201,7 @@
|
||||
install-scripts: $(bindir)/mtools
|
||||
@$(top_srcdir)/mkinstalldirs $(bindir)
|
||||
@for j in $(SCRIPTS) ; do \
|
||||
- $(INSTALL_PROGRAM) $(srcdir)/scripts/$$j $(bindir)/$$j ; \
|
||||
+ $(INSTALL_SCRIPT) $(srcdir)/scripts/$$j $(bindir)/$$j ; \
|
||||
echo $(bindir)/$$j ; \
|
||||
done
|
||||
rm -f $(bindir)/lz
|
||||
@@ -209,12 +210,12 @@
|
||||
install-man:
|
||||
@$(top_srcdir)/mkinstalldirs $(MAN1DIR)
|
||||
@for j in $(MAN1); do \
|
||||
- $(INSTALL_DATA) $(srcdir)/$$j $(MAN1DIR)/$$j ; \
|
||||
+ $(INSTALL_MAN) $(srcdir)/$$j $(MAN1DIR)/$$j ; \
|
||||
echo $(MAN1DIR)/$$j ; \
|
||||
done
|
||||
@$(top_srcdir)/mkinstalldirs $(MAN5DIR)
|
||||
@for j in $(MAN5); do \
|
||||
- $(INSTALL_DATA) $(srcdir)/$$j $(MAN5DIR)/$$j ; \
|
||||
+ $(INSTALL_MAN) $(srcdir)/$$j $(MAN5DIR)/$$j ; \
|
||||
echo $(MAN5DIR)/$$j ; \
|
||||
done
|
||||
|
11
sysutils/mtools/patches/patch-ab
Normal file
11
sysutils/mtools/patches/patch-ab
Normal file
@ -0,0 +1,11 @@
|
||||
--- devices.c.ori Sun Feb 28 05:14:06 1999
|
||||
+++ devices.c Sun Feb 28 05:10:55 1999
|
||||
@@ -781,7 +781,7 @@
|
||||
#endif /* __FreeBSD__ */
|
||||
|
||||
/*** /jes -- for ALR 486 DX4/100 ***/
|
||||
-#ifdef OS_netbsd
|
||||
+#if defined(OS_netbsd) || defined(OS_openbsd)
|
||||
#define predefined_devices
|
||||
struct device devices[] = {
|
||||
{"/dev/rfd0a", 'A', FHD312},
|
1
sysutils/mtools/pkg/COMMENT
Normal file
1
sysutils/mtools/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
Read/write/list/format DOS disks under Unix.
|
4
sysutils/mtools/pkg/DESCR
Normal file
4
sysutils/mtools/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
Mtools is a collection of utilities to access MS-DOS disks from Unix
|
||||
without mounting them. It supports Win'95 style long file names,
|
||||
OS/2 Xdf disks, ZIP/JAZ disks and 2m disks (store up to 1992k on a
|
||||
high density 3 1/2 disk).
|
53
sysutils/mtools/pkg/PLIST
Normal file
53
sysutils/mtools/pkg/PLIST
Normal file
@ -0,0 +1,53 @@
|
||||
bin/mtools
|
||||
bin/mattrib
|
||||
bin/mcat
|
||||
bin/mcd
|
||||
bin/mcopy
|
||||
bin/mdel
|
||||
bin/mdeltree
|
||||
bin/mdir
|
||||
bin/mdu
|
||||
bin/mformat
|
||||
bin/minfo
|
||||
bin/mlabel
|
||||
bin/mmd
|
||||
bin/mmount
|
||||
bin/mmove
|
||||
bin/mpartition
|
||||
bin/mrd
|
||||
bin/mread
|
||||
bin/mren
|
||||
bin/mtype
|
||||
bin/mtoolstest
|
||||
bin/mshowfat
|
||||
bin/mbadblocks
|
||||
bin/mzip
|
||||
@unexec install-info --delete %D/info/mtools.info %D/info/dir
|
||||
info/mtools.info
|
||||
@exec install-info %D/info/mtools.info %D/info/dir
|
||||
man/man1/floppyd.1
|
||||
man/man1/mattrib.1
|
||||
man/man1/mbadblocks.1
|
||||
man/man1/mcat.1
|
||||
man/man1/mcd.1
|
||||
man/man1/mcopy.1
|
||||
man/man1/mdel.1
|
||||
man/man1/mdeltree.1
|
||||
man/man1/mdir.1
|
||||
man/man1/mdu.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/mpartition.1
|
||||
man/man1/mrd.1
|
||||
man/man1/mread.1
|
||||
man/man1/mren.1
|
||||
man/man1/mshowfat.1
|
||||
man/man1/mtoolstest.1
|
||||
man/man1/mtools.1
|
||||
man/man1/mtype.1
|
||||
man/man1/mzip.1
|
||||
man/man5/mtools.5
|
Loading…
Reference in New Issue
Block a user