Changeset 82270
- Timestamp:
- 08/11/11 14:12:56 (4 years ago)
- Location:
- trunk/dports/lang
- Files:
-
- 2 deleted
- 4 edited
- 1 copied
-
py-htmldocs (copied) (copied from trunk/dports/lang/python27-doc)
-
py-htmldocs/Portfile (modified) (2 diffs)
-
python25-doc/Portfile (modified) (1 diff)
-
python25-doc/files (deleted)
-
python26-doc/Portfile (modified) (1 diff)
-
python26-doc/files (deleted)
-
python27-doc/Portfile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/lang/py-htmldocs/Portfile
r80009 r82270 2 2 # $Id$ 3 3 4 PortSystem 1.0 4 PortSystem 1.0 5 name py-htmldocs 6 PortGroup python 1.0 7 python.versions 25 26 27 8 python.default_version 27 5 9 6 name python27-doc 7 version 2.7.2 10 if {${python.version} == 25} { 11 version 2.5.4 12 } 13 if {${python.version} == 26} { 14 version 2.6.7 15 } 16 if {${python.version} == 27} { 17 version 2.7.2 18 } 19 8 20 categories lang 9 21 platforms darwin … … 12 24 supported_archs noarch 13 25 14 description HTML documentation for Python ${version}15 long_description HTML documentation for Python ${version}. Accessible at \16 file://${prefix}/share/doc/${name}/index.html17 18 homepage http://www.python.org/19 master_sites http://www.python.org/ftp/python/doc/${version}/20 distname python-${version}-docs-html21 22 checksums md5 40f0bd51b221662cae14fb0c6b6f622b \23 sha1 0886850a5bcf3e14e903cd33d51d1a8b664cfe36 \24 rmd160 d898264a2f0da8be8722396d25149c987e3614f825 26 26 use_bzip2 yes 27 28 27 use_configure no 29 28 30 build {} 29 if {${name} != ${subport}} { 30 description HTML documentation for Python ${version} 31 long_description HTML documentation for Python ${version}. Accessible at \ 32 file://${prefix}/share/doc/${subport}/index.html 31 33 32 destroot { 33 file mkdir ${destroot}${prefix}/share/doc/ 34 file copy ${worksrcpath}/ ${destroot}${prefix}/share/doc/${name} 34 homepage http://www.python.org/ 35 master_sites http://www.python.org/ftp/python/doc/${version}/ 36 distname python-${version}-docs-html 37 set extractname ${distname} 38 39 if {${python.version} == 25} { 40 checksums md5 b4041ec1faf9b6070aad451eeb5ab487 \ 41 sha1 f547228fbabc9b259ca4c4b32daffc813cfe5455 \ 42 rmd160 78cf1d55bc50b9c4535d1519a11a0a4e1a47a12e 43 distname html-${version} 44 set extractname Python-Docs-2.5.4 45 } 46 if {${python.version} == 26} { 47 checksums md5 a2fc12049840d5c66262c546cdf241fd \ 48 sha1 8cf151a4fd80f6a636d2292d340cd20858a58132 \ 49 rmd160 f8ac90c6e97888f1bb0f0207994c0c05d27b83ac 50 } 51 if {${python.version} == 27} { 52 checksums md5 40f0bd51b221662cae14fb0c6b6f622b \ 53 sha1 0886850a5bcf3e14e903cd33d51d1a8b664cfe36 \ 54 rmd160 d898264a2f0da8be8722396d25149c987e3614f8 55 } 56 57 build {} 58 59 destroot { 60 file mkdir ${destroot}${prefix}/share/doc/ 61 file copy ${workpath}/${extractname} ${destroot}${prefix}/share/doc/python${python.version}-doc 62 } 35 63 } 36 64 37 livecheck.type regex38 livecheck.url ${homepage}download/releases/39 livecheck.regex {Python (2\.7(?:\.\d+)*)}40 65 -
trunk/dports/lang/python25-doc/Portfile
r60534 r82270 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 PortSystem 1.0 4 PortSystem 1.0 5 name python25-doc 6 version 2.5.2 7 categories lang 8 platforms darwin 9 maintainers nomaintainer 4 10 5 name python25-doc 6 version 2.5.2 7 categories lang 8 platforms darwin 9 maintainers nomaintainer 11 replaced_by py25-htmldocs 12 revision 1 13 distfiles 10 14 11 description HTML documentation for Python 2.5 12 long_description HTML documentation for Python 2.5. Use by running \ 13 'pydoc2.5 TOPIC', e.g. 'pydoc2.5 NUMBERS'. 15 description HTML documentation for Python 2.5 14 16 15 homepage http://www.python.org/ 16 master_sites ${homepage}/ftp/python/${version}/ \ 17 ftp://ftp.python.org/pub/python/${version}/ \ 18 ftp://ftp.fastorama.com/mirrors/ftp.python.org/pub/python/${version}/ \ 19 ftp://ftp.python.jp/pub/python/${version}/ 17 homepage http://www.python.org/ 20 18 21 dist_subdir [lindex [split $name -] 0] 22 distname Python-${version} 23 extract.suffix .tgz 24 25 checksums md5 3f7ca8aa86c6bd275426d63b46e07992 \ 26 sha1 7a835c93a904ae4ecb2d23b5183e94d3b92f8305 \ 27 rmd160 a6e2e81910639a362f265af2e3814e7b47e2110a 28 29 depends_lib port:gettext port:python25 port:latex2html 30 31 patchfiles patch-configure.diff \ 32 patch-Makefile.pre.in.diff \ 33 patch-Misc-setuid-prog.c.diff \ 34 patch-Modules-posixmodule.c.diff \ 35 patch-setup.py.diff \ 36 patch-Lib-cgi.py.diff 37 38 configure.args --enable-shared \ 39 --mandir=${prefix}/share/man \ 40 --disable-framework 41 42 post-patch { 43 reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Lib/cgi.py 19 livecheck.type none 20 pre-configure { 21 ui_error "Please do not install this port since it has been replaced by 'py25-htmldocs'." 22 return -code error 44 23 } 45 24 46 build.target html47 build.cmd { cd Doc && make }48 49 destroot {50 file mkdir ${destroot}${prefix}/share/doc/51 file copy $worksrcpath/Doc/html ${destroot}${prefix}/share/doc/${name}52 }53 54 platform darwin 8 {55 configure.args-append --with-cxx=/usr/bin/g++-4.056 }57 58 platform darwin 9 {59 configure.cppflags-append -D__DARWIN_UNIX0360 configure.args-append --with-cxx=/usr/bin/g++-4.061 }62 63 variant universal {64 configure.args-append --enable-universalsdk65 }66 67 # for w/o quicktime sdk, etc. (be prepared for framework build, though)68 platform puredarwin {69 # configure.args-delete --enable-framework=${prefix}/Library/Frameworks70 configure.args-append --disable-toolbox-glue --disable-framework71 }72 73 livecheck.type regex74 livecheck.url ${homepage}download/releases/75 livecheck.regex {Python (2\.5(?:\.\d+)*)}76 -
trunk/dports/lang/python26-doc/Portfile
r64026 r82270 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 PortSystem 1.0 4 PortSystem 1.0 5 name python26-doc 6 version 2.6.4 7 categories lang 8 platforms darwin 9 maintainers nomaintainer 4 10 5 name python26-doc 6 version 2.6.4 7 categories lang 8 platforms darwin 9 maintainers nomaintainer 11 replaced_by py26-htmldocs 12 revision 1 13 distfiles 10 14 11 description HTML documentation for Python 2.6 12 long_description HTML documentation for Python 2.6. Use by running \ 13 'pydoc2.6 TOPIC', e.g. 'pydoc2.6 NUMBERS'. 15 description HTML documentation for Python 2.6 14 16 15 homepage http://www.python.org/ 16 master_sites ${homepage}/ftp/python/${version}/ \ 17 ftp://ftp.python.org/pub/python/${version}/ \ 18 ftp://ftp.fastorama.com/mirrors/ftp.python.org/pub/python/${version}/ \ 19 ftp://ftp.python.jp/pub/python/${version}/ 17 homepage http://www.python.org/ 20 18 21 dist_subdir [lindex [split $name -] 0] 22 distname Python-${version} 23 extract.suffix .tgz 24 25 checksums md5 17dcac33e4f3adb69a57c2607b6de246 26 27 depends_lib port:gettext port:python26 port:latex2html 28 29 patchfiles patch-Makefile.pre.in.diff \ 30 patch-Misc-setuid-prog.c.diff \ 31 patch-Modules-posixmodule.c.diff \ 32 patch-setup.py.diff \ 33 patch-Lib-cgi.py.diff 34 35 configure.args --enable-shared \ 36 --mandir=${prefix}/share/man \ 37 --disable-framework 38 39 post-patch { 40 reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Lib/cgi.py 19 livecheck.type none 20 pre-configure { 21 ui_error "Please do not install this port since it has been replaced by 'py26-htmldocs'." 22 return -code error 41 23 } 42 24 43 build.target html44 build.cmd { cd Doc && make }45 25 46 destroot {47 file mkdir ${destroot}${prefix}/share/doc/48 file copy $worksrcpath/Doc/build/html ${destroot}${prefix}/share/doc/${name}49 }50 51 platform darwin 8 {52 configure.args-append --with-cxx=/usr/bin/g++-4.053 }54 55 platform darwin 9 {56 configure.cppflags-append -D__DARWIN_UNIX0357 configure.args-append --with-cxx=/usr/bin/g++-4.058 }59 60 variant universal {61 configure.args-append --enable-universalsdk=/62 }63 64 # for w/o quicktime sdk, etc. (be prepared for framework build, though)65 platform puredarwin {66 # configure.args-delete --enable-framework=${prefix}/Library/Frameworks67 configure.args-append --disable-toolbox-glue --disable-framework68 }69 70 livecheck.type regex71 livecheck.url ${homepage}download/releases/72 livecheck.regex {Python (2\.6(?:\.\d+)*)}73 -
trunk/dports/lang/python27-doc/Portfile
r80009 r82270 2 2 # $Id$ 3 3 4 PortSystem 1.0 4 PortSystem 1.0 5 name python27-doc 6 version 2.7.2 7 categories lang 8 platforms darwin 9 maintainers nomaintainer 5 10 6 name python27-doc 7 version 2.7.2 8 categories lang 9 platforms darwin 10 maintainers eborisch \ 11 openmaintainer 12 supported_archs noarch 11 replaced_by py27-htmldocs 12 revision 1 13 distfiles 13 14 14 description HTML documentation for Python ${version} 15 long_description HTML documentation for Python ${version}. Accessible at \ 16 file://${prefix}/share/doc/${name}/index.html 15 description HTML documentation for Python 2.7 17 16 18 homepage http://www.python.org/ 19 master_sites http://www.python.org/ftp/python/doc/${version}/ 20 distname python-${version}-docs-html 17 homepage http://www.python.org/ 21 18 22 checksums md5 40f0bd51b221662cae14fb0c6b6f622b \ 23 sha1 0886850a5bcf3e14e903cd33d51d1a8b664cfe36 \ 24 rmd160 d898264a2f0da8be8722396d25149c987e3614f8 25 26 use_bzip2 yes 27 28 use_configure no 29 30 build {} 31 32 destroot { 33 file mkdir ${destroot}${prefix}/share/doc/ 34 file copy ${worksrcpath}/ ${destroot}${prefix}/share/doc/${name} 19 livecheck.type none 20 pre-configure { 21 ui_error "Please do not install this port since it has been replaced by 'py27-htmldocs'." 22 return -code error 35 23 } 36 24 37 livecheck.type regex38 livecheck.url ${homepage}download/releases/39 livecheck.regex {Python (2\.7(?:\.\d+)*)}40 25 26
Note: See TracChangeset
for help on using the changeset viewer.

