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