source: trunk/dports/print/epstool/Portfile

Last change on this file was 147230, checked in by cal@…, 16 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: 1.5 KB
Line 
1# $Id: Portfile 147230 2016-03-31 19:52:33Z ryandesign@macports.org $
2
3PortSystem 1.0
4name            epstool
5version         3.08
6revision        9
7categories      print
8maintainers     iaas.msu.ru:master
9description     create or extract preview images in EPS files, fix bounding boxes and convert to bitmaps
10
11long_description \
12                Add EPSI, DOS (MS Word!) EPS or Mac PICT previews. \
13                Extract PostScript from DOS EPS files. \
14                Uses Ghostscript to create preview bitmaps. \
15                Create a TIFF, WMF, PICT or Interchange preview from part of a bitmap created by Ghostscript.
16
17platforms       darwin
18
19homepage        http://www.cs.wisc.edu/~ghost/gsview/epstool.htm
20master_sites http://pkgs.fedoraproject.org/repo/pkgs/epstool/${distfiles}/465a57a598dbef411f4ecbfbd7d4c8d7/
21checksums       md5 465a57a598dbef411f4ecbfbd7d4c8d7
22
23depends_lib     bin:gs:ghostscript
24
25use_configure   no
26use_parallel_build  no
27
28variant universal {}
29
30set cflags      "${configure.cflags} ${configure.cppflags}"
31set ldflags     ${configure.ldflags}
32if {[variant_isset universal]} {
33    lappend cflags ${configure.universal_cflags} ${configure.universal_cppflags}
34    lappend ldflags ${configure.universal_ldflags}
35} else {
36    lappend cflags ${configure.cc_archflags}
37    lappend ldflags ${configure.ld_archflags}
38}
39build.env       CFLAGS="[join ${cflags} " "]" \
40                LDFLAGS="[join ${ldflags} " "]"
41build.args-append       CC=${configure.cc} \
42                        CXX=${configure.cxx} \
43                        CPP=${configure.cpp}
44
45patchfiles      patch-epstool.mak patch-makefile patch-src_unixcom_mak.diff
46destroot.destdir        prefix=${destroot}${prefix}
47
48livecheck.type          none
Note: See TracBrowser for help on using the repository browser.