[101000] trunk/dports/devel
mfeiri at macports.org
mfeiri at macports.org
Wed Jan 2 19:02:44 PST 2013
Revision: 101000
https://trac.macports.org/changeset/101000
Author: mfeiri at macports.org
Date: 2013-01-02 19:02:44 -0800 (Wed, 02 Jan 2013)
Log Message:
-----------
libc-headers: new port
Added Paths:
-----------
trunk/dports/devel/libc-headers/
trunk/dports/devel/libc-headers/Portfile
Added: trunk/dports/devel/libc-headers/Portfile
===================================================================
--- trunk/dports/devel/libc-headers/Portfile (rev 0)
+++ trunk/dports/devel/libc-headers/Portfile 2013-01-03 03:02:44 UTC (rev 101000)
@@ -0,0 +1,85 @@
+# $Id$
+
+PortSystem 1.0
+name libc-headers
+version 825.25
+categories devel
+platforms macosx
+maintainers mfeiri openmaintainer
+license APSL-1.1 APSL-2 BSD MIT
+description Darwin Libc Headers
+long_description Headers files for the C standard library
+
+homepage http://opensource.apple.com/source/Libc/
+master_sites http://opensource.apple.com/tarballs/Libc/
+
+distname Libc-${version}
+
+checksums rmd160 5ad9e1168ff3ca60940e40e84505f0660c3ce15d \
+ sha256 1de4e3dcce08c907d1593e8ff941b8400ffaf5e5badb4aad504d7ba80f507b43
+
+use_configure no
+
+depends_build path:bin/unifdef:developer_cmds
+build.type bsd
+build {}
+
+destroot.target installhdrs
+destroot.destdir DESTDIR=${destroot}${prefix}
+
+
+post-destroot {
+ # instead of extensive rewrites of the darwin <12 installation scripts
+ if [file exists ${destroot}${prefix}/usr/include] {
+ file rename -force ${destroot}${prefix}/usr/include ${destroot}${prefix}/
+ }
+ file delete -force ${destroot}${prefix}/usr
+ file delete -force ${destroot}${prefix}/System
+}
+
+if {${os.major} < 9} {
+ pre-fetch {
+ ui_error "${name} requires Mac OS X 10.5 or later."
+ return -code error "incompatible Mac OS X version"
+ }
+}
+
+platform darwin 9 {
+ version 498.1.7
+ distname Libc-${version}
+ checksums rmd160 4f2c531805165b82e3f3587fca3cd88dd56db592 \
+ sha256 77122a555050d6b4ba866699507195d05d270700a9b411ab5ee8740857078609
+}
+
+platform darwin 10 {
+ version 594.9.5
+ distname Libc-${version}
+ checksums rmd160 160ea30d68d79d5aa10608a67f0246cb65bb33f2 \
+ sha256 a7a7b65fc4d185db076d30ac8e453f16be555d36c9b8a3b6162d317713686840
+}
+
+platform darwin 11 {
+ version 763.13
+ distname Libc-${version}
+ checksums rmd160 d2484c13b9ff5b401e732946e1929dd5ca8e9ad4 \
+ sha256 a1d88010d04f7bc3af3b52d61aacdf0c6826aa0cfa2814e65bdef365cae28bc9
+}
+
+platform darwin 12 {
+
+ pre-destroot {
+ reinplace "s|/System/Library|/Library|g" ${worksrcpath}/xcodescripts/headers.sh
+ reinplace "s|/usr||g" ${worksrcpath}/xcodescripts/manpages.sh
+ file attributes ${worksrcpath}/xcodescripts/headers.sh -permissions +x
+ file attributes ${worksrcpath}/xcodescripts/manpages.sh -permissions +x
+ }
+
+ destroot.env ARCHS=${build_arch} PLATFORM_NAME=${platforms} \
+ DSTROOT=${destroot}${prefix} DERIVED_FILES_DIR=${workpath} \
+ SRCROOT=${worksrcpath} PUBLIC_HEADERS_FOLDER_PATH=/include \
+ PRIVATE_HEADERS_FOLDER_PATH=/include
+ destroot.cmd "./xcodescripts/headers.sh && ./xcodescripts/manpages.sh"
+}
+
+livecheck.type regex
+livecheck.regex "Libc-(\[\\d.\]+)"
Property changes on: trunk/dports/devel/libc-headers/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130102/e4ea738f/attachment.html>
More information about the macports-changes
mailing list