aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/gprename
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-05-25 23:18:01 +0800
committermiwi <miwi@FreeBSD.org>2012-05-25 23:18:01 +0800
commitf0498ad80d0175b4bbc688585e3a0a0cd0b11b78 (patch)
treee0d30e4d5d509ac67dd5a117b2de9c1b69cbe0bc /x11-fm/gprename
parent0e5e6e4a245cbfd882b6ecf91e2c58df3e6d6867 (diff)
downloadfreebsd-ports-gnome-f0498ad80d0175b4bbc688585e3a0a0cd0b11b78.tar.gz
freebsd-ports-gnome-f0498ad80d0175b4bbc688585e3a0a0cd0b11b78.tar.zst
freebsd-ports-gnome-f0498ad80d0175b4bbc688585e3a0a0cd0b11b78.zip
- Update to 2.7
PR: 168049 Submitted by: Ports Fury
Diffstat (limited to 'x11-fm/gprename')
-rw-r--r--x11-fm/gprename/Makefile20
-rw-r--r--x11-fm/gprename/distinfo4
-rw-r--r--x11-fm/gprename/pkg-plist1
3 files changed, 15 insertions, 10 deletions
diff --git a/x11-fm/gprename/Makefile b/x11-fm/gprename/Makefile
index e5a8cc01d8e7..7c7c417cafaf 100644
--- a/x11-fm/gprename/Makefile
+++ b/x11-fm/gprename/Makefile
@@ -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 @@ LICENSE_FILE= ${WRKSRC}/COPYING
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 @@ NO_BUILD= yes
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 --git a/x11-fm/gprename/distinfo b/x11-fm/gprename/distinfo
index 3856cfcdd512..70dbd28f25e2 100644
--- a/x11-fm/gprename/distinfo
+++ b/x11-fm/gprename/distinfo
@@ -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 --git a/x11-fm/gprename/pkg-plist b/x11-fm/gprename/pkg-plist
index f60709d75ac3..fd72ca0a0d28 100644
--- a/x11-fm/gprename/pkg-plist
+++ b/x11-fm/gprename/pkg-plist
@@ -9,6 +9,7 @@ share/locale/et/LC_MESSAGES/gprename.mo
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