source: trunk/dports/python/py-empy/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: 1003 bytes
Line 
1# $Id: Portfile,v 1.3 2004/02/08 13:24:54 mww Exp $
2
3PortSystem 1.0
4
5name            py-empy
6version         3.3
7categories      python
8maintainers     mww@opendarwin.org
9platforms       darwin freebsd
10description     powerful and robust templating system for python
11long_description        py-empy is a system for embedding Python expressions \
12                        and statements in template text. It takes an EmPy \
13                        source file, processes it, and produces output. This \
14                        is accomplished via expansions, which are special \
15                        signals to the py-empy system and are set off by a \
16                        special prefix.
17
18homepage        http://www.alcyone.com/software/empy/
19master_sites    ${homepage}
20distname        empy-${version}
21checksums       md5 e7b518a6fc4fd28fef87726cdb003118
22
23depends_lib     bin:python:python
24
25use_configure   no
26
27build.cmd       python setup.py
28build.target    build
29
30destroot.cmd    python setup.py
31destroot.destdir        --prefix=${destroot}${prefix}
32
33post-destroot   {
34        xinstall -d -m 755 ${destroot}${prefix}/share/doc/
35        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
36}
Note: See TracBrowser for help on using the repository browser.