summaryrefslogtreecommitdiff
path: root/misc/mmv
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-08-15 21:09:04 +0000
committeragc <agc@pkgsrc.org>2001-08-15 21:09:04 +0000
commitcfa597f5f0898d1aeada79421fbaa3eaf7b597b3 (patch)
tree3440762492bba7a8e98ebec44c79c3554ab3e0bb /misc/mmv
parent17e50b4a2a691d7e00d9681b794864b47f6ad00f (diff)
downloadpkgsrc-cfa597f5f0898d1aeada79421fbaa3eaf7b597b3.tar.gz
Initial import of mmv-1.0b, a package to rename files based on wildcard
patterns. mmv is a program to move/copy/append/link multiple files according to a set of wildcard patterns. This multiple action is performed safely, i.e. without any unexpected deletion of files due to collisions of target names with existing filenames or with other target names.
Diffstat (limited to 'misc/mmv')
-rw-r--r--misc/mmv/Makefile17
-rw-r--r--misc/mmv/distinfo6
-rw-r--r--misc/mmv/patches/patch-aa28
-rw-r--r--misc/mmv/patches/patch-ab18
-rw-r--r--misc/mmv/pkg/DESCR4
-rw-r--r--misc/mmv/pkg/PLIST3
6 files changed, 76 insertions, 0 deletions
diff --git a/misc/mmv/Makefile b/misc/mmv/Makefile
new file mode 100644
index 00000000000..ed48af3d8d2
--- /dev/null
+++ b/misc/mmv/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/08/15 21:09:04 agc Exp $
+#
+
+DISTNAME= mmv_1.01b.orig
+PKGNAME= mmv-1.0b
+CATEGORIES= misc
+MASTER_SITES= http://ftp.debian.org/debian/dists/potato/main/source/utils/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= # none
+COMMENT= mmv is a program to move multiple files using wildcard patterns
+
+WRKSRC= ${WRKDIR}/mmv-1.01b.orig
+
+ALL_TARGET= mmv
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/mmv/distinfo b/misc/mmv/distinfo
new file mode 100644
index 00000000000..cdef74bac9d
--- /dev/null
+++ b/misc/mmv/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/08/15 21:09:04 agc Exp $
+
+SHA1 (mmv_1.01b.orig.tar.gz) = 538a26b1d7e8b9bc286843e6aa2d8d959d8914bb
+Size (mmv_1.01b.orig.tar.gz) = 25656 bytes
+SHA1 (patch-aa) = 4e994858b6ec82337d984371ea3401bd419e0d46
+SHA1 (patch-ab) = 01632b45d11da9499530e959b6832c502bd0a474
diff --git a/misc/mmv/patches/patch-aa b/misc/mmv/patches/patch-aa
new file mode 100644
index 00000000000..77f5a4fbbbb
--- /dev/null
+++ b/misc/mmv/patches/patch-aa
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/08/15 21:09:04 agc Exp $
+
+--- Makefile 2001/08/15 21:53:53 1.1
++++ Makefile 2001/08/15 21:57:23
+@@ -1,16 +1,16 @@
+ # Possible defines in CONF:
+ # IS_MSDOS IS_SYSV IS_V7 IS_BSD HAS_DIRENT HAS_RENAME MV_DIR
+
+-CC =gcc -traditional
+-LD =$(CC)
+-CONF =-DIS_SYSV -DHAS_DIRENT -DHAS_RENAME
+-CFLAGS =-O2 -m486 $(CONF)
+-LDFLAGS =-s -N
++#CC =gcc -traditional
++#LD =$(CC)
++CCFLAGS+= -DIS_BSD -DHAS_DIRENT -DHAS_RENAME
++#CFLAGS =-O2 $(CONF)
++#LDFLAGS =-s -N
+
+ #IBIN =$(LOCAL)$(ARCH)/bin
+ #IMAN =$(LOCAL)$(ANY)/man
+-IBIN=$(DESTDIR)/usr/bin/
+-IMAN=$(DESTDIR)/usr/man/
++IBIN=${PREFIX}/bin
++IMAN=${PREFIX}/man
+
+ mmv: mmv.o
+
diff --git a/misc/mmv/patches/patch-ab b/misc/mmv/patches/patch-ab
new file mode 100644
index 00000000000..d636cf8a5ad
--- /dev/null
+++ b/misc/mmv/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/08/15 21:09:04 agc Exp $
+
+--- mmv.c 2001/08/15 21:55:50 1.1
++++ mmv.c 2001/08/15 21:56:37
+@@ -123,10 +123,13 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/file.h>
++#include <sys/param.h>
+
++#if !(defined(BSD) && BSD >= 199306)
+ extern char *getenv();
+ extern long lseek();
+ extern char *malloc();
++#endif
+
+ #ifdef HAS_DIRENT
+ #include <dirent.h>
diff --git a/misc/mmv/pkg/DESCR b/misc/mmv/pkg/DESCR
new file mode 100644
index 00000000000..32892a1ef46
--- /dev/null
+++ b/misc/mmv/pkg/DESCR
@@ -0,0 +1,4 @@
+mmv is a program to move/copy/append/link multiple files according to
+a set of wildcard patterns. This multiple action is performed safely,
+i.e. without any unexpected deletion of files due to collisions of
+target names with existing filenames or with other target names.
diff --git a/misc/mmv/pkg/PLIST b/misc/mmv/pkg/PLIST
new file mode 100644
index 00000000000..ad795d7acef
--- /dev/null
+++ b/misc/mmv/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/08/15 21:09:04 agc Exp $
+bin/mmv
+man/man1/mmv.1