[87435] trunk/dports/graphics/feh/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Nov 21 04:06:22 PST 2011


Revision: 87435
          http://trac.macports.org/changeset/87435
Author:   ryandesign at macports.org
Date:     2011-11-21 04:06:22 -0800 (Mon, 21 Nov 2011)
Log Message:
-----------
feh: update to 2.1, update homepage and master_sites, MIT license

Modified Paths:
--------------
    trunk/dports/graphics/feh/Portfile

Modified: trunk/dports/graphics/feh/Portfile
===================================================================
--- trunk/dports/graphics/feh/Portfile	2011-11-21 11:41:13 UTC (rev 87434)
+++ trunk/dports/graphics/feh/Portfile	2011-11-21 12:06:22 UTC (rev 87435)
@@ -1,11 +1,13 @@
 # $Id$
 
 PortSystem			1.0
+
 name				feh
-version				1.3.4
-revision			4
+version             2.1
 categories			graphics
 maintainers			nomaintainer
+license             MIT
+
 description			Fast lightweight image viewer
 long_description \
 	Simple and fast image viewer using imlib2 with file list and \
@@ -13,22 +15,29 @@
 
 platforms			darwin
 
-homepage			http://linuxbrit.co.uk/feh/
-master_sites		http://linuxbrit.co.uk/downloads/
+homepage            http://feh.finalrewind.org/
+master_sites        ${homepage}
+use_bzip2           yes
 
-checksums			md5 3d35ba3d2f0693b019800787f1103891
+checksums           rmd160  3b6ae3d88126a1a866d246e6be72962f65d1f80a \
+                    sha256  8d74a5f8a3aa889c7db5fcbf8ce8a3124782f5889f9f4afe21935a11756a4bbc
 
-depends_lib			port:giblib port:imlib2 port:jpeg port:libpng port:zlib
+depends_lib         port:giblib \
+                    port:imlib2 \
+                    port:jpeg \
+                    port:libpng \
+                    port:zlib \
+                    port:curl \
+                    port:xorg-libXinerama
 
-use_autoreconf yes
-autoreconf.args -fvi
+use_configure       no
 
-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
-}
+variant universal {}
 
-destroot.args		docsdir=${prefix}/share/doc/${name}
+build.args          PREFIX=${prefix}
 
+build.env           CC="${configure.cc}" \
+                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
+                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
+
+destroot.args       PREFIX=${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111121/386cdeec/attachment-0001.html>


More information about the macports-changes mailing list