[32875] trunk/dports/gnome/gnome-desktop-suite/Portfile

rhwood at macports.org rhwood at macports.org
Mon Jan 14 01:46:47 PST 2008


Revision: 32875
          http://trac.macosforge.org/projects/macports/changeset/32875
Author:   rhwood at macports.org
Date:     2008-01-14 01:46:47 -0800 (Mon, 14 Jan 2008)

Log Message:
-----------
Add missing required variables
Add whitespace wanted by lint
Add newlines around message to user
Change paths .../etc/ports/... to .../etc/macports/...

Modified Paths:
--------------
    trunk/dports/gnome/gnome-desktop-suite/Portfile

Modified: trunk/dports/gnome/gnome-desktop-suite/Portfile
===================================================================
--- trunk/dports/gnome/gnome-desktop-suite/Portfile	2008-01-14 09:43:50 UTC (rev 32874)
+++ trunk/dports/gnome/gnome-desktop-suite/Portfile	2008-01-14 09:46:47 UTC (rev 32875)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem	1.0
+
 name		gnome-desktop-suite
 version		2.18.1
 revision	0
@@ -9,6 +10,8 @@
 description	The GNOME desktop environment
 long_description	The GNOME desktop environment is the set of libraries, applications and services that work as a cohesive integrated user interface produced by the GNOME project. The platform is one of the suites of software packages that form the complete GNOME project offerings.
 homepage	http://www.gnome.org/
+master_sites	{}
+platforms	macosx freebsd
 depends_lib	port:gnome-platform-suite	\
 		port:bug-buddy	\
 		port:control-center	\
@@ -71,19 +74,19 @@
 distfiles
 fetch           { }
 checksum        { }
-configure       { }
+use_configure   no
 build           { }
 destroot        {
 	file mkdir ${destroot}${prefix}/share/doc/
 	file copy ${filespath}/README.${name}.txt ${destroot}${prefix}/share/doc
 }
 post-activate		{
-	set fl [open "| grep -c with_gnome ${prefix}/etc/ports/variants.conf" ]
+	set fl [open "| grep -c with_gnome ${prefix}/etc/macports/variants.conf" ]
 	set data [read $fl]
 	if {[catch {close $fl} err]} {
-		file copy -force ${prefix}/etc/ports/variants.conf ${prefix}/etc/ports/variants.conf.bak
-		system "	echo +with_gnome >> ${prefix}/etc/ports/variants.conf"
+		file copy -force ${prefix}/etc/macports/variants.conf ${prefix}/etc/macports/variants.conf.bak
+		system "	echo +with_gnome >> ${prefix}/etc/macports/variants.conf"
 	}
-	ui_msg "To start gnome put \"exec gnome-session\" in your .xinitrc"
-	ui_msg "See also http://svn.macosforge.org/projects/macports/wiki/GNOME"
+	ui_msg "\nTo start gnome put \"exec gnome-session\" in your .xinitrc"
+	ui_msg "See also http://svn.macosforge.org/projects/macports/wiki/GNOME\n"
 }

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


More information about the macports-changes mailing list