# -*- 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 # $Id: Portfile 134765 2015-04-07 05:24:47Z sean@macports.org $ PortSystem 1.0 PortGroup github 1.0 PortGroup xcode 1.0 github.setup whomwah qlstephen aa0c970547c1 name QLStephen version 1.4.2 revision 1 categories sysutils platforms darwin license public-domain maintainers sean openmaintainer description A QuickLook plugin that lets you view plain text \ files without a file extension long_description ${description} checksums rmd160 6ce4301497505b223572c60baf39dbc5961aea82 \ sha256 df78f88cf1ff53f39a0d0b357fae88b53c1420179c187bb39f64edd1cddd1646 worksrcdir ${distname}/QuickLookStephenProject destroot.violate_mtree yes post-extract { reinplace -W ${worksrcpath} "s,AEF4F27A0EDD58F800A55543.*,," QuickLookStephen.xcodeproj/project.pbxproj } destroot { xinstall -d ${destroot}/Library/QuickLook file copy ${worksrcpath}/build/Release/${name}.qlgenerator ${destroot}/Library/QuickLook } # force quicklook to reload plugins post-activate { system "qlmanage -r" } post-deactivate { system "qlmanage -r" }