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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup cmake 1.1 |
---|
5 | PortGroup github 1.0 |
---|
6 | PortGroup qt5 1.0 |
---|
7 | |
---|
8 | qt5.depends_component qttools qttranslations |
---|
9 | qt5.min_version 5.10.0 |
---|
10 | |
---|
11 | set git_commit b5f73fe5ca68db5af07d35a35f7b3d99e1bf54d4 |
---|
12 | set git_date 20200207 |
---|
13 | github.setup scribusproject scribus ${git_commit} |
---|
14 | name scribus-devel |
---|
15 | version 1.5.6.svn-${git_date} |
---|
16 | categories print |
---|
17 | license LGPL-2+ BSD MIT |
---|
18 | platforms darwin |
---|
19 | maintainers nomaintainer |
---|
20 | |
---|
21 | # Scribus does not link to openssl |
---|
22 | #license_noconflict openssl |
---|
23 | |
---|
24 | description qt5-based WYSIWYG desktop publishing application |
---|
25 | |
---|
26 | long_description Scribus is an open source desktop publishing program. It \ |
---|
27 | provides true WYSIWYG editing, excellent PDF export \ |
---|
28 | facilities, and a wide range of other input and output \ |
---|
29 | options. This port tracks the development branch, \ |
---|
30 | currently 1.5.x. |
---|
31 | |
---|
32 | homepage http://www.scribus.net/ |
---|
33 | |
---|
34 | checksums rmd160 86bc4d2adfda21cfe24b15f2ef5cf9c8025f068e \ |
---|
35 | sha256 c08ce7bff8a8dad3f16ed961a0ef2f7326be4e0891f84502486b2243cab9cac8 \ |
---|
36 | size 87079378 |
---|
37 | |
---|
38 | depends_build-append \ |
---|
39 | path:bin/perl:perl5 |
---|
40 | |
---|
41 | depends_lib-append \ |
---|
42 | path:lib/pkgconfig/cairo.pc:cairo \ |
---|
43 | port:boost \ |
---|
44 | port:expat \ |
---|
45 | port:fontconfig \ |
---|
46 | port:ghostscript \ |
---|
47 | port:harfbuzz \ |
---|
48 | port:harfbuzz-icu \ |
---|
49 | port:hunspell \ |
---|
50 | port:icu \ |
---|
51 | port:lcms2 \ |
---|
52 | port:libart_lgpl \ |
---|
53 | port:libiconv \ |
---|
54 | port:libcdr-0.1 \ |
---|
55 | port:libfreehand \ |
---|
56 | port:libmspub \ |
---|
57 | port:libpagemaker \ |
---|
58 | port:librevenge \ |
---|
59 | port:libvisio-0.1 \ |
---|
60 | port:libxml2 \ |
---|
61 | port:podofo \ |
---|
62 | port:poppler \ |
---|
63 | port:python37 \ |
---|
64 | port:tiff \ |
---|
65 | port:zlib |
---|
66 | |
---|
67 | compiler.cxx_standard 2011 |
---|
68 | |
---|
69 | set PyFRM ${frameworks_dir}/Python.framework/Versions |
---|
70 | |
---|
71 | configure.args-append \ |
---|
72 | -DCMAKE_INSTALL_PREFIX="${applications_dir}/[string toupper ${name} 0].app" \ |
---|
73 | -DWITH_PODOFO=YES \ |
---|
74 | -DWANT_DISTROBUILD=YES \ |
---|
75 | -DWITH_BOOST=YES \ |
---|
76 | -DWANT_GRAPHICSMAGICK=NO \ |
---|
77 | -DWANT_NOOSG=YES \ |
---|
78 | -DPython3_LIBRARIES="${prefix}/lib" \ |
---|
79 | -DPython3_INCLUDE_DIR="${PyFRM}/3.7/include/python3.7m" |
---|
80 | |
---|
81 | variant bitmap description {Input filters for most GraphicsMagick bitmap formats} { |
---|
82 | configure.args-delete -DWANT_GRAPHICSMAGICK=NO |
---|
83 | configure.args-append -DWANT_GRAPHICSMAGICK=YES |
---|
84 | depends_lib-append port:GraphicsMagick |
---|
85 | } |
---|
86 | |
---|
87 | build.env HOME=${worksrcpath} |
---|
88 | |
---|
89 | # These can be uncommented to livecheck for the devel version |
---|
90 | #livecheck.url https://www.scribus.net/downloads/unstable-branch/ |
---|
91 | #livecheck.regex /scribus-devel/(\[a-z0-9\]+(\\.\[a-z0-9\]+)+)/ |
---|