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

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

qlcolorcode: update to newest commit

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