source: trunk/dports/devel/developer_cmds/Portfile

Last change on this file was 145752, checked in by mfeiri@…, 20 months ago

developer_cmds: stealth update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 145752 2016-02-15 23:59:43Z ryandesign@macports.org $
2
3PortSystem              1.0
4PortGroup               xcode 1.0
5
6name                    developer_cmds
7version                 62
8categories              devel
9maintainers             mfeiri openmaintainer
10
11# We install BSD ctags, conflicting with Exuberant Ctags.
12conflicts               ctags
13
14homepage                http://opensource.apple.com/source/${name}/
15master_sites            http://opensource.apple.com/tarballs/${name}/
16license                 BSD
17description             A set of general BSD commands for developers
18long_description        Apple's BSD general commands for developers including \
19                        the asa utility, ctags, indent, lorder, mkdep, \
20                        rpcgen, unifdef and what.
21
22# stealth update
23dist_subdir             ${name}/${version}_1
24checksums               rmd160  b5ddc5e442040bedf727480accbe723741ddf24c \
25                        sha256  b11161df7a8dd293efe52213d8e968279dbff545a583e4706c4250d6cc122ce5
26
27# some old versions of sys/cdefs.h dont have __FBSDID
28xcode.build.settings    GCC_PREPROCESSOR_DEFINITIONS='__FBSDID\(s\)= '
29xcode.destroot.settings GCC_PREPROCESSOR_DEFINITIONS='__FBSDID\(s\)= '
30xcode.destroot.path     ${prefix}/bin
31
32post-extract {
33    reinplace "s|\$(DT_TOOLCHAIN_DIR)/usr|${prefix}|g" \
34            ${worksrcpath}/${name}.xcodeproj/project.pbxproj
35    foreach f [glob ${worksrcpath}/xcodescripts/*.sh] {
36        reinplace "s|\"\$DSTROOT\"/\"\$DT_TOOLCHAIN_DIR\"/usr|${destroot}${prefix}|g" $f
37    }
38}
39
40livecheck.type          regex
41livecheck.regex         "${name}-(\[\\d.\]+)"
Note: See TracBrowser for help on using the repository browser.