source: trunk/base/src/port1.0/resources/group/python24-1.0.tcl @ 37336

Last change on this file since 37336 was 37336, checked in by jmr@…, 12 years ago

Python portgroups: fix incorrect python.include paths, and add a new variable
python.libdir (#15226)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# et:ts=4
2# python24-1.0.tcl
3#
4# $Id: python24-1.0.tcl 37336 2008-06-03 19:06:00Z jmr@macports.org $
5#
6# Copyright (c) 2004 Markus W. Weissman <mww@macports.org>,
7# All rights reserved.
8#
9# Redistribution and use in source and binary forms, with or without
10# modification, are permitted provided that the following conditions are
11# met:
12#
13# 1. Redistributions of source code must retain the above copyright
14#    notice, this list of conditions and the following disclaimer.
15# 2. Redistributions in binary form must reproduce the above copyright
16#    notice, this list of conditions and the following disclaimer in the
17#    documentation and/or other materials provided with the distribution.
18# 3. Neither the name of Apple Computer, Inc. nor the names of its
19#    contributors may be used to endorse or promote products derived from
20#    this software without specific prior written permission.
21#
22# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33#
34
35set python.bin  ${prefix}/bin/python2.4
36set python.lib  ${prefix}/lib/libpython2.4.dylib
37set python.libdir ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
38set python.pkgd ${prefix}/lib/python2.4/site-packages
39set python.include      ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
40
41categories              python
42
43dist_subdir             python
44
45depends_lib             port:python24
46
47use_configure   no
48
49build.cmd               ${python.bin} setup.py
50build.target    build
51
52destroot.cmd    ${python.bin} setup.py
53destroot.destdir        --prefix=${prefix} --root=${destroot}
54
55pre-destroot    {
56        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
57}
Note: See TracBrowser for help on using the repository browser.