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

Last change on this file since 143105 was 141506, checked in by sean@…, 4 years ago

qlcolorcode: update to newest commit

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 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 141506 2015-10-19 22:03:40Z sean@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           xcode 1.0
7
8github.setup        anthonygelibert QLColorCode 7cfb0487a9
9version             2.0.4
10revision            8
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  a2292fe1bd4c33277a2d36eea658339d2fc2533e \
21                    sha256  214bbda04e65b19612fc5b61f35c0a3459ecb9ed8a776d7c9620fda144e78c7b
22
23depends_lib         port:highlight
24destroot.violate_mtree  yes
25
26# remove build phase that copies to the user's home directory
27patchfiles-append   patch-xcode.diff
28
29post-extract {
30    reinplace -W ${worksrcpath} "s,open \$PROJECT_DIR/release,," QLColorCode.xcodeproj/project.pbxproj
31}
32
33destroot {
34    xinstall -d ${destroot}/Library/QuickLook
35    file copy ${worksrcpath}/build/Release/${name}.qlgenerator ${destroot}/Library/QuickLook
36}
37
38# force quicklook to reload plugins
39post-activate {
40    system "qlmanage -r"
41}
42
43post-deactivate {
44    system "qlmanage -r"
45}
Note: See TracBrowser for help on using the repository browser.