source: trunk/dports/sysutils/qlcolorcode/Portfile @ 120572

Last change on this file since 120572 was 120572, checked in by ryandesign@…, 5 years ago

set svn:eol-style to native

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
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: Portfile 120572 2014-06-01 23:34:35Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           xcode 1.0
7
8github.setup        anthonygelibert QLColorCode 3242bf6bc7
9version             2.0.4
10categories          sysutils
11
12platforms           darwin
13license             GPL-2
14maintainers         sean openmaintainer
15
16description         Quick Look plugin that renders source code with syntax highlighting
17long_description    ${description}
18
19checksums           rmd160  e7175b6d4498cedca4e46e47f21905951aa521c9 \
20                    sha256  15ac6982a6a816e60092c425dfee412244e7443fc2389517a265a1e1ce859f7c
21
22depends_lib         port:highlight
23destroot.violate_mtree  yes
24
25post-extract {
26    reinplace -W ${worksrcpath} "s,open \$PROJECT_DIR/release,," QLColorCode.xcodeproj/project.pbxproj
27}
28
29destroot {
30    xinstall -d ${destroot}/Library/QuickLook
31    file copy ${worksrcpath}/build/Release/${name}.qlgenerator ${destroot}/Library/QuickLook
32}
33
34# force quicklook to reload plugins
35post-activate {
36    system "qlmanage -r"
37}
38
39post-deactivate {
40    system "qlmanage -r"
41}
Note: See TracBrowser for help on using the repository browser.