source: trunk/dports/graphics/sam2p/Portfile

Last change on this file was 147230, checked in by cal@…, 18 months ago

ghostscript: 9.19, #49324

Update ghostscript to the latest release. Additionally,

  • declare the BSD license of the mappingresources incorporated into the package
  • change the homepage to ghostscript.com
  • update mappingresources to the latest version
  • use MacPorts' lcms2
  • remove use_parallel_build yes, which is the default
  • revbump all dependencies but gimp2-devel, gimp3-devel and goffice because the maintainer will take care of them (see #49324)

Closes #49324, #50475

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- 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
2# $Id: Portfile 147230 2016-03-31 19:52:33Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                sam2p
7version             0.49.2
8revision            2
9categories          graphics
10platforms           darwin
11license             GPL-2
12maintainers         takeshi openmaintainer
13description         convert raster images to PostScript, PDF etc
14long_description \
15   sam2p is a UNIX command line utility written in ANSI C++ \
16   that converts many raster (bitmap) image formats into \
17   Adobe PostScript or PDF files and several other formats. \
18   The images are not vectorized. \
19   sam2p gives full control to the user to specify \
20   standards-compliance, compression, and bit depths. \
21   In some cases sam2p can compress an image 100 times smaller \
22   than the PostScript output of many other common image converters. \
23   sam2p provides ZIP, RLE and LZW (de)compression filters \
24   even on Level1 PostScript devices.
25homepage            http://code.google.com/p/sam2p/
26master_sites        googlecode
27installs_libs       no
28
29checksums           rmd160  2a530db0dc262a426c552e480c35d6a2396e552b \
30                    sha256  0e75d94bed380f8d8bd629f7797a0ca533b5d0b40eba2dab339146dedc1f79bf
31
32depends_run         port:tif22pnm
33
34depends_lib         port:jpeg \
35                    port:netpbm \
36                    port:ghostscript
37
38configure.args      --enable-lzw \
39                    --enable-gif
40
41# TODO: Project build system is broken
42compiler.blacklist-append  *clang*
43
44destroot {
45    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
46    xinstall -d -m 755 ${destroot}${prefix}/share/doc
47    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
48    xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
49    xinstall -d -m 755 ${destroot}${prefix}/share/${name}
50    file copy ${worksrcpath}/examples ${destroot}${prefix}/share/${name}
51}
52
53livecheck.type      googlecode
54livecheck.name      ${name}
Note: See TracBrowser for help on using the repository browser.