source: trunk/dports/devel/trac/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4PortGroup python26 1.0
5
6name                    trac
7version                 0.11.4
8revision                1
9categories              devel python
10platforms               darwin
11maintainers             geeklair.net:dluke
12description             Wiki and issue tracking system.
13long_description        Trac is an enhanced wiki and issue tracking system for \
14                        software development projects. Trac uses a minimalistic approach to \
15                        web-based software project management.
16
17homepage        http://projects.edgewall.com/trac/
18master_sites    http://ftp.edgewall.com/pub/trac/
19distname        Trac-${version}
20checksums       md5 a765087b22661cf4aa1520518cddecae \
21                sha1 392f5fc0bc8e29ebea07182707ad31a55b9ec46f \
22                rmd160 dffe20cb4f1cda2d8feaed5746a9701c24ccaeef
23
24depends_lib     port:subversion-python26bindings \
25                port:python26 port:sqlite3 \
26                port:py26-pygments port:py26-genshi
27
28post-install {  ui_msg "See http://projects.edgewall.com/trac/wiki/TracInstall for information on setting up a new trac environment."
29                }
30
31variant postgres description {Build with postgresql support instead of sqlite} {
32                                depends_lib-delete port:sqlite3
33                                depends_lib-append port:py26-pgsql port:py26-mx-base
34                        }
35
36variant mysql description {Build with mysql support instead of sqlite} {
37                                depends_lib-delete port:sqlite3
38                                depends_lib-append port:py26-mysql
39
40                                ui_msg "Warning: MySQL support is currently experimental. That means it works for some people, but several issues remain, in particular regarding the use of unicode and the key length in the repository cache."
41                                ui_msg "See http://trac.edgewall.org/wiki/MySqlDb for more detailed information."
42                        }
43
44post-destroot   {
45                        file mkdir ${destroot}${prefix}/share/trac/
46                        file copy ${worksrcpath}/contrib \
47                                ${destroot}${prefix}/share/trac/contrib
48                        system "ln -sf ${frameworks_dir}/Python.framework/Versions/2.6/bin/trac-admin \
49                                ${destroot}${prefix}/bin/trac-admin"
50                        system "ln -sf ${frameworks_dir}/Python.framework/Versions/2.6/bin/tracd \
51                                ${destroot}${prefix}/bin/tracd"
52                }
Note: See TracBrowser for help on using the repository browser.