Ticket #41938: Portfile.diff
File Portfile.diff, 2.2 KB (added by humem (humem), 11 years ago) |
---|
-
Portfile
old new 2 2 # $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $ 3 3 4 4 PortSystem 1.0 5 PortGroup github 1.0 5 6 PortGroup python 1.0 6 7 8 github.setup nltk nltk 2.0.4 7 9 name py-nltk 8 version 2.0.1rc1 9 revision 1 10 categories python textproc 10 categories-append textproc 11 11 platforms darwin 12 maintainers gmail.com:stevenbird112 maintainers hum gmail.com:stevenbird1 openmaintainer 13 13 supported_archs noarch 14 license Apache-2.0 14 15 15 16 description Natural Language Toolkit 16 17 long_description NLTK is Python modules for research and development in natural language processing 17 18 homepage http://www.nltk.org/ 18 master_sites googlecode:nltk19 distname nltk-${version}20 19 21 checksums sha1 4cd2b834875db6df2662a86a35f90d1e9bb8c1ce\22 rmd160 2ae4a490b73a7d0dc49412a621ed8223761619ec20 checksums rmd160 3471f1228d21eca5811bb90159b90a64edad43fa \ 21 sha256 790df52ffc0db5aaa24e43b943e4ee63d275cae603d813dc5e03a0daf8afeb8a 23 22 24 23 python.versions 26 27 25 24 26 25 if {${name} ne ${subport}} { 27 depends_lib 28 29 26 depends_lib port:py${python.version}-numpy \ 27 port:py${python.version}-yaml \ 28 port:py${python.version}-matplotlib 30 29 31 30 post-destroot { 32 set docdir ${ destroot}${prefix}/share/doc/${subport}33 xinstall -d ${d ocdir}31 set docdir ${prefix}/share/doc/${subport} 32 xinstall -d ${destroot}${docdir} 34 33 xinstall -m 644 -W ${worksrcpath} \ 34 ChangeLog \ 35 35 LICENSE.txt \ 36 NOTICE.txt \ 37 README.md \ 36 38 README.txt \ 37 INSTALL.txt \ 38 ${docdir} 39 ${destroot}${docdir} 39 40 } 41 42 livecheck.type none 43 } else { 44 livecheck.type regex 45 livecheck.regex archive/[join ${github.tag_prefix} ""](2\[^"\]+)${extract.suffix} 40 46 }