# $Id: Portfile 48859 2009-03-30 19:53:15Z dluke@macports.org $ PortSystem 1.0 PortGroup python25 1.0 name trac version 0.11.4 categories devel python platforms darwin maintainers dluke@geeklair.net description Wiki and issue tracking system. long_description Trac is an enhanced wiki and issue tracking system for \ software development projects. Trac uses a minimalistic approach to \ web-based software project management. homepage http://projects.edgewall.com/trac/ master_sites http://ftp.edgewall.com/pub/trac/ distname Trac-${version} checksums md5 a765087b22661cf4aa1520518cddecae \ sha1 392f5fc0bc8e29ebea07182707ad31a55b9ec46f \ rmd160 dffe20cb4f1cda2d8feaed5746a9701c24ccaeef depends_lib port:subversion-python25bindings \ port:py25-sqlite3 port:python25 \ port:sqlite3 port:py25-hashlib \ port:py25-pygments port:py25-genshi post-install { ui_msg "See http://projects.edgewall.com/trac/wiki/TracInstall for information on setting up a new trac environment." } variant postgres description {Build with postgresql support instead of sqlite} { depends_lib-delete port:sqlite3 port:py25-sqlite3 depends_lib-append port:py25-pgsql port:py25-mx-base } variant mysql description {Build with mysql support instead of sqlite} { depends_lib-delete port:sqlite3 port:py25-sqlite3 depends_lib-append port:py25-mysql 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." ui_msg "See http://trac.edgewall.org/wiki/MySqlDb for more detailed information." } post-destroot { file mkdir ${destroot}${prefix}/share/trac/ file copy ${worksrcpath}/contrib \ ${destroot}${prefix}/share/trac/contrib }