View | Details | Raw Unified | Return to bug 191041
Collapse All | Expand All

(-)Makefile (-9 / +6 lines)
Lines 3-12 Link Here
3
3
4
PORTNAME=	rename
4
PORTNAME=	rename
5
PORTVERSION=	1.3
5
PORTVERSION=	1.3
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	sysutils
7
CATEGORIES=	sysutils
8
MASTER_SITES=	http://mirror2.unixfreunde.de/ \
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}x
9
		http://freebsd.unixfreunde.de/sources/
9
DISTNAME=	${PORTNAME}-${PORTVERSION}
10
10
11
MAINTAINER=	jsa@FreeBSD.org
11
MAINTAINER=	jsa@FreeBSD.org
12
COMMENT=	Rename multiple files using regular expressions
12
COMMENT=	Rename multiple files using regular expressions
Lines 14-24 Link Here
14
GNU_CONFIGURE=	yes
14
GNU_CONFIGURE=	yes
15
USES=		gmake
15
USES=		gmake
16
16
17
PLIST_FILES=	bin/${PORTNAME}
17
do-install:
18
MAN1=		rename.1
18
	${INSTALL_PROGRAM} ${WRKSRC}/rename ${STAGEDIR}${PREFIX}/bin
19
	${INSTALL_MAN} ${WRKSRC}/rename.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
19
20
20
NO_STAGE=	yes
21
post-extract:
22
	@${RM} -f ${WRKSRC}/config.cache
23
24
.include <bsd.port.mk>
21
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (rename-1.3.tar.gz) = d6b706344c9d89d225e51cc261ae973903a41bdbf971b6f4b3ad0d48415ee67a
1
SHA256 (rename-1.3.tar.gz) = 02aed28f46b22213490a94b8490ee2a84b12c0962db33b4ea88c8c67a7adb8f4
2
SIZE (rename-1.3.tar.gz) = 88118
2
SIZE (rename-1.3.tar.gz) = 83854
(-)files/patch-Makefile.in (-24 / +2 lines)
Lines 1-5 Link Here
1
--- Makefile.in.orig	Tue Jul 12 04:27:47 2005
1
--- Makefile.in.orig	2002-05-19 04:28:34.000000000 +0100
2
+++ Makefile.in	Tue Jul 12 09:40:39 2005
2
+++ Makefile.in	2014-06-14 22:51:10.000000000 +0100
3
@@ -8,7 +8,7 @@
3
@@ -8,7 +8,7 @@
4
 MANDIR = @prefix@/man/man1
4
 MANDIR = @prefix@/man/man1
5
 
5
 
Lines 9-33 Link Here
9
 
9
 
10
 
10
 
11
 OBJS = rename.o fixtoken.o misc.o @LIBOBJS@
11
 OBJS = rename.o fixtoken.o misc.o @LIBOBJS@
12
@@ -16,7 +16,7 @@
13
 all: rename
14
 
15
 rename:	$(OBJS)
16
-	$(CC) $(CFLAGS) -o $@ $^
17
+	$(CC) $(CFLAGS) @LDFLAGS@ -o $@ $^
18
 	strip $@
19
 
20
 static:	$(OBJS)
21
@@ -32,9 +32,11 @@
22
 install:
23
 	install -o root -g wheel -m 0755 -s rename $(BINDIR)
24
 	install -o root -g wheel -m 0644 rename.1 $(MANDIR)
25
-	
26
+
27
 rename.o: rename.c rename.h
28
 regex.o: regex.c regex.h
29
 fixtoken.o: fixtoken.c
30
 misc.o: misc.c
31
 
32
+.c.o:
33
+	$(CC) $(CFLAGS) @CPPFLAGS@ -o $@ -c $<
(-)pkg-descr (-1 / +1 lines)
Lines 4-7 Link Here
4
Rename can rename, convert to lowercase/uppercase, and change the ownership of
4
Rename can rename, convert to lowercase/uppercase, and change the ownership of
5
a large number of files.
5
a large number of files.
6
6
7
WWW: http://rename.berlios.de/
7
WWW: http://sourceforge.net/projects/rename/
(-)pkg-plist (+2 lines)
Line 0 Link Here
1
bin/rename
2
man/man1/rename.1.gz

Return to bug 191041