Ticket #16055: Portfile_v7

File Portfile_v7, 1.3 KB (added by mojca (Mojca Miklavec), 11 years ago)

the patch from v6 has been fixed upstream, so no need for a patch any longer

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: $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6PortGroup           qt4 1.0
7PortGroup           active_variants 1.1
8
9svn.revision        1302
10
11name                texworks
12version             0.5.0-svn${svn.revision}
13platforms           darwin
14categories          editors tex
15maintainers         nomaintainer
16license             GPL-2
17
18description         A simple interface for working with TeX documents
19long_description    ${description}
20
21homepage            http://code.google.com/p/texworks
22master_sites        googlecode
23
24fetch.type          svn
25svn.url             http://texworks.googlecode.com/svn/trunk
26
27worksrcdir          trunk
28
29post-extract {
30    file mkdir ${build.dir}
31}
32
33configure.dir       ${worksrcpath}/build
34configure.args-append \
35                    ${worksrcpath}
36build.dir           ${configure.dir}
37
38depends_lib         port:hunspell \
39                    port:poppler \
40                    port:libz
41
42require_active_variants poppler qt4
43require_active_variants poppler quartz
44
45post-destroot {
46    # alternatively set the DESTDIR straight to ${destroot}${applications_dir}
47    move ${destroot}${prefix}/TeXworks.app ${destroot}${applications_dir}
48}