[67785] trunk/dports/sysutils/gcc_select/Portfile

jmr at macports.org jmr at macports.org
Tue May 18 04:34:14 PDT 2010


Revision: 67785
          http://trac.macports.org/changeset/67785
Author:   jmr at macports.org
Date:     2010-05-18 04:34:09 -0700 (Tue, 18 May 2010)
Log Message:
-----------
gcc_select: mark as noarch, add license, remove darwin 7

Modified Paths:
--------------
    trunk/dports/sysutils/gcc_select/Portfile

Modified: trunk/dports/sysutils/gcc_select/Portfile
===================================================================
--- trunk/dports/sysutils/gcc_select/Portfile	2010-05-18 11:17:22 UTC (rev 67784)
+++ trunk/dports/sysutils/gcc_select/Portfile	2010-05-18 11:34:09 UTC (rev 67785)
@@ -7,6 +7,7 @@
 revision		4
 categories		sysutils
 platforms		darwin
+license		BSD
 maintainers		mww
 description		Switch the default compiler
 long_description	gcc_select lets you switch the default compiler. \
@@ -18,6 +19,12 @@
 distname		select-${version}
 checksums		sha1 18e1f95c2ddd88210aa52eb696261859af2dc3a4
 
+if {[info exists supported_archs]} {
+    supported_archs noarch
+} else {
+    universal_variant no
+}
+
 configure.args		--mandir=${prefix}/share/man --name=gcc
 
 post-destroot {
@@ -25,15 +32,6 @@
 			${destroot}${prefix}/etc/select/gcc
 }
 
-# install & select gcc33
-platform darwin 7 {
-	post-destroot {
-		xinstall -m 644 -W ${filespath} gcc33 \
-			${destroot}${prefix}/etc/select/gcc
-		system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc33"
-	}
-}
-
 # install gcc33, gcc40 & select gcc40
 platform darwin 8 powerpc {
 	post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100518/81431c55/attachment-0001.html>


More information about the macports-changes mailing list