source: trunk/dports/print/scribus/Portfile @ 76941

Last change on this file since 76941 was 76941, checked in by vince@…, 9 years ago

Updates description to reflect qt4 dependency.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 76941 2011-03-14 07:07:07Z vince@macports.org $
2
3PortSystem      1.0
4PortGroup               cmake 1.0
5PortGroup               qt4 1.0
6
7name            scribus
8version         1.3.9
9categories      print
10maintainers     nomaintainer
11description     qt4-based WYSIWYG desktop publishing application
12long_description \
13                Scribus is an open source desktop publishing program. It provides  true \
14                WYSIWYG  editing,  excellent PDF export facilities, and a wide range of \
15                other input and output options.
16platforms       darwin
17homepage        http://www.scribus.net/
18master_sites    sourceforge:scribus
19use_bzip2       yes
20checksums       md5     a54dbf2e10cd88d683d0d34565d29378 \
21                sha1    86bc4db2d8fbb91fe94f8535327991e9128c5862 \
22                rmd160  63e1d3f7f723843e9d1c787e1405b57a15f08fcc
23
24depends_build   path:bin/perl:perl5 \
25                path:bin/pkg-config:pkgconfig
26depends_lib     port:fontconfig \
27                                bin:gs:ghostscript \
28                path:lib/pkgconfig/cairo.pc:cairo \
29                port:boost \
30                port:expat \
31                port:libart_lgpl \
32                port:libiconv \
33                port:lcms \
34                port:libxml2 \
35                port:tiff \
36                port:zlib
37
38set     PyFRM           ${frameworks_dir}/Python.framework/Versions
39
40configure.args-append "-DWITH_PODOFO=NO"
41
42variant python26 description Add python 2.6 interface {
43
44        depends_lib-append              port:python26
45        configure.args-append \
46                        "-DPYTHON_LIBRARY=${prefix}/lib/libpython2.6.dylib"
47        configure.args-append   \
48                        "-DPYTHON_INCLUDE_DIR=${PyFRM}/2.6/include/python2.6"
49}
50
51variant python27 description Add python 2.7 interface {
52
53        depends_lib-append              port:python27
54        configure.args-append \
55                        "-DPYTHON_LIBRARY=${prefix}/lib/libpython2.7.dylib"
56        configure.args-append \
57                        "-DPYTHON_INCLUDE_DIR=${PyFRM}/2.7/include/python2.7"
58}
59
60variant podofo description uses podofo {
61        depends_lib-append              port:podofo
62        configure.args-delete "-DWITH_PODOFO=NO"
63        configure.args-append "-DWITH_PODOFO=YES"
64}
65
66configure.args-append           "-DCMAKE_INSTALL_PREFIX=${applications_dir}"
67
68build.env           HOME=${worksrcpath}
69use_parallel_build  yes
70
71#destroot.target    install-strip
72
73livecheck.type  regex
74livecheck.url   ${homepage}
75livecheck.regex Scribus v(\[0-9.\]+)
Note: See TracBrowser for help on using the repository browser.