Ticket #19218: trac.diff
File trac.diff, 2.2 KB (added by tenomoto (Takeshi Enomoto), 16 years ago) |
---|
-
Portfile
old new 1 1 # $Id: Portfile 48859 2009-03-30 19:53:15Z dluke@macports.org $ 2 2 3 3 PortSystem 1.0 4 PortGroup python2 51.04 PortGroup python26 1.0 5 5 6 6 name trac 7 7 version 0.11.4 8 revision 1 8 9 categories devel python 9 10 platforms darwin 10 11 maintainers dluke@geeklair.net … … 20 21 sha1 392f5fc0bc8e29ebea07182707ad31a55b9ec46f \ 21 22 rmd160 dffe20cb4f1cda2d8feaed5746a9701c24ccaeef 22 23 23 depends_lib port:subversion-python25bindings \ 24 port:py25-sqlite3 port:python25 \ 25 port:sqlite3 port:py25-hashlib \ 26 port:py25-pygments port:py25-genshi 24 depends_lib port:subversion-python26bindings \ 25 port:python26 port:sqlite3 \ 26 port:py26-pygments port:py26-genshi 27 27 28 28 post-install { ui_msg "See http://projects.edgewall.com/trac/wiki/TracInstall for information on setting up a new trac environment." 29 29 } 30 30 31 31 variant postgres description {Build with postgresql support instead of sqlite} { 32 depends_lib-delete port:sqlite3 port:py25-sqlite333 depends_lib-append port:py2 5-pgsql port:py25-mx-base32 depends_lib-delete port:sqlite3 33 depends_lib-append port:py26-pgsql port:py26-mx-base 34 34 } 35 35 36 36 variant mysql description {Build with mysql support instead of sqlite} { 37 depends_lib-delete port:sqlite3 port:py25-sqlite338 depends_lib-append port:py2 5-mysql37 depends_lib-delete port:sqlite3 38 depends_lib-append port:py26-mysql 39 39 40 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 41 ui_msg "See http://trac.edgewall.org/wiki/MySqlDb for more detailed information." … … 45 45 file mkdir ${destroot}${prefix}/share/trac/ 46 46 file copy ${worksrcpath}/contrib \ 47 47 ${destroot}${prefix}/share/trac/contrib 48 xinstall -m 755 -d ${destroot}${prefix}/bin 49 system "ln -s ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/bin/trac-admin ${destroot}${prefix}/bin \ 50 ln -s ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/bin/tracd ${destroot}${prefix}/bin" 48 51 }