diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-07-12 07:44:38 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-07-12 07:44:38 +0000 |
commit | 6e5d875894dbd7104996b30feeeb9bd8e52e06fe (patch) | |
tree | 92450f1adf972487300dee2fa1e056c53e566f00 | |
parent | 24a621975064aa04d2a38755d5e8f0a4b2ddae76 (diff) | |
download | ports-6e5d875894dbd7104996b30feeeb9bd8e52e06fe.tar.gz ports-6e5d875894dbd7104996b30feeeb9bd8e52e06fe.zip |
Notes
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/rename/Makefile | 26 | ||||
-rw-r--r-- | sysutils/rename/distinfo | 2 | ||||
-rw-r--r-- | sysutils/rename/files/patch-Makefile.in | 33 | ||||
-rw-r--r-- | sysutils/rename/pkg-descr | 10 |
5 files changed, 72 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 3b5264d726cf..51034811c54c 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -420,6 +420,7 @@ SUBDIR += rdiff-backup-devel SUBDIR += readlink SUBDIR += reed + SUBDIR += rename SUBDIR += reoback SUBDIR += rfstool SUBDIR += rlogview diff --git a/sysutils/rename/Makefile b/sysutils/rename/Makefile new file mode 100644 index 000000000000..ec94cf7f1bf6 --- /dev/null +++ b/sysutils/rename/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: rename +# Date created: 7 July 2005 +# Whom: Chad Castleberry AKA ritalin +# +# $FreeBSD$ +# + +PORTNAME= rename +PORTVERSION= 1.3 +CATEGORIES= sysutils +MASTER_SITES= http://portfolio.iu.edu/crcastle/ + +MAINTAINER= crcastle@ius.edu +COMMENT= Rename multiple files using regular expressions + +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_GETOPT_LONG=yes + +PLIST_FILES= bin/${PORTNAME} +MAN1= rename.1 + +post-extract: + @${RM} -f ${WRKSRC}/config.cache + +.include <bsd.port.mk> diff --git a/sysutils/rename/distinfo b/sysutils/rename/distinfo new file mode 100644 index 000000000000..1f95067ae6f8 --- /dev/null +++ b/sysutils/rename/distinfo @@ -0,0 +1,2 @@ +MD5 (rename-1.3.tar.gz) = 00817ce4509a6c7aaf1a20b0ade581cc +SIZE (rename-1.3.tar.gz) = 88118 diff --git a/sysutils/rename/files/patch-Makefile.in b/sysutils/rename/files/patch-Makefile.in new file mode 100644 index 000000000000..2c8f85d7304c --- /dev/null +++ b/sysutils/rename/files/patch-Makefile.in @@ -0,0 +1,33 @@ +--- Makefile.in.orig Tue Jul 12 04:27:47 2005 ++++ Makefile.in Tue Jul 12 09:40:39 2005 +@@ -8,7 +8,7 @@ + MANDIR = @prefix@/man/man1 + + DEFINES = -DHAVE_CONFIG_H ${VERSION} +-CFLAGS = -Wall -O3 ${DEBUG} ${DEFINES} ++CFLAGS += -Wall ${DEBUG} ${DEFINES} + + + OBJS = rename.o fixtoken.o misc.o @LIBOBJS@ +@@ -16,7 +16,7 @@ + all: rename + + rename: $(OBJS) +- $(CC) $(CFLAGS) -o $@ $^ ++ $(CC) $(CFLAGS) @LDFLAGS@ -o $@ $^ + strip $@ + + static: $(OBJS) +@@ -32,9 +32,11 @@ + install: + install -o root -g wheel -m 0755 -s rename $(BINDIR) + install -o root -g wheel -m 0644 rename.1 $(MANDIR) +- ++ + rename.o: rename.c rename.h + regex.o: regex.c regex.h + fixtoken.o: fixtoken.c + misc.o: misc.c + ++.c.o: ++ $(CC) $(CFLAGS) @CPPFLAGS@ -o $@ -c $< diff --git a/sysutils/rename/pkg-descr b/sysutils/rename/pkg-descr new file mode 100644 index 000000000000..b0434d1ce1d2 --- /dev/null +++ b/sysutils/rename/pkg-descr @@ -0,0 +1,10 @@ +Rename is a quick and powerful tool written in C, featuring extended regular +expression support for searching and substituting pattern strings in filenames. + +Rename can rename, convert to lowercase/uppercase, and change the ownership of +a large number of files. + +WWW: http://rename.berlios.de/ + +- Chad +crcastle@ius.edu |