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 conflicts_build 1.0 |
---|
6 | PortGroup github 1.0 |
---|
7 | |
---|
8 | github.setup anoopjohn gphpedit 0.9.98 |
---|
9 | categories gnome editors |
---|
10 | platforms darwin |
---|
11 | maintainers ryandesign openmaintainer |
---|
12 | license GPL-3+ |
---|
13 | |
---|
14 | description a small UTF-8 compatible text editor for the GNOME \ |
---|
15 | desktop environment, built using Scintilla. |
---|
16 | |
---|
17 | long_description ${name} is ${description}. It is designed for PHP and \ |
---|
18 | HTML text editing. |
---|
19 | |
---|
20 | homepage http://www.gphpedit.org/ |
---|
21 | |
---|
22 | checksums rmd160 8c52741a9e4a394fabadb93936cf3219b8f56a7b \ |
---|
23 | sha256 c70dc63ab6fbc3e75ab9f02bd26c577302f327fe5a73303361d888ee86715ae4 |
---|
24 | |
---|
25 | depends_build port:autoconf \ |
---|
26 | port:automake \ |
---|
27 | port:intltool \ |
---|
28 | port:pkgconfig |
---|
29 | |
---|
30 | depends_lib port:gvfs \ |
---|
31 | port:libtool \ |
---|
32 | port:libxml2 \ |
---|
33 | path:bin/php:php5 \ |
---|
34 | port:webkit-gtk |
---|
35 | |
---|
36 | patchfiles patch-autogen.sh.diff \ |
---|
37 | patch-compiler.diff |
---|
38 | |
---|
39 | variant universal {} |
---|
40 | |
---|
41 | post-patch { |
---|
42 | reinplace "s|@ARCHFLAGS@|[get_canonical_archflags]|g" ${worksrcpath}/src/gtkscintilla2/Makefile \ |
---|
43 | ${worksrcpath}/src/gtkscintilla2/scintilla/gtk/makefile |
---|
44 | reinplace "s|@CC@|${configure.cc}|g" ${worksrcpath}/src/gtkscintilla2/Makefile \ |
---|
45 | ${worksrcpath}/src/gtkscintilla2/scintilla/gtk/makefile |
---|
46 | reinplace "s|@CXX@|${configure.cxx}|g" ${worksrcpath}/src/gtkscintilla2/scintilla/gtk/makefile |
---|
47 | } |
---|
48 | |
---|
49 | # tidy's platform.h shadows QScintilla's Platform.h on case-insensitive filesystems |
---|
50 | if {[file exists ${prefix}/include/Platform.h]} { |
---|
51 | conflicts_build-append tidy |
---|
52 | } |
---|
53 | |
---|
54 | configure.cmd ./autogen.sh |
---|
55 | |
---|
56 | configure.args --disable-silent-rules |
---|
57 | |
---|
58 | # intltool needs to be run with the correct version of perl |
---|
59 | configure.env-append INTLTOOL_PERL=${prefix}/bin/perl5.12 |
---|
60 | |
---|
61 | use_parallel_build no |
---|