[91301] trunk/dports/devel/odcctools/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Wed Mar 28 10:28:43 PDT 2012
Revision: 91301
https://trac.macports.org/changeset/91301
Author: jeremyhu at macports.org
Date: 2012-03-28 10:28:42 -0700 (Wed, 28 Mar 2012)
Log Message:
-----------
odcctools: Mark replaced by cctools ><
Modified Paths:
--------------
trunk/dports/devel/odcctools/Portfile
Modified: trunk/dports/devel/odcctools/Portfile
===================================================================
--- trunk/dports/devel/odcctools/Portfile 2012-03-28 17:23:43 UTC (rev 91300)
+++ trunk/dports/devel/odcctools/Portfile 2012-03-28 17:28:42 UTC (rev 91301)
@@ -8,16 +8,12 @@
epoch 1
version 822
revision 2
-set llvm_version 3.0
categories devel
-maintainers jeremyhu openmaintainer
+maintainers nomaintainer
homepage http://opensource.apple.com/
-master_sites http://opensource.apple.com/tarballs/${my_name}/
platforms darwin
license apsl-2.0
-distname ${my_name}-${version}
-
description Darwin cctools build system.
long_description \
The odcctools project is geared towards improving the \
@@ -28,67 +24,13 @@
and analyzing Mach-O and fat files, and support \
libraries.
-checksums md5 7a5e044c34b0d2745dddbdf3a5d3061d \
- sha1 bd04447522aa69c1f71ab01811ac46dca23b92b7 \
- rmd160 1caf207acbf421cdc975926a392fc75dc1d2594c
+replaced_by cctools
-depends_build port:ld64
-depends_run port:llvm-${llvm_version}
+distfiles
-post-patch {
- reinplace "/^int subsections_via_symbols/s/^int/extern int/" ${worksrcpath}/as/as.h
- reinplace "/^bfd_boolean dwarf2_loc_mark_labels/s/^bfd_boolean/extern bfd_boolean/" ${worksrcpath}/as/dwarf2dbg.h
-
- reinplace "s:\"llvm-mc\":\"llvm-mc-mp-${llvm_version}\":" ${worksrcpath}/as/driver.c
-
- foreach file [glob ${worksrcpath}/{*/,}Makefile] {
- reinplace "s:/usr/local:${prefix}:g" ${file}
- reinplace "s:/usr:${prefix}:g" ${file}
- reinplace "s:${prefix}/efi:${prefix}:g" ${file}
- reinplace "s:${prefix}/man:${prefix}/share/man:g" ${file}
- }
+pre-configure {
+ ui_error "${name} has been replaced by ${replaced_by}. Please install ${replaced_by} instead."
+ return -code error "obsolete port"
}
-use_configure no
-use_parallel_build yes
-
-build.target all
-build.args-append \
- TRIE=-DTRIE_SUPPORT \
- USE_DEPENDENCY_FILE=NO \
- BUILD_DYLIBS=NO \
- LTO=-DLTO_SUPPORT \
- CC="${configure.cc}" \
- CXX="${configure.cxx}" \
- RC_CFLAGS="[get_canonical_archflags] `llvm-config-mp-${llvm_version} --cflags`" \
- LLVM_MC="llvm-mc-mp-${llvm_version}"
-
-destroot.args-append \
- TRIE=-DTRIE_SUPPORT \
- USE_DEPENDENCY_FILE=NO \
- BUILD_DYLIBS=NO \
- LTO=-DLTO_SUPPORT \
- CC="${configure.cc}" \
- CXX="${configure.cxx}" \
- RC_CFLAGS="[get_canonical_archflags]" \
- LLVM_MC="llvm-mc-mp-${llvm_version}"
-
-platform macosx {
- # DON'T DO THIS! I'm leaving it here as a warning to curious minds.
- # build.args-append RC_OS="macos"
-
- if {${os.major} < 10} {
- build.args-append \
- OLD_LIBKLD=YES
-
- destroot.args-append \
- OLD_LIBKLD=YES
- }
-}
-
-destroot.args-append DSTROOT=${destroot}
-post-destroot {
- file delete -force ${destroot}${prefix}/OpenSourceLicenses
- file delete -force ${destroot}${prefix}/OpenSourceVersions
- file delete -force ${destroot}${prefix}/RelNotes
-}
+livecheck.type none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120328/f46291ea/attachment.html>
More information about the macports-changes
mailing list