Modified: trunk/dports/graphics/feh/Portfile (72024 => 72025)
--- trunk/dports/graphics/feh/Portfile 2010-09-30 17:00:28 UTC (rev 72024)
+++ trunk/dports/graphics/feh/Portfile 2010-09-30 17:01:59 UTC (rev 72025)
@@ -3,7 +3,7 @@
PortSystem 1.0
name feh
version 1.3.4
-revision 2
+revision 3
categories graphics
maintainers cs.dartmouth.edu:tristan
description Fast lightweight image viewer
@@ -20,7 +20,15 @@
depends_lib port:giblib port:imlib2 port:jpeg port:libpng port:zlib
-configure.args --mandir=${prefix}/share/man
+use_autoreconf yes
+autoreconf.args -fvi
+patch {
+ reinplace "s:/usr/X11R6:${prefix}:g" ${worksrcpath}/configure.ac
+ reinplace "s:/usr/X11R6:${prefix}:g" ${worksrcpath}/configure.in
+ reinplace "s:/usr/X11R6:${prefix}:g" ${worksrcpath}/Makefile.am
+ reinplace "s:/usr/X11R6:${prefix}:g" ${worksrcpath}/src/Makefile.am
+}
+
destroot.args docsdir=${prefix}/share/doc/${name}