[58544] trunk/dports/aqua/FScript/Portfile

snc at macports.org snc at macports.org
Wed Sep 30 10:20:40 PDT 2009


Revision: 58544
          http://trac.macports.org/changeset/58544
Author:   snc at macports.org
Date:     2009-09-30 10:20:34 -0700 (Wed, 30 Sep 2009)
Log Message:
-----------
updated version, added portgroup, etc. ticket #21635. maintainer timeout.

Modified Paths:
--------------
    trunk/dports/aqua/FScript/Portfile

Modified: trunk/dports/aqua/FScript/Portfile
===================================================================
--- trunk/dports/aqua/FScript/Portfile	2009-09-30 15:53:52 UTC (rev 58543)
+++ trunk/dports/aqua/FScript/Portfile	2009-09-30 17:20:34 UTC (rev 58544)
@@ -1,69 +1,48 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
-name		FScript
-version		1.3.5
-categories	aqua lang
-maintainers	mac.com:bfulgham
-description	Open-source interactive Cocoa scripting environment
-long_description	\
-	F-Script is an open-source interactive and scripting environment \
-	for Cocoa.  Based on Smalltalk, F-Script provides a pure object- \
-	oriented environment that leverages Mac OS X technologies and \
-	frameworks.  It aims to be a useful and fun tool for both \
-	beginners and experts, allowing interactively exploring, testing \
-	and using Cocoa-based objects and frameworks.
+PortSystem              1.0
+PortGroup               xcode 1.0
 
-set srcdistdate 20070421
+name                    FScript
+version                 2.0.1
+categories              aqua lang
+platforms               darwin
+maintainers             mac.com:bfulgham
 
-homepage	http://www.fscript.org
-platforms	macosx
-master_sites	http://www.fscript.org/download
-distfiles	FScriptSources-${srcdistdate}.tar.gz
-checksums	md5 1e06058c63a7b7e8f8d54eb72efdb5d4
+description             Open-source interactive Cocoa scripting environment
+long_description        F-Script is an open-source interactive and scripting \
+                        environment for Cocoa.  Based on Smalltalk, F-Script \
+                        provides a pure object-oriented environment that \
+                        leverages Mac OS X technologies and frameworks.  It \
+                        aims to be a useful and fun tool for both beginners \
+                        and experts, allowing interactively exploring, testing \
+                        and using Cocoa-based objects and frameworks.
 
-worksrcdir	FScriptSources-${srcdistdate}/FScript
+homepage                http://www.fscript.org
 
-post-extract {
-	reinplace "s|Cocoa/cocoa.h|Cocoa/Cocoa.h|" ${worksrcpath}/F-Script/FScriptAppController.h
-}
+fetch.type              git
+git.url                 git://github.com/pmougin/F-Script
+git.branch              9f46645527bd47cdaae9f1211e282571b4667603
 
-use_configure	no
+xcode.target            FScriptFramework F-Script FScriptIBPlugin
+xcode.destroot.settings SKIP_INSTALL=NO
 
-set pkgname	F-Script
+destroot.violate_mtree  yes
 
-build.type 	pbx
-build.target	-target ${pkgname} -target FScriptFramework -target FScriptPalette \
-		-target FSTest1 -target FSTest2 -target TigerAndLaterOnly \
-		-configuration Deployment
-build.args	build -project FScript.xcodeproj
-
-set xcodebuilddir	build
-platform darwin 8	{
-	if {$xcodeversion == "2.1"} {
-		set xcodebuilddir	build/Deployment
-	}
+variant without_ibplugin description "Disable Interface Builder Plug-in" {
+        xcode.target-delete FScriptIBPlugin
+        destroot.violate_mtree no
 }
 
-platform darwin 9	{
-	set xcodebuilddir	build/Deployment
-}
+set ibplugin_dir "${developer_dir}/Platforms/MacOSX.platform/Developer/Library/Interface Builder/Plug-ins"
 
-destroot	{
-	# Applications
-	xinstall -d -m 755 ${destroot}/Applications/MacPorts/F-Script
-	file copy ${build.dir}/${xcodebuilddir}/${pkgname}.app \
-		${destroot}/Applications/MacPorts/F-Script/${pkgname}.app
-	file copy ${build.dir}/${xcodebuilddir}/FSTest1.app \
-		${destroot}/Applications/MacPorts/F-Script/FSTest1.app
-	file copy ${build.dir}/${xcodebuilddir}/FSTest2.app \
-		${destroot}/Applications/MacPorts/F-Script/FSTest2.app
-
-	# Frameworks
-	xinstall -d -m 755 ${destroot}/Library/Frameworks/
-	file copy ${build.dir}/${xcodebuilddir}/${name}.framework \
-		${destroot}/Library/Frameworks/
-	xinstall -d -m 755 ${destroot}/Developer/Palettes/
-	file copy ${build.dir}/${xcodebuilddir}/${name}Palette.palette \
-		${destroot}/Developer/Palettes/${name}Palette.palette
+post-destroot {
+        delete ${destroot}/${applications_dir}/FSTest1.app
+        delete ${destroot}/${applications_dir}/FSTest2.app
+        file rename ${destroot}/${applications_dir}/FScript.framework ${destroot}/${frameworks_dir}/
+        if { ![variant_isset without_ibplugin] } {
+                xinstall -d -m 755 ${destroot}/${ibplugin_dir}
+                file rename ${destroot}/${applications_dir}/FScriptIBPlugin.ibplugin ${destroot}/${ibplugin_dir}
+        }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090930/125510b9/attachment.html>


More information about the macports-changes mailing list