source: trunk/dports/python/py-epydoc/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: 1.2 KB
Line 
1# $Id: Portfile,v 1.2 2004/02/08 13:24:54 mww Exp $
2
3PortSystem 1.0
4
5name            py-epydoc
6version         2.0
7categories      python
8platforms       darwin
9maintainers     mww@opendarwin.org
10description     API documentation generator for Python modules
11long_description        Epydoc is a tool for generating API documentation for \
12                        Python modules, based on their docstrings. A \
13                        lightweight markup language called epytext can be used \
14                        to format docstrings, and to add information about \
15                        specific fields, such as parameters and instance \
16                        variables. Epydoc also understands docstrings written \
17                        in ReStructuredText, Javadoc, and plaintext.
18
19homepage        http://epydoc.sourceforge.net/
20master_sites    sourceforge:epydoc
21distname        epydoc-${version}
22checksums       md5 fbb0bd482a872795c59f897b699f9549
23
24depends_lib     bin:python:python
25
26use_configure   no
27
28build.cmd       python setup.py
29build.target    build
30
31destroot.cmd    python setup.py
32destroot.destdir        --prefix=${destroot}${prefix}
33
34post-destroot   {
35        xinstall -d -m 755 ${destroot}${prefix}/share/doc/
36        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
37        xinstall -m 644 -W ${worksrcpath} LICENSE.TXT README.TXT \
38                ${destroot}${prefix}/share/doc/${name}
39}
Note: See TracBrowser for help on using the repository browser.