Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2012 02:46:51 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/168049: x11-fm/gprename: Update to version 2.7
Message-ID:  <20120518024651.daf8f709.tkato432@yahoo.com>
Resent-Message-ID: <201205171810.q4HIAAgT099076@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         168049
>Category:       ports
>Synopsis:       x11-fm/gprename: Update to version 2.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 17 18:10:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 2.7

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/x11-fm/gprename/Makefile x11-fm/gprename/Makefile
--- /usr/ports/x11-fm/gprename/Makefile	2012-01-29 02:49:46.000000000 +0900
+++ x11-fm/gprename/Makefile	2012-05-17 21:56:44.000000000 +0900
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	gprename
-PORTVERSION=	2.6.6
+PORTVERSION=	2.7
 PORTEPOCH=	1
 CATEGORIES=	x11-fm
 MASTER_SITES=	SF
@@ -21,7 +21,7 @@
 RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
 		${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
+WRKSRC=		${WRKDIR}/${PORTNAME}/trunk
 
 USE_BZIP2=	yes
 USE_PERL5_RUN=	yes
@@ -30,13 +30,17 @@
 
 MAN1=		gprename.1
 
+post-extract:
+	@${RM} -rf ${WRKSRC}/build
+
 post-patch:
-	@${REINPLACE_CMD} 's|/usr/|${PREFIX}/|' \
-		${WRKSRC}/bin/gprename
-	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; \
-		s|$$(CURDIR)|$$(.CURDIR)|; \
-		s|share/man|man|;' \
-		${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e \
+		'/^#!/s|/.*|${PERL}|' ${WRKSRC}/bin/gprename
+	@${REINPLACE_CMD} -e \
+		's|/usr/local|${PREFIX}| ; \
+		 s|$$(CURDIR)|$$(.CURDIR)| ; \
+		 s|uninstall build|build| ; \
+		 s|share/man|man|' ${WRKSRC}/Makefile
 
 post-install:
 .if !defined(NOPORTDOCS)
diff -urN /usr/ports/x11-fm/gprename/distinfo x11-fm/gprename/distinfo
--- /usr/ports/x11-fm/gprename/distinfo	2012-01-29 02:49:46.000000000 +0900
+++ x11-fm/gprename/distinfo	2012-05-17 02:48:25.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (gprename-2.6.6.tar.bz2) = 6c56824ef3d98a8e1470673048250c9193685a777096e478b32b84c784d09199
-SIZE (gprename-2.6.6.tar.bz2) = 55118
+SHA256 (gprename-2.7.tar.bz2) = fa80ae7d4280d46ed01c4301711e713a787a209ff4e64b3f06142ec2c3317aa4
+SIZE (gprename-2.7.tar.bz2) = 243729
diff -urN /usr/ports/x11-fm/gprename/pkg-plist x11-fm/gprename/pkg-plist
--- /usr/ports/x11-fm/gprename/pkg-plist	2012-01-29 02:49:46.000000000 +0900
+++ x11-fm/gprename/pkg-plist	2012-05-17 03:00:37.000000000 +0900
@@ -9,6 +9,7 @@
 share/locale/fr/LC_MESSAGES/gprename.mo
 share/locale/id/LC_MESSAGES/gprename.mo
 share/locale/it/LC_MESSAGES/gprename.mo
+share/locale/lt/LC_MESSAGES/gprename.mo
 share/locale/nl/LC_MESSAGES/gprename.mo
 share/locale/pl/LC_MESSAGES/gprename.mo
 share/locale/pt_BR/LC_MESSAGES/gprename.mo
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120518024651.daf8f709.tkato432>