source: trunk/dports/python/py-sql/Portfile @ 5325

Last change on this file since 5325 was 5325, checked in by mww, 17 years ago

prefer xinstall over file copy/mkdir

  • Property svn:eol-style set to native
File size: 906 bytes
Line 
1# $Id: Portfile,v 1.2 2004/02/08 13:24:57 mww Exp $
2
3PortSystem 1.0
4
5name            py-sql
6version         0.6
7categories      python
8platforms       darwin
9maintainers     mww@opendarwin.org
10description     Python module for creating simple SQL statements
11long_description        sql is a module that contains three classes Insert, \
12                        Update and Delete, that simplify generatingSQL \
13                        statements.
14
15homepage        http://www.livinglogic.de/Python/sql/
16master_sites    http://ftp.livinglogic.de/sql/
17distname        ll-sql-${version}
18checksums       md5 a3f6829e452b1a5cb8f6054f447837f9
19use_bzip2       yes
20
21depends_lib     bin:python:python \
22                lib:XXX:py-mx
23
24use_configure   no
25
26build.cmd       python setup.py
27build.target    build
28
29destroot.cmd    python setup.py
30destroot.destdir        --prefix=${destroot}${prefix}
31
32post-destroot   {
33        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
34        xinstall -m 644 -W ${worksrcpath} INSTALL NEWS README \
35                ${destroot}${prefix}/share/doc/${name}
36}
Note: See TracBrowser for help on using the repository browser.