aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/gprename
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-03-22 16:17:24 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-03-22 16:17:24 +0000
commit1fff95f6a6057ae689e69891dfb09fb9c5f80424 (patch)
tree1dc73f38b8ed0634dc9df328a3044f3acae1b7ce /x11-fm/gprename
parent1ea7ad20a592a8b483f29df521758f9f0a2c6c4e (diff)
downloadports-1fff95f6a6057ae689e69891dfb09fb9c5f80424.tar.gz
ports-1fff95f6a6057ae689e69891dfb09fb9c5f80424.zip
Notes
Diffstat (limited to 'x11-fm/gprename')
-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%%/ $@ &