aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-03-23 00:17:24 +0800
committerpav <pav@FreeBSD.org>2007-03-23 00:17:24 +0800
commit1dd6210f86a84815a6c1c812face699760780736 (patch)
tree4ea0d94411b012065d1979ca387cdea4c4f72328 /x11-fm
parentebdd61d32bdc219c6fb8d9ae8aa7f5624e347f1f (diff)
downloadfreebsd-ports-gnome-1dd6210f86a84815a6c1c812face699760780736.tar.gz
freebsd-ports-gnome-1dd6210f86a84815a6c1c812face699760780736.tar.zst
freebsd-ports-gnome-1dd6210f86a84815a6c1c812face699760780736.zip
- Update to 2.1
- Take maintainership PR: ports/110602 Submitted by: Martin Tournoij <carpetsmoker@xs4all.nl>
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/gprename/Makefile13
-rw-r--r--x11-fm/gprename/distinfo6
-rw-r--r--x11-fm/gprename/files/gprename.in9
3 files changed, 10 insertions, 18 deletions
diff --git a/x11-fm/gprename/Makefile b/x11-fm/gprename/Makefile
index c2bbd5431a58..3adfdb4ab9da 100644
--- a/x11-fm/gprename/Makefile
+++ b/x11-fm/gprename/Makefile
@@ -6,19 +6,18 @@
#
PORTNAME= gprename
-PORTVERSION= 2.0
+PORTVERSION= 2.1
PORTEPOCH= 1
CATEGORIES= x11-fm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= carpetsmoker@xs4all.nl
COMMENT= Perl script for renaming multiple files
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2
USE_BZIP2= yes
-USE_X_PREFIX= yes
USE_PERL5_RUN= yes
NO_BUILD= yes
@@ -38,8 +37,8 @@ PLIST_FILES= bin/gprename \
%%DATADIR%%/languages/lang.pt-br.ISO-8859-1 \
%%DATADIR%%/languages/lang.pt-br.UTF-8 \
%%DATADIR%%/languages/langs.pl \
- %%DATADIR%%/pixmaps/gprename_icon64.xpm
-PLIST_DIRS= %%DATADIR%%/pixmaps \
+ %%DATADIR%%/icon/gprename_icon.png
+PLIST_DIRS= %%DATADIR%%/icon \
%%DATADIR%%/languages \
%%DATADIR%%/bin \
%%DATADIR%%
@@ -55,8 +54,8 @@ do-install:
@${MKDIR} ${DATADIR}/languages
${INSTALL_DATA} ${WRKSRC}/languages/lang.* ${DATADIR}/languages
${INSTALL_DATA} ${WRKSRC}/languages/langs.pl ${DATADIR}/languages
- @${MKDIR} ${DATADIR}/pixmaps
- ${INSTALL_DATA} ${WRKSRC}/pixmaps/*.xpm ${DATADIR}/pixmaps
+ @${MKDIR} ${DATADIR}/icon
+ ${INSTALL_DATA} ${WRKSRC}/icon/gprename_icon.png ${DATADIR}/icon/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
diff --git a/x11-fm/gprename/distinfo b/x11-fm/gprename/distinfo
index 8635839fdec4..c03f9f454880 100644
--- a/x11-fm/gprename/distinfo
+++ b/x11-fm/gprename/distinfo
@@ -1,3 +1,3 @@
-MD5 (gprename-2.0.tar.bz2) = 27a3c2524fd43e6ee3f263399e4450a6
-SHA256 (gprename-2.0.tar.bz2) = e312a4c110a980779a5e38219a22a904a61e57c8fa79d3548b5677f7a3813028
-SIZE (gprename-2.0.tar.bz2) = 40334
+MD5 (gprename-2.1.tar.bz2) = b3cf4f586659032e3088b45271ac3a2f
+SHA256 (gprename-2.1.tar.bz2) = 8391275c3d0c67b83de76fdf755127f7d1e3fac1233d4ddef3da38fcdb62d692
+SIZE (gprename-2.1.tar.bz2) = 34338
diff --git a/x11-fm/gprename/files/gprename.in b/x11-fm/gprename/files/gprename.in
index 64bca37c5d8e..30b0cc996a23 100644
--- a/x11-fm/gprename/files/gprename.in
+++ b/x11-fm/gprename/files/gprename.in
@@ -1,9 +1,2 @@
#!/bin/sh
-index=`expr "$1" | /`;
-if [ $index != $1 ]
-then
- dir=`pwd`/$1;
-else
- dir="$1";
-fi
-perl %%DATADIR%%/bin/gprename.pl %%DATADIR%%/ $dir &
+perl %%DATADIR%%/bin/gprename.pl %%DATADIR%%/ $@ &