[92360] trunk/dports/graphics

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


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

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

Added: trunk/dports/graphics/sam2p/Portfile
===================================================================
--- trunk/dports/graphics/sam2p/Portfile	                        (rev 0)
+++ trunk/dports/graphics/sam2p/Portfile	2012-04-26 07:25:56 UTC (rev 92360)
@@ -0,0 +1,47 @@
+# -*- 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                sam2p
+version             0.49.1
+categories          graphics
+platforms           darwin
+license             GPL-2
+maintainers         takeshi openmaintainer
+description         convert raster images to PostScript, PDF etc
+long_description \
+   sam2p is a UNIX command line utility written in ANSI C++ \
+   that converts many raster (bitmap) image formats into \
+   Adobe PostScript or PDF files and several other formats. \
+   The images are not vectorized. \
+   sam2p gives full control to the user to specify \
+   standards-compliance, compression, and bit depths. \
+   In some cases sam2p can compress an image 100 times smaller \
+   than the PostScript output of many other common image converters. \
+   sam2p provides ZIP, RLE and LZW (de)compression filters \
+   even on Level1 PostScript devices.
+homepage            http://code.google.com/p/sam2p/
+master_sites        googlecode
+
+checksums           rmd160  bb202ea2209cdd293947828b5f83f07ab34678d4 \
+                    sha256  d97a270e3ad4ad138378b5fcb10e489e9af48a8150f308458771808dfceb069a
+
+depends_lib         port:jpeg \
+                    port:netpbm \
+                    port:ghostscript \
+                    port:tif22pnm
+
+configure.args      --enable-lzw \
+                    --enable-gif
+
+if {${configure.compiler}=="clang"} {
+    configure.compiler  llvm-gcc-4.2
+}
+
+destroot {
+    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
+}
+
+livecheck.type      googlecode
+livecheck.name      ${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120426/fa0c1c5f/attachment.html>


More information about the macports-changes mailing list