# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
github.setup terhechte SourceKittenDaemon 0.1.5
description Swift Auto Completions for any Text Editor
long_description ${description}
depends_build bin:carthage:carthage
# Fetch from git instead of distfile because it needs submodules
patchfiles patch-Makefile.diff
# everything is built during the prefix_install target
system -W ${worksrcpath} "${build.cmd} install PREFIX=${destroot}${prefix} FRAMEWORKS_FOLDER=/Library/Frameworks/SourceKittenDaemon DSTROOT=${destroot} DERIVED_PATH=${worksrcpath}/custombuild"
delete ${destroot}/Applications