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 | name texworks |
---|
10 | version 0.5.0-svn1294 |
---|
11 | platforms darwin |
---|
12 | categories editors tex |
---|
13 | maintainers nomaintainer |
---|
14 | license GPL-2 |
---|
15 | |
---|
16 | description A simple interface for working with TeX documents |
---|
17 | long_description ${description} |
---|
18 | |
---|
19 | homepage http://code.google.com/p/texworks |
---|
20 | master_sites googlecode |
---|
21 | |
---|
22 | fetch.type svn |
---|
23 | svn.url http://texworks.googlecode.com/svn/trunk |
---|
24 | svn.revision 1294 |
---|
25 | |
---|
26 | worksrcdir trunk |
---|
27 | |
---|
28 | post-extract { |
---|
29 | file mkdir ${build.dir} |
---|
30 | } |
---|
31 | |
---|
32 | patchfiles patch-destdir.diff |
---|
33 | |
---|
34 | configure.dir ${worksrcpath}/build |
---|
35 | configure.args-append ${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 | } |
---|