# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # rename # rename/Makefile # rename/distinfo # rename/pkg-descr # rename/files # rename/files/patch-Makefile # echo c - rename mkdir -p rename > /dev/null 2>&1 echo x - rename/Makefile sed 's/^X//' >rename/Makefile << 'END-of-rename/Makefile' X# New ports collection makefile for: rename X# Date created: 7 July 2005 X# Whom: Chad Castleberry AKA ritalin X# X# $FreeBSD$ X# X XPORTNAME= rename XPORTVERSION= 1.3 XCATEGORIES= sysutils XMASTER_SITES= http://portfolio.iu.edu/crcastle/ X XMAINTAINER= crcastle@ius.edu XCOMMENT= Rename tool can rename multiple files using regex X XMAN1= rename.1 XUSE_GMAKE= yes X XPLIST_FILES= bin/${PORTNAME} X X.include <bsd.port.mk> END-of-rename/Makefile echo x - rename/distinfo sed 's/^X//' >rename/distinfo << 'END-of-rename/distinfo' XMD5 (rename-1.3.tar.gz) = 00817ce4509a6c7aaf1a20b0ade581cc XSIZE (rename-1.3.tar.gz) = 88118 END-of-rename/distinfo echo x - rename/pkg-descr sed 's/^X//' >rename/pkg-descr << 'END-of-rename/pkg-descr' XRename is a command-line rename tool. It can substitute, Xlowercase, and uppercase largenumbers of file names, Xor change their ownerships. This is a quick and powerful Xtool written in C with extended regular expression support Xfor searching and substituting pattern strings in filenames. X XWWW: http://rename.berlios.de/ X X- Chad Xcrcastle@ius.edu END-of-rename/pkg-descr echo c - rename/files mkdir -p rename/files > /dev/null 2>&1 echo x - rename/files/patch-Makefile sed 's/^X//' >rename/files/patch-Makefile << 'END-of-rename/files/patch-Makefile' X--- Makefile.orig Mon Jul 11 23:33:21 2005 X+++ Makefile Mon Jul 11 23:34:45 2005 X@@ -3,13 +3,13 @@ X #DEBUG = -g -DDEBUG X VERSION = -DVERSION=\"1.3\" X X-CC = gcc X-PREFIX = /usr/local X-BINDIR = /usr/local/bin X-MANDIR = /usr/local/man/man1 X+#CC = gcc X+#PREFIX = /usr/local X+BINDIR = ${PREFIX}/bin X+MANDIR = ${PREFIX}/man/man1 X X DEFINES = -DHAVE_CONFIG_H ${VERSION} X-CFLAGS = -Wall -O3 ${DEBUG} ${DEFINES} X+CFLAGS += -Wall ${DEBUG} ${DEFINES} X X X OBJS = rename.o fixtoken.o misc.o END-of-rename/files/patch-Makefile exit
Responsible Changed From-To: freebsd-ports-bugs->jylefort Take.
State Changed From-To: open->closed Committed, thanks! Notes: - did not build on 4.x - did not respect ${CC} - I have improved pkg-descr and comment