# -*- 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: Portfile 147230 2016-03-31 19:52:33Z cal@macports.org $ PortSystem 1.0 name sam2p version 0.49.2 revision 2 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 installs_libs no checksums rmd160 2a530db0dc262a426c552e480c35d6a2396e552b \ sha256 0e75d94bed380f8d8bd629f7797a0ca533b5d0b40eba2dab339146dedc1f79bf depends_run port:tif22pnm depends_lib port:jpeg \ port:netpbm \ port:ghostscript configure.args --enable-lzw \ --enable-gif # TODO: Project build system is broken compiler.blacklist-append *clang* destroot { xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin xinstall -d -m 755 ${destroot}${prefix}/share/doc xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name} xinstall -d -m 755 ${destroot}${prefix}/share/${name} file copy ${worksrcpath}/examples ${destroot}${prefix}/share/${name} } livecheck.type googlecode livecheck.name ${name}