[92359] trunk/dports/graphics

takeshi at macports.org takeshi at macports.org
Thu Apr 26 00:25:04 PDT 2012


Revision: 92359
          https://trac.macports.org/changeset/92359
Author:   takeshi at macports.org
Date:     2012-04-26 00:25:03 -0700 (Thu, 26 Apr 2012)
Log Message:
-----------
Adding tif22pnm

Added Paths:
-----------
    trunk/dports/graphics/tif22pnm/
    trunk/dports/graphics/tif22pnm/Portfile

Added: trunk/dports/graphics/tif22pnm/Portfile
===================================================================
--- trunk/dports/graphics/tif22pnm/Portfile	                        (rev 0)
+++ trunk/dports/graphics/tif22pnm/Portfile	2012-04-26 07:25:03 UTC (rev 92359)
@@ -0,0 +1,39 @@
+# -*- 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                tif22pnm
+version             0.14
+categories          graphics
+platforms           darwin
+license             GPL-2
+maintainers         takeshi openmaintainer
+description         converter between TIFF and PNM
+long_description \
+    tif22pnm is a command line utility that converts \
+    between TIFF sampled images and PNM images (both directions), \
+    using the libtiff library, but not using NetPBM. \
+    tif22pnm is similar to tifftopnm utility in the NetPBM distribution, \
+    but tif22pnm handles a wider range of TIFF files and \
+    it is able to output the alpha channel as a PBM or PGM file. \
+    png22pnm, a converter from PNG to PNM is also bundled into the distribution.
+homepage            http://code.google.com/p/sam2p/
+master_sites        googlecode:sam2p
+
+checksums           rmd160  5f9600ce4e0eec9592717747a117219031a90508 \
+                    sha256  d59ea3f1fdd6802e66a44fbfa8979d4e61c9fd021de36675249a877392378e01
+
+post-patch {
+    reinplace "s| -s||" ${worksrcpath}/do.sh
+}
+
+depends_lib         port:tiff \
+                    port:libpng
+
+destroot {
+    xinstall -m 755 -W ${worksrcpath} ${name} png22pnm ${destroot}${prefix}/bin
+}
+
+livecheck.type      googlecode
+livecheck.name      sam2p
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120426/a505eee1/attachment-0001.html>


More information about the macports-changes mailing list