source: trunk/dports/devel/carthage/Portfile @ 153415

Last change on this file since 153415 was 153415, checked in by sean@…, 2 years ago

carthage: correct name of port; fixes #52456

File size: 1.5 KB
Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        Carthage Carthage 0.18
8name                carthage
9categories          devel
10platforms           darwin
11
12universal_variant   no
13license             MIT
14maintainers         sean openmaintainer
15
16description         A simple, decentralized dependency manager for Cocoa
17long_description    ${description}
18
19# Fetch from git instead of distfile because it needs submodules
20fetch.type          git
21
22use_configure       no
23# everything is built during the prefix_install target
24build               {}
25
26destroot {
27    system -W ${worksrcpath} "${build.cmd} prefix_install PREFIX=${destroot}${prefix} TEMPORARY_FOLDER=${destroot} XCODEFLAGS=\"-workspace 'Carthage.xcworkspace' -scheme 'carthage' DSTROOT=${destroot} -IDECustomDerivedDataLocation=${worksrcpath}/custombuild CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO\""
28}
29
30post-destroot {
31    delete ${destroot}/usr
32    delete ${destroot}/Library
33    xinstall -d ${destroot}${prefix}/Library
34    move ${destroot}${prefix}/Frameworks ${destroot}${prefix}/Library/
35    system -W ${destroot}${prefix}/bin "install_name_tool -add_rpath @executable_path/../Library/Frameworks carthage"
36    system -W ${destroot}${prefix}/bin "install_name_tool -add_rpath @executable_path/../Library/Frameworks/CarthageKit.framework/Versions/A/Frameworks/ carthage"
37}
Note: See TracBrowser for help on using the repository browser.