[21451] trunk/base/src/port1.0/resources/group/python25-1.0.tcl

source_changes at macosforge.org source_changes at macosforge.org
Thu Jan 25 10:04:12 PST 2007


Revision: 21451
          http://trac.macosforge.org/projects/macports/changeset/21451
Author:   mww at macports.org
Date:     2007-01-25 10:04:12 -0800 (Thu, 25 Jan 2007)

Log Message:
-----------
new python25 category for Python 2.5 modules

Added Paths:
-----------
    trunk/base/src/port1.0/resources/group/python25-1.0.tcl

Added: trunk/base/src/port1.0/resources/group/python25-1.0.tcl
===================================================================
--- trunk/base/src/port1.0/resources/group/python25-1.0.tcl	                        (rev 0)
+++ trunk/base/src/port1.0/resources/group/python25-1.0.tcl	2007-01-25 18:04:12 UTC (rev 21451)
@@ -0,0 +1,55 @@
+# et:ts=4
+# python24-1.0.tcl
+#
+# $Id: python24-1.0.tcl,v 1.2 2005/01/13 20:39:14 mww Exp $
+#
+# Copyright (c) 2007 Markus W. Weissman <mww 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
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+# 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
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# 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.
+#
+
+set python.bin	${prefix}/bin/python2.5
+set python.lib	${prefix}/lib/libpython2.5.dylib
+set python.pkgd	${prefix}/lib/python2.5/site-packages
+
+categories		python
+
+dist_subdir		python
+
+depends_lib		path:${python.bin}:python25
+
+use_configure	no
+
+build.cmd		${python.bin} setup.py
+build.target	build
+
+destroot.cmd	${python.bin} setup.py
+destroot.destdir	--prefix=${prefix} --root=${destroot}
+
+pre-destroot	{
+	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
+}

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


More information about the macports-changes mailing list