# $Id$ PortSystem 1.0 PortGroup python25 1.0 name trac version 0.11.2.1 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 984ade4c234539f50c738d6a55a45e80 \ sha1 30643926822ea2185307ee21993abe59ee357564 \ rmd160 aeb8e861f144c2b91698c0e6d25d06778345842c 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 }