Mapivi do not install well if ${PREFIX} differs from
${LOCALBASE}.
Patch added.
Giovanni
diff -ruNx CVS graphics/mapivi/Makefile mystuff/graphics/mapivi/Makefile
--- graphics/mapivi/Makefile Tue May 29 19:16:14 2007
+++ mystuff/graphics/mapivi/Makefile Wed May 30 22:38:14 2007
@@ -5,7 +5,7 @@
COMMENT= "image viewer and organizer"
DISTNAME= mapivi091
-PKGNAME= mapivi-0.91p0
+PKGNAME= mapivi-0.91p1
CATEGORIES= graphics x11
HOMEPAGE= http://mapivi.de.vu/
@@ -33,7 +33,7 @@
NO_REGRESS= Yes
pre-configure:
- @perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g' ${WRKSRC}/mapivi
+ @perl -pi -e 's,!!PREFIX!!,${PREFIX},g' ${WRKSRC}/mapivi
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/mapivi
diff -ruNx CVS graphics/mapivi/patches/patch-mapivi
mystuff/graphics/mapivi/patches/patch-mapivi
--- graphics/mapivi/patches/patch-mapivi Tue May 29 19:08:59 2007
+++ mystuff/graphics/mapivi/patches/patch-mapivi Wed May 30 22:39:10 2007
@@ -6,7 +6,7 @@
my $trashdir = "$configdir/trash"; # the trashcan
-my $plugindir = "$configdir/PlugIns"; # the mapivi plugin dir
-+my $plugindir = "!!LOCALBASE!!/share/mapivi/PlugIns"; # the mapivi
plugin dir
++my $plugindir = "!!PREFIX!!/share/mapivi/PlugIns"; # the mapivi
plugin dir
my $iptcdir = "$configdir/IPTC_templates"; # the IPTC templates
directory
my $configFile = "$configdir/mapivirc"; # the configuration file
my $file_Entry_values = "$configdir/Entry_values";
@@ -45,7 +45,7 @@
"ColorProgress" => "#106dba",
"ColorPicker" => "red", # last color selected
with color picker
- "DefaultThumb" => "$configdir/EmptyThumb.jpg",
-+ "DefaultThumb" =>
"!!LOCALBASE!!/share/mapivi/EmptyThumb.jpg",
++ "DefaultThumb" =>
"!!PREFIX!!/share/mapivi/EmptyThumb.jpg",
"Copyright" => "copyright (c) $copyright_year
Herrmann",
"Comment" => "This picture was taken in south
africa ...",
"MaxProcs" => 1,
@@ -81,7 +81,7 @@
my $func = shift;
- my $pic = "$configdir/$picName";
-+ my $pic = "!!LOCALBASE!!/share/mapivi/$picName";
++ my $pic = "!!PREFIX!!/share/mapivi/$picName";
my $image = $parentWidget->Photo(-file => $pic) if -f $pic;
if ($image) {