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

Last change on this file since 131542 was 131542, 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 131542 2015-01-14 00:50:53Z sean@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           xcode 1.0
7
8github.setup        anthonygelibert QLColorCode 79242c01a4
9version             2.0.4
10revision            5
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  ce801633f0725d02f8e0580ec625b5440e4aaf88 \
21                    sha256  017e60dc8fef89385f46d6a0838f46e877fb812a5ddd2f83f0efd9b577a58f8b
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.