[153441] trunk/dports/devel

sean at macports.org sean at macports.org
Fri Sep 30 08:06:22 CEST 2016


Revision: 153441
          https://trac.macports.org/changeset/153441
Author:   sean at macports.org
Date:     2016-09-29 23:06:22 -0700 (Thu, 29 Sep 2016)
Log Message:
-----------
sourcekitten: try to name this port correctly

Added Paths:
-----------
    trunk/dports/devel/SourceKitten/
    trunk/dports/devel/SourceKitten/Portfile

Removed Paths:
-------------
    trunk/dports/devel/sourcekitten/

Copied: trunk/dports/devel/SourceKitten/Portfile (from rev 153440, trunk/dports/devel/sourcekitten/Portfile)
===================================================================
--- trunk/dports/devel/SourceKitten/Portfile	                        (rev 0)
+++ trunk/dports/devel/SourceKitten/Portfile	2016-09-30 06:06:22 UTC (rev 153441)
@@ -0,0 +1,37 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+PortGroup           github 1.0
+
+github.setup        jpsim SourceKitten 0.14.1
+categories          devel
+platforms           darwin
+
+universal_variant   no
+license             MIT
+maintainers         sean openmaintainer
+
+description         An adorable little framework and command line tool for \
+                    interacting with SourceKit.
+long_description    ${description}
+
+# Fetch from git instead of distfile because it needs submodules
+fetch.type          git
+
+use_configure       no
+# everything is built during the prefix_install target
+build               {}
+
+destroot {
+    file mkdir ${destroot}${prefix}/Frameworks/
+    system -W ${worksrcpath} "${build.cmd} prefix_install PREFIX=${destroot}${prefix} TEMPORARY_FOLDER=${destroot} XCODEFLAGS=\"-workspace 'SourceKitten.xcworkspace' -scheme 'sourcekitten' DSTROOT=${destroot} -IDECustomDerivedDataLocation=${worksrcpath}/custombuild OTHER_LDFLAGS='-Wl,-headerpad_max_install_names'\""
+}
+
+post-destroot {
+    delete ${destroot}${prefix}/var
+    xinstall -d ${destroot}${prefix}/Library
+    move ${destroot}${prefix}/Frameworks ${destroot}${prefix}/Library/
+    system -W ${destroot}${prefix}/bin "install_name_tool -add_rpath @executable_path/../Library/Frameworks sourcekitten"
+    system -W ${destroot}${prefix}/bin "install_name_tool -add_rpath @executable_path/../Library/Frameworks/SourceKittenFramework.framework/Versions/Current/Frameworks sourcekitten"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20160929/53c5dd29/attachment-0002.html>


More information about the macports-changes mailing list