[96776] trunk/dports/_resources/port1.0/group
blair at macports.org
blair at macports.org
Sat Aug 18 22:52:01 PDT 2012
Revision: 96776
https://trac.macports.org/changeset/96776
Author: blair at macports.org
Date: 2012-08-18 22:52:01 -0700 (Sat, 18 Aug 2012)
Log Message:
-----------
group/*: trim trailing whitespace.
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/app-1.0.tcl
trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl
trunk/dports/_resources/port1.0/group/cmake-1.0.tcl
trunk/dports/_resources/port1.0/group/crossbinutils-1.0.tcl
trunk/dports/_resources/port1.0/group/crossgcc-1.0.tcl
trunk/dports/_resources/port1.0/group/github-1.0.tcl
trunk/dports/_resources/port1.0/group/gnustep-1.0.tcl
trunk/dports/_resources/port1.0/group/haskell-1.0.tcl
trunk/dports/_resources/port1.0/group/hocbinding-1.0.tcl
trunk/dports/_resources/port1.0/group/hunspelldict-1.0.tcl
trunk/dports/_resources/port1.0/group/java-1.0.tcl
trunk/dports/_resources/port1.0/group/kde4-1.0.tcl
trunk/dports/_resources/port1.0/group/kde4-1.1.tcl
trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl
trunk/dports/_resources/port1.0/group/ocaml-1.0.tcl
trunk/dports/_resources/port1.0/group/octave-1.0.tcl
trunk/dports/_resources/port1.0/group/pear-1.0.tcl
trunk/dports/_resources/port1.0/group/perl5-1.0.tcl
trunk/dports/_resources/port1.0/group/php-1.0.tcl
trunk/dports/_resources/port1.0/group/php-1.1.tcl
trunk/dports/_resources/port1.0/group/php5extension-1.0.tcl
trunk/dports/_resources/port1.0/group/php5pear-1.0.tcl
trunk/dports/_resources/port1.0/group/pure-1.0.tcl
trunk/dports/_resources/port1.0/group/python-1.0.tcl
trunk/dports/_resources/port1.0/group/python24-1.0.tcl
trunk/dports/_resources/port1.0/group/python25-1.0.tcl
trunk/dports/_resources/port1.0/group/python26-1.0.tcl
trunk/dports/_resources/port1.0/group/python27-1.0.tcl
trunk/dports/_resources/port1.0/group/python31-1.0.tcl
trunk/dports/_resources/port1.0/group/python32-1.0.tcl
trunk/dports/_resources/port1.0/group/qt4-1.0.tcl
trunk/dports/_resources/port1.0/group/ruby-1.0.tcl
trunk/dports/_resources/port1.0/group/select-1.0.tcl
trunk/dports/_resources/port1.0/group/texlive-1.0.tcl
trunk/dports/_resources/port1.0/group/x11font-1.0.tcl
trunk/dports/_resources/port1.0/group/xcode-1.0.tcl
trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl
trunk/dports/_resources/port1.0/group/zope-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/app-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/app-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/app-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,13 +1,13 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-#
+#
# Copyright (c) 2011 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -16,7 +16,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -28,8 +28,8 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup helps create an application bundle the user can open from the
# Finder or the Dock. This is useful for ports that install a program built
# with an SDK like SDL or Qt that, when launched, causes an icon to appear in
@@ -163,11 +163,11 @@
if {[regexp {[/]} ${app.name}]} {
return -code error "app.name ${app.name} contains illegal characters"
}
-
+
# Make the app bundle directories.
xinstall -d ${destroot}${applications_dir}/${app.name}.app/Contents/MacOS \
${destroot}${applications_dir}/${app.name}.app/Contents/Resources
-
+
# Ensure app.identifier is valid.
if {[regexp -nocase {[^a-z0-9.-]} ${app.identifier}]} {
return -code error "app.identifier ${app.identifier} contains illegal characters"
@@ -175,23 +175,23 @@
if {[llength [split ${app.identifier} "."]] < 3} {
return -code error "app.identifier ${app.identifier} does not look like a valid CFBundleIdentifier"
}
-
+
if {${app.icon} != ""} {
# Turn relative app.icon paths into absolute ones.
set icon ${app.icon}
if {[string index ${icon} 0] != "/"} {
set icon ${worksrcpath}/${icon}
}
-
+
# Ensure app.icon exists.
if {![file exists ${icon}]} {
return -code error "app.icon ${app.icon} does not exist"
}
-
+
# If app.icon is an .icns file, copy it.
if {[file extension ${icon}] == ".icns"} {
xinstall -m 644 ${icon} ${destroot}${applications_dir}/${app.name}.app/Contents/Resources/${app.name}.icns
-
+
# If app.icon is another type of image file, convert it.
} else {
if {[catch {exec ${prefix}/bin/makeicns -in ${icon} -out ${destroot}${applications_dir}/${app.name}.app/Contents/Resources/${app.name}.icns 2>@1}]} {
@@ -199,18 +199,18 @@
}
}
}
-
+
# Turn relative app.executable paths into absolute ones.
set executable ${app.executable}
if {[string index ${executable} 0] != "/"} {
set executable ${prefix}/bin/${executable}
}
-
+
# Check for a possible maintainer error.
if {[string first ${destroot} ${executable}] == 0} {
return -code error "app.executable ${app.executable} should not start with \${destroot}"
}
-
+
# If app.executable is in the destroot, link to it.
if {[file exists ${destroot}[app._resolve_symlink ${executable} ${destroot}]]} {
ln -s ${executable} ${destroot}${applications_dir}/${app.name}.app/Contents/MacOS/${app.name}
@@ -224,7 +224,7 @@
} else {
return -code error "app.executable ${app.executable} does not exist"
}
-
+
# Build the Info.plist.
set fp [open ${destroot}${applications_dir}/${app.name}.app/Contents/Info.plist w]
puts ${fp} "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
@@ -256,7 +256,7 @@
</dict>
</plist>"
close ${fp}
-
+
# Build the PkgInfo file.
set fp [open ${destroot}${applications_dir}/${app.name}.app/Contents/PkgInfo w]
puts -nonewline ${fp} "APPL????"
Modified: trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,13 +1,13 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-#
+#
# Copyright (c) 2009 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -16,7 +16,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -28,15 +28,15 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup checks that the architecture(s) of the given files match
# the architecture(s) we are trying to install this port as now. This is
# a crutch to get us by until a proper solution is implemented in base.
# See #20728.
-#
+#
# Usage:
-#
+#
# PortGroup archcheck 1.0
# archcheck.files file1 file2 ...
#
@@ -57,7 +57,7 @@
if {"/" != [string index ${file} 0]} {
set file [file join ${prefix} ${file}]
}
-
+
# Make sure the file exists -- there have been cases where dylibs are
# inexplicably absent (e.g. #23057).
if {![file exists ${file}]} {
@@ -69,10 +69,10 @@
ui_error ""
return -code error "missing required file"
}
-
+
set file_archs [string trim [strsed [exec lipo -info ${file}] {s/.*://}]]
set file_archs [string map {ppc7400 ppc ppc7450 ppc} ${file_archs}]
-
+
foreach file_arch ${file_archs} {
switch ${file_arch} {
i386 -
@@ -88,7 +88,7 @@
}
}
}
-
+
foreach requested_arch ${requested_archs} {
if {-1 == [string first " ${requested_arch} " " ${file_archs} "]} {
set dependency [strsed [exec ${prefix}/bin/port provides ${file} 2>/dev/null] {s/.*: //}]
Modified: trunk/dports/_resources/port1.0/group/cmake-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/cmake-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/cmake-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -17,7 +17,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/crossbinutils-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/crossbinutils-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/crossbinutils-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,12 +1,12 @@
# $Id$
-#
+#
# Copyright (c) 2010 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -15,7 +15,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -27,13 +27,13 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup automatically sets all the fields of the various cross binutils
# ports (e.g. spu-binutils).
-#
+#
# Usage:
-#
+#
# PortGroup crossbinutils 1.0
# crossbinutils.setup spu 2.20.51.0.5
Modified: trunk/dports/_resources/port1.0/group/crossgcc-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/crossgcc-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/crossgcc-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,12 +1,12 @@
# $Id$
-#
+#
# Copyright (c) 2011 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -15,7 +15,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -27,13 +27,13 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup automatically sets all the fields of the various cross gcc
# ports (e.g. arm-none-eabi-gcc).
#
# Usage:
-#
+#
# PortGroup crossgcc 1.0
#
# crossgcc.setup arm-none-eabi 4.6.1
Modified: trunk/dports/_resources/port1.0/group/github-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/github-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/github-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,13 +1,13 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-#
+#
# Copyright (c) 2012 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -16,7 +16,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -28,12 +28,12 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup sets up default behaviors for projects hosted at github.
-#
+#
# Usage:
-#
+#
# PortGroup github 1.0
# github.setup author project version [tag_prefix]
@@ -62,12 +62,12 @@
proc github.setup {gh_author gh_project gh_version {gh_tag_prefix ""}} {
global github.author github.project github.version github.tag_prefix github.homepage github.master_sites
-
+
github.author ${gh_author}
github.project ${gh_project}
github.version ${gh_version}
github.tag_prefix ${gh_tag_prefix}
-
+
name ${github.project}
version ${github.version}
homepage ${github.homepage}
@@ -75,14 +75,14 @@
git.branch [join ${github.tag_prefix}]${github.version}
distname ${github.project}-${github.version}
fetch.ignore_sslcert yes
-
+
post-extract {
if {![file exists ${worksrcpath}] && "standard" == ${fetch.type} && \
${master_sites} == ${github.master_sites} && [llength ${distfiles}] > 0} {
move [glob ${workpath}/*] ${worksrcpath}
}
}
-
+
livecheck.type regex
livecheck.url ${github.homepage}/tags
livecheck.regex tarball/[join ${github.tag_prefix} ""](\[^"\]+)
Modified: trunk/dports/_resources/port1.0/group/gnustep-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/gnustep-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/gnustep-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -18,7 +18,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -46,12 +46,12 @@
# default master_sites gnustep:core
# default depends_lib port:gnustep-core
#
-# array set gnustep.post_flags Apple CC two-level namespaces requires all
-# symbols to be resolved at link time,
+# array set gnustep.post_flags Apple CC two-level namespaces requires all
+# symbols to be resolved at link time,
# so most of the patches are just that.
# Setting the gnustep.post_flags array makes this
# simple beyond common understanding !
-# ex:
+# ex:
# platform darwin {
# array set gnustep.post_flags {
# BundleSubDir "-lfoo -lbar"
@@ -59,10 +59,10 @@
# }
#
#
-# proc set_gnustep_make Sets GNUSTEP_MAKEFILES
-# according to the FilesystemLayout
+# proc set_gnustep_make Sets GNUSTEP_MAKEFILES
+# according to the FilesystemLayout
#
-# proc set_gnustep_env Sets DYLD_LIBRARY_PATH and PATH
+# proc set_gnustep_env Sets DYLD_LIBRARY_PATH and PATH
# for the gnustep FilesystemLayout
#
#
@@ -88,9 +88,9 @@
#
#
-# Adds SHARED_LD_POSTFLAGS for Darwin's linker
+# Adds SHARED_LD_POSTFLAGS for Darwin's linker
#
-# Sets GNUSTEP_INSTALLATION_DOMAIN for ports using the
+# Sets GNUSTEP_INSTALLATION_DOMAIN for ports using the
# deprecated GNUSTEP_SYSTEM_ROOT variable
#
@@ -116,7 +116,7 @@
proc gnustep_layout {} {
global prefix
-
+
if {[file exists ${prefix}/GNUstep/System/Library/Makefiles]} {
return 1
}
@@ -129,7 +129,7 @@
proc set_system_library {} {
global prefix
-
+
if {[gnustep_layout]} {
return "${prefix}/GNUstep/System/Library"
}
@@ -142,7 +142,7 @@
proc set_local_library {} {
global prefix
-
+
if {[gnustep_layout]} {
return "${prefix}/GNUstep/Local/Library"
}
@@ -155,7 +155,7 @@
proc set_gnustep_make {} {
global prefix
-
+
if {[gnustep_layout]} {
return "GNUSTEP_MAKEFILES=${prefix}/GNUstep/System/Library/Makefiles"
}
@@ -168,7 +168,7 @@
proc set_gnustep_env {} {
global env prefix
-
+
if {[gnustep_layout]} {
return [list "DYLD_LIBRARY_PATH=${prefix}/GNUstep/Local/Library/Libraries:${prefix}/GNUstep/System/Library/Libraries" \
"PATH=${prefix}/GNUstep/Local/Tools:${prefix}/GNUstep/System/Tools:$env(PATH)"]
@@ -230,15 +230,15 @@
port:gnustep-base
post-destroot {
-
+
if {[file exists ${worksrcpath}/Documentation/GNUmakefile]} {
-
+
ui_msg "$UI_PREFIX Making documentation for ${name}"
-
+
_cd ${worksrcpath}/Documentation
system "${destroot.env} ${destroot.cmd} \
${destroot.pre_args} ${destroot.destdir}"
-
+
set info_dir \
${destroot}${prefix}/GNUstep/System/Library/Documentation/info
if {[file exists ${info_dir}/manual.info]} {
@@ -247,7 +247,7 @@
${info_dir}/${manual_name}-manual.info
}
}
- }
+ }
}
-
+
Modified: trunk/dports/_resources/port1.0/group/haskell-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/haskell-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/haskell-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -15,7 +15,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/hocbinding-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/hocbinding-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/hocbinding-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,12 +1,12 @@
# $Id$
-#
+#
# Copyright (c) 2010 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -15,7 +15,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -27,22 +27,22 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup automatically sets all the fields of the various hs-HOC
# bindings ports (e.g. hs-HOC-Foundation).
-#
+#
# Usage:
-#
+#
# PortGroup hocbinding 1.0
# hocbinding.setup framework version source
-#
+#
# where framework is the name of the bound framework (e.g. Foundation), version
# is the version of the binding, and if the framework additional code is in HOC
# source itself, source is "hoc"; otherwise don't use source.
-#
+#
# Example:
-#
+#
# PortGroup hocbinding 1.0
# hocbinding.setup Foundation 0.7-r413 hoc
Modified: trunk/dports/_resources/port1.0/group/hunspelldict-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/hunspelldict-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/hunspelldict-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,12 +1,12 @@
# $Id$
-#
+#
# Copyright (c) 2010 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -15,7 +15,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -27,21 +27,21 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup automatically sets all the fields of the various hunspell
# directories ports (e.g. hunspell-dict-en_US).
-#
+#
# Usage:
-#
+#
# PortGroup unspelldict 1.0
# hunspelldict.setup locale version lang source
-#
+#
# If the dictionary is hosted on the OpenOffice.org website, set "source" to
# "ooo", otherwise don't use it.
-#
+#
# Example:
-#
+#
# PortGroup unspelldict 1.0
# hunspelldict.setup en_US 2006-02-07 {English (United States)} ooo
Modified: trunk/dports/_resources/port1.0/group/java-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/java-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/java-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -18,7 +18,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -44,13 +44,13 @@
ui_debug "Discovered JAVA_HOME via env: $home_value"
}
}
-
+
# First, ask the system where java home is
if { ![file isdirectory $home_value] && ![catch {set val [exec "/usr/libexec/java_home"]}] } {
set home_value $val
ui_debug "Discovered JAVA_HOME via /usr/libexec/java_home: $home_value"
}
-
+
# Fall back to more conventional way to find java home
if { ![file isdirectory $home_value] } {
foreach loc { "/System/Library/Frameworks/JavaVM.framework/Home" } {
@@ -61,12 +61,12 @@
}
}
}
-
+
# Warn user if we couldn't find a likely JAVA_HOME
if { ![file isdirectory $home_value]} {
ui_warn "No value for java JAVA_HOME was automatically discovered"
}
-
+
return $home_value
}
Modified: trunk/dports/_resources/port1.0/group/kde4-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/kde4-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/kde4-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -15,7 +15,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -56,8 +56,8 @@
}
}
-# Automoc added as build dependency here as most, if not all kde programs
-# currently need it. The automoc port, which includes this PortGroup
+# Automoc added as build dependency here as most, if not all kde programs
+# currently need it. The automoc port, which includes this PortGroup
# overrides depends_build, removing "port:automoc" to prevent a
# cyclic dependency
depends_build-append port:automoc
Modified: trunk/dports/_resources/port1.0/group/kde4-1.1.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/kde4-1.1.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/kde4-1.1.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -16,7 +16,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -38,7 +38,7 @@
PortGroup qt4 1.0
# Make sure to not use any already installed headers and libraries;
-# these are set in CPATH and LIBRARY_PATH anyway.
+# these are set in CPATH and LIBRARY_PATH anyway.
configure.ldflags-delete -L${prefix}/lib
configure.cppflags-delete -I${prefix}/include
Modified: trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -18,7 +18,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -353,7 +353,7 @@
build {
foreach arch ${universal_archs_to_use} {
ui_info "$UI_PREFIX [format [msgcat::mc "Building %1\$s for architecture %2\$s"] $name ${arch}]"
-
+
if { [info exists merger_build_env(${arch})] } {
build.env-append $merger_build_env(${arch})
}
@@ -535,7 +535,7 @@
} else {
# File created by diff is invalid
delete ${dir}/${fl}
-
+
# nothing has worked so far.
switch -glob ${fl} {
*.jar {
Modified: trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -17,7 +17,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/ocaml-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/ocaml-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/ocaml-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -17,7 +17,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/octave-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/octave-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/octave-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,12 +1,12 @@
# $Id$
-#
+#
# Copyright (c) 2010 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -15,7 +15,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -27,16 +27,16 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup automatically sets up the standard environment for building
# an octave module.
-#
+#
# Usage:
-#
+#
# PortGroup octave 1.0
# octave.setup module version
-#
+#
# where module is the name of the module (e.g. communications) and version is
# its version.
@@ -45,7 +45,7 @@
proc octave.setup {module version} {
global octave.module
-
+
octave.module ${module}
name octave-${module}
version ${version}
@@ -53,12 +53,12 @@
homepage http://octave.sourceforge.net/${octave.module}/
master_sites sourceforge:octave
distname ${octave.module}-${version}
-
+
depends_lib path:bin/octave:octave
-
+
# octave is not universal
universal_variant no
-
+
livecheck.type regex
livecheck.url http://octave.sourceforge.net/packages.php
livecheck.regex http://downloads\\.sourceforge\\.net/octave/${octave.module}-(\\d+(\\.\\d+)*)\\.tar
Modified: trunk/dports/_resources/port1.0/group/pear-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/pear-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/pear-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,13 +1,13 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-#
+#
# Copyright (c) 2011-2012 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -16,7 +16,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -28,19 +28,19 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup automatically sets up the standard environment for installing
# a PHP PEAR class.
-#
+#
# Usage:
-#
+#
# PortGroup pear 1.0
# pear.setup package version channel
-#
+#
# where package is the name of the PEAR package (e.g. AUTH), version is its
# version, and channel is the channel hosting the package (default: pear.php.net).
-#
+#
# Args placed before the php or pear commands.
options pear.env
@@ -113,12 +113,12 @@
global name extract.suffix version
global pear.env pear.cmd-pear pear.destroot pear.sourceroot
global pear.channel pear.package pear.packagexml
-
+
# The pear name for the package.
pear.package ${package_name}
# The pear channel for the package.
pear.channel ${package_channel}
-
+
name pear-${pear.package}
version ${package_version}
categories php
@@ -130,7 +130,7 @@
supported_archs noarch
use_parallel_build yes
depends_build port:pear-install-phar
-
+
# List of ports that pear-PEAR depends on.
# Add some pear-PEAR deps to make programmatic creation of pear Portfiles easier.
if {
@@ -148,30 +148,30 @@
port:pear-Console_Getopt \
port:pear-Structures_Graph \
port:pear-XML_Util
-
+
}
-
+
fetch.ignore_sslcert yes
-
+
extract.post_args-append -C '${pear.sourceroot}' --strip-components 1
pre-extract {
xinstall -d "${pear.sourceroot}"
}
-
+
post-extract {
# The "--strip-components 1" causes the loss of our package file so we will extract it now.
extract.post_args-delete --strip-components 1
extract.post_args-append ${pear.packagexml}
command_exec extract
}
-
+
post-patch {
# Some ports use a "." baseinstalldir which can cause issues creating pears packagingroot directory.
reinplace "s|baseinstalldir=\"\.\"|baseinstalldir=\"/\"|g" \
${pear.sourceroot}/${pear.packagexml}
}
-
+
configure.env ${pear.env}
configure.dir ${pear.sourceroot}
configure {
@@ -206,7 +206,7 @@
command_exec configure
}
}
-
+
build {
build.env ${pear.env}
build.dir ${pear.sourceroot}
Modified: trunk/dports/_resources/port1.0/group/perl5-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/perl5-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/perl5-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -20,7 +20,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/php-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/php-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/php-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,13 +1,13 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-#
+#
# Copyright (c) 2009-2012 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -16,7 +16,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -28,26 +28,26 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup automatically sets up the standard environment for building
# a PHP extension.
-#
+#
# Usage:
-#
+#
# PortGroup php 1.0
# php.setup extension version source
# php.branches 5.3 5.4
-#
+#
# where extension is the name of the extension (e.g. APC), version is its
# version, and if the extension is hosted at PECL, source is "pecl"; otherwise
# don't use source.
-#
+#
# php.branches must be set to the list of PHP branches for which this extension
# should be made available.
-#
+#
# If this is a Zend extension, use
-#
+#
# php.type zend
### This portgroup is not ready to be used yet ###
@@ -98,10 +98,10 @@
if {"set" != ${action}} {
return
}
-
+
# Sort the values so we can use lindex 0 and end to get the min and max branches respectively.
option ${option} [lsort -command vercmp [option ${option}]]
-
+
global php.default_branch php.rootname php._bundled name subport
if {[regexp {^php-} ${name}]} {
# Legacy dist_subdir to match old php5- port layout.
@@ -110,12 +110,12 @@
dist_subdir php5-${php.rootname}
}
}
-
+
# Create subport for each PHP branch.
foreach branch [option ${option}] {
subport php[php.suffix_from_branch ${branch}]-${php.rootname} {}
}
-
+
# Set up stub port.
if {${name} == ${subport}} {
supported_archs noarch
@@ -137,11 +137,11 @@
proc php._set_pecl_livecheck_stable {option action args} {
global livecheck.regex
-
+
if {"set" != ${action}} {
return
}
-
+
if {${args}} {
livecheck.regex {>([0-9a-zA-Z.]+)</a></th>\s*<[^>]+>stable<}
} else {
@@ -152,37 +152,37 @@
proc php.setup {extensions version {source ""}} {
global php php.branch php.branches php.build_dirs php.config php.extension_ini php.extensions php.homepage php.ini_dir php.rootname php._bundled
global destroot name subport
-
+
# Use "set" to preserve the list structure.
set php.extensions ${extensions}
-
+
if {![info exists name]} {
name php-${php.rootname}
}
version ${version}
categories php
-
+
if {${name} != ${subport}} {
# Set up distfiles for non-bundled extensions.
if {!${php._bundled}} {
distname ${php.rootname}-${version}
}
-
+
depends_lib-append port:${php}
-
+
# These are set only for the convenience of subports that want to access
# these variables directly, e.g. the ${php}-openssl subport which wants
# to move a file in ${build.dir} in a post-extract block.
configure.dir [lindex ${php.build_dirs} 0]
build.dir [lindex ${php.build_dirs} 0]
destroot.dir [lindex ${php.build_dirs} 0]
-
+
configure.pre_args-append --with-php-config=${php.config}
-
+
configure.universal_args-delete --disable-dependency-tracking
-
+
variant debug description {Enable debug support (useful to analyze a PHP-related core dump)} {}
-
+
pre-configure {
set php_debug_variant [regexp {/debug-[^/]+$} ${php.extension_dir}]
if {${php_debug_variant} && ![variant_isset debug]} {
@@ -197,23 +197,23 @@
system -W ${dir} "${php.ize}"
}
}
-
+
configure {
foreach configure.dir ${php.build_dirs} {
ui_debug "Configuring in [file tail ${configure.dir}]"
portconfigure::configure_main
}
}
-
+
build {
foreach build.dir ${php.build_dirs} {
ui_debug "Building in [file tail ${build.dir}]"
portbuild::build_main
}
}
-
+
destroot.destdir INSTALL_ROOT=${destroot}
-
+
destroot {
foreach destroot.dir ${php.build_dirs} {
ui_debug "Staging in [file tail ${destroot.dir}]"
@@ -234,7 +234,7 @@
}
close $fp
}
-
+
post-install {
if {[file exists ${php.ini}]} {
set count 0
@@ -261,16 +261,16 @@
}
}
}
-
+
if {"pecl" == ${source}} {
global php.pecl_livecheck_stable
-
+
set php.homepage http://pecl.php.net/package/${php.rootname}
-
+
homepage ${php.homepage}
master_sites http://pecl.php.net/get/
extract.suffix .tgz
-
+
livecheck.type regexm
livecheck.url ${php.homepage}
php.pecl_livecheck_stable yes
@@ -303,13 +303,13 @@
# Calculate branch from subport.
proc php.branch_from_subport {} {
global php.default_branch subport
-
+
# For the subports, get the branch from ${subport}.
regexp {^php(\d+)} ${subport} -> suffix
if {[info exists suffix]} {
return [php.branch_from_suffix ${suffix}]
}
-
+
# For the stub port, use the default branch.
return ${php.default_branch}
}
Modified: trunk/dports/_resources/port1.0/group/php-1.1.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/php-1.1.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/php-1.1.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,13 +1,13 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-#
+#
# Copyright (c) 2009-2012 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -16,7 +16,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -28,8 +28,8 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup builds PHP extensions. Set name and version as for a normal
# standalone port, then set php.branches and optionally any other php options,
# described in more detail below.
@@ -40,11 +40,11 @@
# php.branches: the list of PHP branches for which the extension(s) will be
# built. For unified extension ports (name begins with "php-") setting
# php.branches is mandatory; there is no default. Example:
-#
+#
# php.branches 5.3 5.4
-#
+#
# For unified ports, setting php.branches will create the subports.
-#
+#
# For single-branch extension ports (name begins with e.g. "php54-")
# php.branches is set automatically based on the port name and should not be
# changed.
@@ -56,27 +56,27 @@
if {"set" != ${action}} {
return
}
-
+
# Sort the values so we can use lindex 0 and end to get the min and max branches respectively.
option ${option} [lsort -command vercmp [option ${option}]]
-
+
global php.default_branch php.rootname name subport
-
+
if {[regexp {^php\d*-} ${name}]} {
# Legacy dist_subdir to match old php5- port layout.
if {[lindex [split [lindex [option ${option}] 0] .] 0] == "5"} {
dist_subdir php5-${php.rootname}
}
-
+
if {[regexp {^php-} ${name}]} {
# Create subport for each PHP branch.
php.create_subports
-
+
# Set up stub port.
if {${name} == ${subport}} {
supported_archs noarch
depends_run port:php[php.suffix_from_branch ${php.default_branch}]-${php.rootname}
-
+
# Ensure the stub port does not do anything with distfiles—not
# if the port overrides distfiles, not if there's a post-extract
# block (e.g. the github portgroup).
@@ -93,7 +93,7 @@
distfiles
}
extract {}
-
+
patch {}
use_configure no
build {}
@@ -119,7 +119,7 @@
if {"set" != ${action}} {
return
}
-
+
if {[regexp {^php\d+-} ${args}]} {
php.branches [php.branch_from_subport]
}
@@ -138,9 +138,9 @@
if {"set" != ${action}} {
return
}
-
+
global name subport php.rootname
-
+
if {[regexp {^php-} ${name}] && ${name} == ${subport}} {
depends_run port:php[php.suffix_from_branch [option ${option}]]-${php.rootname}
}
@@ -165,7 +165,7 @@
# php.create_subports: creates subports for each PHP branch
-#
+#
# For a normal extension port whose name starts with "php-" this will be called
# automatically when you set php.branches so you shouldn't need to call it
# manually unless for example you're adding PHP extension subports to a port
@@ -227,14 +227,14 @@
if {"set" != ${action}} {
return
}
-
+
if {${args}} {
global php.rootname
-
+
php.pecl.name ${php.rootname}
master_sites http://pecl.php.net/get/
extract.suffix .tgz
-
+
livecheck.type regexm
php.pecl.prerelease no
}
@@ -253,9 +253,9 @@
if {"set" != ${action}} {
return
}
-
+
global php.pecl
-
+
if {${php.pecl}} {
set pecl_homepage http://pecl.php.net/package/${args}
default distname {${php.pecl.name}-${version}}
@@ -278,9 +278,9 @@
if {"set" != ${action}} {
return
}
-
+
global php.pecl
-
+
if {${php.pecl}} {
if {${args}} {
livecheck.regex {>([0-9a-zA-Z.]+)</a></th>}
@@ -350,20 +350,20 @@
proc php.add_port_code {} {
global php php.branch php.branches php.build_dirs php.config php.extension_ini php.extensions php.ini_dir php.rootname php._bundled
global destroot name subport version
-
+
# Set up distfiles default for non-bundled extensions.
default distname {${php.rootname}-${version}}
-
+
depends_build-append port:autoconf
-
+
depends_lib-append port:${php}
-
+
configure.pre_args-append --with-php-config=${php.config}
-
+
configure.universal_args-delete --disable-dependency-tracking
-
+
variant debug description {Enable debug support (useful to analyze a PHP-related core dump)} {}
-
+
pre-configure {
set php_debug_variant [regexp {/debug-[^/]+$} ${php.extension_dir}]
if {${php_debug_variant} && ![variant_isset debug]} {
@@ -378,30 +378,30 @@
system -W ${dir} "${php.ize}"
}
}
-
+
configure {
foreach configure.dir ${php.build_dirs} {
ui_debug "Configuring in [file tail ${configure.dir}]"
portconfigure::configure_main
}
}
-
+
build {
foreach build.dir ${php.build_dirs} {
ui_debug "Building in [file tail ${build.dir}]"
portbuild::build_main
}
}
-
+
destroot.destdir INSTALL_ROOT=${destroot}
-
+
destroot {
foreach destroot.dir ${php.build_dirs} {
ui_debug "Staging in [file tail ${destroot.dir}]"
portdestroot::destroot_main
}
}
-
+
post-destroot {
# Get the list of extensions that got installed by the port.
set installed_extension_files [lsort [glob -nocomplain -tails -directory ${destroot}${php.extension_dir} *.so]]
@@ -409,7 +409,7 @@
foreach installed_extension_file ${installed_extension_files} {
lappend installed_extensions [file rootname ${installed_extension_file}]
}
-
+
# If the portfile author didn't specify which extensions to load,
# load all of them.
if {![info exists php.extensions]} {
@@ -419,14 +419,14 @@
set php.extensions ${installed_extensions}
}
}
-
+
foreach extension [concat ${php.extensions} ${php.extensions.zend}] {
if {-1 == [lsearch -exact ${installed_extensions} ${extension}]} {
ui_error "Cannot list extension \"${extension}\" in ${php.extension_ini} because the port only installed the extensions \"[join ${installed_extensions} "\", \""]\""
return -code error "invalid extension name"
}
}
-
+
if {0 < [llength ${php.extensions}] || 0 < [llength ${php.extensions.zend}]} {
xinstall -m 755 -d ${destroot}${php.ini_dir}
set fp [open ${destroot}${php.ini_dir}/${php.extension_ini} w]
@@ -442,7 +442,7 @@
close $fp
}
}
-
+
post-install {
if {[file exists ${php.ini}]} {
set count 0
@@ -489,13 +489,13 @@
proc php.branch_from_subport {} {
global php.default_branch subport
-
+
# For the subports, get the branch from ${subport}.
regexp {^php(\d+)} ${subport} -> suffix
if {[info exists suffix]} {
return [php.branch_from_suffix ${suffix}]
}
-
+
# For the stub port, use the default branch.
return ${php.default_branch}
}
Modified: trunk/dports/_resources/port1.0/group/php5extension-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/php5extension-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/php5extension-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,13 +1,13 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-#
+#
# Copyright (c) 2009 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -16,7 +16,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -28,22 +28,22 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup automatically sets up the standard environment for building
# a PHP extension.
-#
+#
# Usage:
-#
+#
# PortGroup php5extension 1.0
# php5extension.setup extension version source
-#
+#
# where extension is the name of the extension (e.g. APC), version is its
# version, and if the extension is hosted at PECL, source is "pecl"; otherwise
# don't use source.
-#
+#
# If this is a Zend extension, use
-#
+#
# php5extension.type zend
@@ -71,25 +71,25 @@
proc php5extension.setup {extensions version {source ""}} {
global php5extension.build_dirs php5extension.extensions php5extension.ini php5extension.inidir php5extension.source
global destroot
-
+
# Use "set" to preserve the list structure.
set php5extension.extensions ${extensions}
-
+
php5extension.source ${source}
-
+
name php5-[lindex ${php5extension.extensions} 0]
version ${version}
categories php
distname [lindex ${php5extension.extensions} 0]-${version}
-
+
depends_build port:autoconf
-
+
depends_lib path:bin/php:php5
-
+
configure.universal_args-delete --disable-dependency-tracking
-
+
variant debug description {Enable debug support (useful to analyze a PHP-related core dump)} {}
-
+
pre-configure {
set php_debug_variant [regexp {/debug-[^/]+$} ${php5extension.extension_dir}]
if {${php_debug_variant} && ![variant_isset debug]} {
@@ -104,23 +104,23 @@
system "cd ${dir} && ${php5extension.phpize}"
}
}
-
+
configure {
foreach configure.dir ${php5extension.build_dirs} {
ui_debug "Configuring in [file tail ${configure.dir}]"
portconfigure::configure_main
}
}
-
+
build {
foreach build.dir ${php5extension.build_dirs} {
ui_debug "Building in [file tail ${build.dir}]"
portbuild::build_main
}
}
-
+
destroot.destdir INSTALL_ROOT=${destroot}
-
+
destroot {
foreach destroot.dir ${php5extension.build_dirs} {
ui_debug "Staging in [file tail ${destroot.dir}]"
@@ -141,7 +141,7 @@
}
close $fp
}
-
+
post-install {
if {[file exists ${php5extension.php_ini}]} {
set count 0
@@ -167,32 +167,32 @@
close $fp
}
}
-
+
if {"pecl" == ${source}} {
global php5extension.homepage
set php5extension.homepage http://pecl.php.net/package/[lindex ${php5extension.extensions} 0]/
-
+
homepage ${php5extension.homepage}
master_sites http://pecl.php.net/get/
extract.suffix .tgz
-
+
livecheck.type regexm
livecheck.url ${php5extension.homepage}
livecheck.regex {>([0-9.]+)</a></th>\s*<[^>]+>stable<}
} elseif {"bundled" == ${source}} {
homepage http://www.php.net/[lindex ${php5extension.extensions} 0]
master_sites php
-
+
dist_subdir php5
distname php-${version}
use_bzip2 yes
-
+
pre-extract {
foreach extension ${php5extension.extensions} {
extract.post_args-append ${worksrcdir}/ext/${extension}
}
}
-
+
pre-configure {
set php_version [exec ${prefix}/bin/php-config --version 2>/dev/null]
if {${version} != ${php_version}} {
@@ -200,9 +200,9 @@
return -code error "incompatible PHP installation"
}
}
-
+
destroot.target install-modules install-headers
-
+
livecheck.type none
livecheck.url http://www.php.net/downloads.php
livecheck.regex get/php-(5\\.\[0-9.\]+)\\.tar
Modified: trunk/dports/_resources/port1.0/group/php5pear-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/php5pear-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/php5pear-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,13 +1,13 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-#
+#
# Copyright (c) 2011 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -16,7 +16,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -28,19 +28,19 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup automatically sets up the standard environment for installing
# a PHP PEAR class.
-#
+#
# Usage:
-#
+#
# PortGroup php5pear 1.0
# php5pear.setup package version channel
-#
+#
# where package is the name of the PEAR package (e.g. AUTH), version is its
# version, and channel is the channel hosting the package (default: pear.php.net).
-#
+#
# Args placed before the php or pear commands.
options php5pear.env
@@ -113,12 +113,12 @@
global name extract.suffix version
global php5pear.env php5pear.cmd-pear php5pear.destroot php5pear.sourceroot
global php5pear.channel php5pear.package php5pear.packagexml
-
+
# The pear name for the package.
php5pear.package ${package_name}
# The pear channel for the package.
php5pear.channel ${package_channel}
-
+
name pear-${php5pear.package}
version ${package_version}
categories php
@@ -130,7 +130,7 @@
supported_archs noarch
use_parallel_build yes
depends_lib path:bin/phpize:php5 port:php5-pear
-
+
# List of ports that pear-PEAR depends on.
# Add some pear-PEAR deps to make programmatic creation of pear Portfiles easier.
if {
@@ -148,28 +148,28 @@
port:pear-Console_Getopt \
port:pear-Structures_Graph \
port:pear-XML_Util
-
+
}
-
+
extract.post_args-append -C '${php5pear.sourceroot}' --strip-components 1
pre-extract {
xinstall -d "${php5pear.sourceroot}"
}
-
+
post-extract {
# The "--strip-components 1" causes the loss of our package file so we will extract it now.
extract.post_args-delete --strip-components 1
extract.post_args-append ${php5pear.packagexml}
command_exec extract
}
-
+
post-patch {
# Some ports use a "." baseinstalldir which can cause issues creating pears packagingroot directory.
reinplace "s|baseinstalldir=\"\.\"|baseinstalldir=\"/\"|g" \
${php5pear.sourceroot}/${php5pear.packagexml}
}
-
+
configure.env ${php5pear.env}
configure.dir ${php5pear.sourceroot}
configure {
@@ -204,7 +204,7 @@
command_exec configure
}
}
-
+
build {
build.env ${php5pear.env}
build.dir ${php5pear.sourceroot}
Modified: trunk/dports/_resources/port1.0/group/pure-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/pure-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/pure-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,13 +1,13 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-#
+#
# Copyright (c) 2009 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -16,7 +16,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -28,32 +28,32 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup automatically sets up the standard environment for building
# a module for the Pure language.
-#
+#
# Usage:
-#
+#
# PortGroup pure 1.0
# pure.setup module version
-#
+#
# where module is the name of the module (e.g. gsl) and version is its
# version.
proc pure.setup {module version} {
global name homepage
-
+
name pure-${module}
version ${version}
homepage http://code.google.com/p/pure-lang/wiki/Addons#${name}
master_sites googlecode:pure-lang
-
+
depends_lib path:lib/libpure.dylib:pure
-
+
use_configure no
-
+
use_parallel_build yes
pre-build {
build.args-append CC=${configure.cc} \
@@ -63,7 +63,7 @@
CXXFLAGS="${configure.cxxflags} ${configure.cxx_archflags}" \
LDFLAGS="${configure.ldflags} ${configure.ld_archflags}"
}
-
+
post-destroot {
xinstall -d ${destroot}${prefix}/share/doc/${name}
foreach f {COPYING README} {
@@ -76,7 +76,7 @@
copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
}
}
-
+
livecheck.type regex
default livecheck.url {http://code.google.com/p/pure-lang/downloads/list?q=${name}&sort=filename}
default livecheck.regex {${name}-(\[0-9.\]+)\\.tar}
Modified: trunk/dports/_resources/port1.0/group/python-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/python-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -15,7 +15,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -42,7 +42,7 @@
# always set this (even if you have your own subport blocks)
# python.default_version: which version will be installed if the user asks
# for py-foo rather than pyXY-foo
-#
+#
# Note: setting these options requires name to be set beforehand
categories python
@@ -210,7 +210,7 @@
prefix {
global build_arch frameworks_dir
set ret "${frameworks_dir}/Python.framework/Versions/${python.branch}"
- if {${python.version} == 25 || (${python.version} == 24 &&
+ if {${python.version} == 25 || (${python.version} == 24 &&
![file isfile ${ret}/include/python${python.branch}/Python.h] &&
([file isfile ${prefix}/include/python${python.branch}/Python.h]
|| [string match *64* $build_arch]))} {
Modified: trunk/dports/_resources/port1.0/group/python24-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python24-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/python24-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -18,7 +18,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/python25-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python25-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/python25-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -18,7 +18,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/python26-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python26-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/python26-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -18,7 +18,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/python27-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python27-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/python27-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -18,7 +18,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/python31-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python31-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/python31-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -18,7 +18,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/python32-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python32-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/python32-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -18,7 +18,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/qt4-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/qt4-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/qt4-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -16,7 +16,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/ruby-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/ruby-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/ruby-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,6 +1,6 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-#
+#
# Copyright (c) 2004 Robert Shaw <rshaw at opendarwin.org>
# Copyright (c) 2002 Apple Computer, Inc.
# All rights reserved.
@@ -17,7 +17,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -66,7 +66,7 @@
global ruby.version ruby.lib
global ruby.module ruby.filename ruby.project ruby.docs ruby.srcdir
global ruby.prog_suffix
-
+
if {${implementation} eq "ruby19"} {
set ruby.port_prefix rb19
set ruby.prog_suffix "1.9"
@@ -82,7 +82,7 @@
set ruby.bin ${prefix}/bin/ruby${ruby.prog_suffix}
set ruby.rdoc ${prefix}/bin/rdoc${ruby.prog_suffix}
set ruby.gem ${prefix}/bin/gem${ruby.prog_suffix}
-
+
# define ruby global names and lists
# check if module is a list or string
if {[llength ${module}] > 1} {
@@ -98,11 +98,11 @@
set ruby.filename ${module}
}
set ruby.docs ${docs}
-
+
name ${ruby.port_prefix}-[string tolower ${ruby.module}]
version ${vers}
categories ruby
-
+
switch -glob ${source} {
rubyforge:*:* {
set num [lindex [split ${source} {:}] 1]
@@ -155,18 +155,18 @@
master_sites sourceforge:${ruby.project}
}
}
-
+
distname ${ruby.filename}-${vers}
dist_subdir ruby
-
+
depends_lib port:${implementation}
-
+
post-extract {
# Create the work directory for gem-based ruby ports.
system "mkdir -p ${worksrcpath}"
system "find ${worksrcpath} -type d -name CVS | xargs rm -rf"
}
-
+
switch -glob ${type} {
basic_install.rb {
post-patch {
@@ -187,11 +187,11 @@
# adjust basic install.rb script
reinplace "s|site_ruby|vendor_ruby|" ${worksrcpath}/install.rb
}
-
+
use_configure no
-
+
build {}
-
+
pre-destroot {
xinstall -d -m 0755 ${destroot}${ruby.lib}
}
@@ -202,11 +202,11 @@
}
copy_install:* {
set ruby.srcdir [lindex [split ${type} {:}] 1]
-
+
use_configure no
-
+
build {}
-
+
destroot {
set root ${worksrcpath}/${ruby.srcdir}
xinstall -d -m 0755 ${destroot}${ruby.lib}
@@ -226,10 +226,10 @@
install.rb {
configure.cmd ${ruby.bin} -rvendor-specific install.rb
configure.pre_args config
-
+
build.cmd ${ruby.bin} -rvendor-specific install.rb
build.target setup
-
+
pre-destroot {
if {[file isfile ${worksrcpath}/config.save]} {
reinplace "s|^prefix=${prefix}|prefix=${destroot}${prefix}|g" \
@@ -247,10 +247,10 @@
setup.rb {
configure.cmd ${ruby.bin} -rvendor-specific setup.rb
configure.pre_args config
-
+
build.cmd ${ruby.bin} -rvendor-specific setup.rb
build.target setup
-
+
pre-destroot {
if {[file isfile ${worksrcpath}/config.save]} {
reinplace "s|${prefix}|${destroot}${prefix}|g" \
@@ -269,14 +269,14 @@
configure.cmd ${ruby.bin} -rvendor-specific extconf.rb
configure.pre_args
configure.args --prefix=${prefix}
-
+
build.args RUBY="${ruby.bin} -rvendor-specific"
-
+
destroot.args RUBY="${ruby.bin} -rvendor-specific"
}
gnu {
build.args RUBY="${ruby.bin} -rvendor-specific"
-
+
pre-destroot {
if {[file isfile ${worksrcpath}/config.save]} {
reinplace "s|${prefix}|${destroot}${prefix}|g" \
@@ -292,21 +292,21 @@
gem {
use_configure no
extract.suffix .gem
-
+
if {${implementation} eq "ruby"} {
depends_lib-append port:rb-rubygems
}
-
+
extract {}
build {}
-
+
pre-destroot {
xinstall -d -m 0755 ${destroot}${prefix}/lib/ruby${ruby.prog_suffix}/gems/${ruby.version}
}
-
+
destroot {
system "cd ${worksrcpath} && ${ruby.gem} install --local --force --install-dir ${destroot}${prefix}/lib/ruby${ruby.prog_suffix}/gems/${ruby.version} ${distpath}/${distname}"
-
+
set binDir ${destroot}${prefix}/lib/ruby${ruby.prog_suffix}/gems/${ruby.version}/bin
if {[file isdirectory $binDir]} {
foreach file [readdir $binDir] {
@@ -324,11 +324,11 @@
return -code error "ruby.setup failed"
}
}
-
+
if {$type != "gnu"} {
configure.universal_args-delete --disable-dependency-tracking
}
-
+
post-destroot {
# Install documentation files (if specified)
if {[llength ${ruby.docs}] > 0} {
Modified: trunk/dports/_resources/port1.0/group/select-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/select-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/select-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -19,7 +19,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/texlive-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/texlive-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/texlive-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,12 +1,12 @@
# $Id$
-#
+#
# Copyright (c) 2010 Dan R. K. Ports <dports at macports.org>
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -27,7 +27,7 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
+#
#
# This portgroup contains common definitions for a MacPorts
@@ -159,10 +159,10 @@
proc texlive.texmfport {} {
homepage http://www.tug.org/texlive/
platforms darwin
-
+
supported_archs noarch
installs_libs no
-
+
master_sites http://flute.csail.mit.edu/texlive/
use_xz yes
@@ -181,7 +181,7 @@
# - $distname-src contains optional source code for installed files
# The latter two are only downloaded if the corresponding variant
# is enabled. Currently, each package must have all three distfiles
- # even if some are empty.
+ # even if some are empty.
distfiles ${distname}-run${extract.suffix}
variant doc description "Install documentation" {
@@ -196,7 +196,7 @@
# Skip any dependencies on texlive-documentation-* ports
texlive.removedocdepends
}
-
+
use_configure no
build { }
@@ -209,7 +209,7 @@
if {[variant_isset "src"]} { lappend indexlist "srcfiles" }
# copy files listed in tlpkginfo/$indexname into destroot
- foreach indexname $indexlist {
+ foreach indexname $indexlist {
set filelist [open ${worksrcpath}/tlpkginfo/${indexname}]
while {[gets $filelist line] >= 0} {
# Check if file is excluded
@@ -229,7 +229,7 @@
if {$excluded} {
continue
}
-
+
set srcfile ${worksrcpath}/${indexname}/$line
# check for manpages and treat specially
@@ -259,7 +259,7 @@
default { ui_msg "warning: unknown file destination" }
}
set dstfile [join $splitline "/"]
-
+
# create directory if necessary, and install file
xinstall -d ${destroot}[file dirname $dstfile]
copy ${srcfile} ${destroot}${dstfile}
@@ -321,7 +321,7 @@
} else {
set linksource ${prefix}/bin/$fmtengine
}
-
+
ln -s $linksource \
${destroot}${prefix}/bin/$fmtname
ln -s $linksource \
@@ -333,7 +333,7 @@
texlive.binaries-delete $fmtname
}
}
-
+
close $fmtfile
}
@@ -361,7 +361,7 @@
set langdatfile [open $langdatfilename "w"]
set langdeffile [open $langdeffilename "w"]
set langluafile [open $langluafilename "w"]
-
+
foreach x ${texlive.languages} {
set langname [lindex $x 0]
set langfile [lindex $x 1]
@@ -400,9 +400,9 @@
if {$langspecial != ""} {
puts $langluafile "\t\tpatterns = '$langspecial',"
}
- puts $langluafile "\t},\n"
+ puts $langluafile "\t},\n"
}
-
+
close $langdatfile
close $langdeffile
close $langluafile
@@ -424,11 +424,11 @@
![file exists ${prefix}/bin/mktexlsr]} {
texlive.use_mktexlsr no
}
-
+
if {${texlive.use_mktexlsr}} {
texlive.mktexlsr
}
-
+
if {${texlive.forceupdatecnf}} {
# If force was specified, update all the config files, and
# regenerate all maps and formats.
@@ -498,7 +498,7 @@
if {${texlive.forceupdatecnf} || ${texlive.formats} != ""} {
system "${prefix}/libexec/texlive-update-cnf fmtutil.cnf"
}
-
+
# Remove any generated format files
foreach x ${texlive.formats} {
set fmtname [lindex $x 1]
@@ -508,7 +508,7 @@
"mf-nowin" {set fmtengine "metafont"}
"mpost" {set fmtengine "metapost"}
}
-
+
foreach filename [glob -nocomplain ${texlive_texmfsysvar}/web2c/$fmtengine/$fmtname.*] {
delete $filename
}
Modified: trunk/dports/_resources/port1.0/group/x11font-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/x11font-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/x11font-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -15,7 +15,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/xcode-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/xcode-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/xcode-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -18,7 +18,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Modified: trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -1,13 +1,13 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-#
+#
# Copyright (c) 2009 The MacPorts Project
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -16,7 +16,7 @@
# 3. Neither the name of The MacPorts Project nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -28,15 +28,15 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
+#
+#
# This PortGroup lets a port check that the user's Xcode is sufficiently new.
-#
+#
# Usage:
-#
+#
# PortGroup xcodeversion 1.0
# minimum_xcodeversions {darwin_major minimum_xcodeversion}
-#
+#
# where darwin_major is the major version of the underlying Darwin OS (e.g. 9
# for Mac OS X 10.5 Leopard) and minimum_xcodeversion is the minimum version
# of Xcode the port requires (e.g. 3.1).
Modified: trunk/dports/_resources/port1.0/group/zope-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/zope-1.0.tcl 2012-08-19 05:44:46 UTC (rev 96775)
+++ trunk/dports/_resources/port1.0/group/zope-1.0.tcl 2012-08-19 05:52:01 UTC (rev 96776)
@@ -2,7 +2,7 @@
# zope-1.0.tcl
#
# $Id$
-#
+#
# Group file for 'zope' group.
#
# Copyright (c) 2004 Robert Shaw <rshaw at opendarwin.org>
@@ -21,7 +21,7 @@
# 3. Neither the name of Apple Computer, Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120818/a8ba4159/attachment-0001.html>
More information about the macports-changes
mailing list