[97537] trunk/dports/graphics/imecho/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Sep 7 23:14:04 PDT 2012


Revision: 97537
          https://trac.macports.org/changeset/97537
Author:   ryandesign at macports.org
Date:     2012-09-07 23:14:02 -0700 (Fri, 07 Sep 2012)
Log Message:
-----------
imecho: use port:-style depencency for imlib; add libpng dependency and increase revision to rebuild with libpng 1.5; fix long description; use 'extract.mkdir yes'; ensure we're UsingTheRightCompiler and -arch flags and add universal variant; add standard modeline; license GPL-2+

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

Modified: trunk/dports/graphics/imecho/Portfile
===================================================================
--- trunk/dports/graphics/imecho/Portfile	2012-09-08 06:08:18 UTC (rev 97536)
+++ trunk/dports/graphics/imecho/Portfile	2012-09-08 06:14:02 UTC (rev 97537)
@@ -1,12 +1,18 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
+
 name                imecho
 version             0.1
+revision            1
 categories          graphics mail
 maintainers         nomaintainer
+license             GPL-2+
+
 description         command line utility to display images in an xterm
-long_description    ${description} \
+
+long_description    ${name} is a ${description}. \
                     Once drawn the pictures are never refreshed, so certain \
                     operations as resizing, scrolling or partially obscuring\
                     the terminal window will clear the picture\
@@ -15,13 +21,21 @@
 
 platforms           darwin
 master_sites        http://jrfonseca.dyndns.org/projects/old/
+use_bzip2           yes
+
 checksums           md5 b0282ecc0506f694b49fcfc28f00829b
-depends_lib         lib:Imlib.h:imlib
 
-use_bzip2           yes
+depends_lib         port:imlib \
+                    port:libpng
+
+extract.mkdir       yes
+
 use_configure       no
-worksrcdir
 
+variant universal {}
+
+build.args          CC="${configure.cc} [get_canonical_archflags cc]"
+
 destroot    {
         xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120907/7888cf5f/attachment-0001.html>


More information about the macports-changes mailing list