--- config.pri.orig	2009-07-22 10:39:01.000000000 +0200
+++ config.pri	2009-07-22 10:43:17.000000000 +0200
@@ -8,7 +8,7 @@
 # Freetype location
 #
 # Path to "ft2build.h" (if not on standard include path)
-FREETYPE_INCLUDE  = /usr/include/freetype2
+FREETYPE_INCLUDE  = $${LOCALBASE}/include/freetype2
 # Path to "libfreetype.so" (if not in a standard library directory)
 #FREETYPE_LIBPATH = /usr/lib
 # --------------------------------------------------------------------
@@ -39,6 +39,7 @@
 #IPEPREFIX  = /usr
 #IPEPREFIX  = /opt/ipe-6.0
 #
+IPEPREFIX=$${PREFIX}
 !win32:isEmpty( IPEPREFIX ) {
   error( "You need to specify IPEPREFIX!")
 }
@@ -62,7 +63,7 @@
 # IPEDOCDIR will contain the Ipe documentation (mostly html files)
 #
 isEmpty( IPEDOCDIR ) {
-  IPEDOCDIR  = $${IPEPREFIX}/share/ipe/$${IPEVERS}/doc
+  IPEDOCDIR  = $${IPEPREFIX}/share/doc/ipe
 }
 #
 # IPELANGDIR will contain Ipe UI translations (none exist yet)
@@ -71,11 +72,11 @@
 #
 # IPEMANDIR will contain the Ipe manual pages
 #
-IPEMANDIR  = $${IPEPREFIX}/share/man/man1
+IPEMANDIR  = $${IPEPREFIX}/man/man1
 #
 # The full path to the Ipe fontmap
 #
-IPEFONTMAP = $${IPEPREFIX}/share/ipe/$${IPEVERS}/fontmap.xml
+IPEFONTMAP = $${IPEPREFIX}/share/ipe/fontmap.xml
 #
 # The standard key assignment of Ipe
 #
@@ -84,7 +85,7 @@
 #
 # The HTML browser started to read the on-line Ipe documentation.
 #
-IPEBROWSER = sensible-browser
+IPEBROWSER = $${WWWBROWSER}
 #
 # --------------------------------------------------------------------
 # Standard definitions --- don't change
