[27267] trunk/dports/sysutils

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 26 04:34:45 PDT 2007


Revision: 27267
          http://trac.macosforge.org/projects/macports/changeset/27267
Author:   mww at macports.org
Date:     2007-07-26 04:34:45 -0700 (Thu, 26 Jul 2007)

Log Message:
-----------
new port sysutils/gcc_select (MacPorts gcc_select)

Added Paths:
-----------
    trunk/dports/sysutils/gcc_select/
    trunk/dports/sysutils/gcc_select/Portfile
    trunk/dports/sysutils/gcc_select/files/
    trunk/dports/sysutils/gcc_select/files/base
    trunk/dports/sysutils/gcc_select/files/gcc33
    trunk/dports/sysutils/gcc_select/files/gcc40

Added: trunk/dports/sysutils/gcc_select/Portfile
===================================================================
--- trunk/dports/sysutils/gcc_select/Portfile	                        (rev 0)
+++ trunk/dports/sysutils/gcc_select/Portfile	2007-07-26 11:34:45 UTC (rev 27267)
@@ -0,0 +1,48 @@
+# $Id: $
+
+PortSystem 1.0
+
+name			gcc_select
+version			0.1
+categories		sysutils
+platforms		darwin
+maintainers		mww at macports.org
+description		Switch the default compiler
+long_description	gcc_select lets you switch the default compiler. \
+			It symlinks the standard compiler executables \
+			in the MacPorts prefix to the selected version.
+
+homepage		http://svn.macports.org/repository/macports/users/mww/select/
+master_sites		${homepage}
+distname		select-${version}
+checksums		sha1 18e1f95c2ddd88210aa52eb696261859af2dc3a4
+
+configure.args		--mandir=${prefix}/share/man --name=gcc
+
+# install & select gcc33
+platform darwin 7 {
+	post-destroot {
+		xinstall -m 644 -W ${filespath} base gcc33 \
+			${destroot}${prefix}/etc/select/gcc
+		system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc33"
+	}
+}
+
+# install gcc33, gcc40 & select gcc40
+platform darwin 8 ppc {
+	post-destroot {
+		xinstall -m 644 -W ${filespath} base gcc40 gcc33 \
+			${destroot}${prefix}/etc/select/gcc
+		system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40"
+	}
+}
+
+# install & select gcc40
+platform darwin 8 i386 {
+	post-destroot {
+		xinstall -m 644 -W ${filespath} base gcc40 \
+			${destroot}${prefix}/etc/select/gcc
+		system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40"
+	}
+}
+

Added: trunk/dports/sysutils/gcc_select/files/base
===================================================================
--- trunk/dports/sysutils/gcc_select/files/base	                        (rev 0)
+++ trunk/dports/sysutils/gcc_select/files/base	2007-07-26 11:34:45 UTC (rev 27267)
@@ -0,0 +1,7 @@
+bin/gcc
+bin/cpp
+bin/c++
+bin/g++
+bin/gcj
+bin/gcov
+bin/gfortan

Added: trunk/dports/sysutils/gcc_select/files/gcc33
===================================================================
--- trunk/dports/sysutils/gcc_select/files/gcc33	                        (rev 0)
+++ trunk/dports/sysutils/gcc_select/files/gcc33	2007-07-26 11:34:45 UTC (rev 27267)
@@ -0,0 +1,7 @@
+/usr/bin/gcc-3.3
+/usr/bin/cpp-3.3
+/usr/bin/c++-3.3
+/usr/bin/bin/g++-3.3
+-
+/usr/bin/gcov-3.3
+-

Added: trunk/dports/sysutils/gcc_select/files/gcc40
===================================================================
--- trunk/dports/sysutils/gcc_select/files/gcc40	                        (rev 0)
+++ trunk/dports/sysutils/gcc_select/files/gcc40	2007-07-26 11:34:45 UTC (rev 27267)
@@ -0,0 +1,7 @@
+/usr/bin/gcc-4.0
+/usr/bin/cpp-4.0
+/usr/bin/c++-4.0
+/usr/bin/bin/g++-4.0
+-
+/usr/bin/gcov-4.0
+-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070726/ac389753/attachment.html


More information about the macports-changes mailing list