[110280] trunk/dports/graphics

mojca at macports.org mojca at macports.org
Thu Aug 29 07:23:17 PDT 2013


Revision: 110280
          https://trac.macports.org/changeset/110280
Author:   mojca at macports.org
Date:     2013-08-29 07:23:17 -0700 (Thu, 29 Aug 2013)
Log Message:
-----------
wxWidgets: declare the old ports obsolete/replaced by the new ones (#37819)

Modified Paths:
--------------
    trunk/dports/graphics/wxWidgets/Portfile
    trunk/dports/graphics/wxWidgets-devel/Portfile
    trunk/dports/graphics/wxWidgets30/Portfile

Removed Paths:
-------------
    trunk/dports/graphics/wxWidgets/files/
    trunk/dports/graphics/wxWidgets-devel/files/
    trunk/dports/graphics/wxWidgets30/files/

Modified: trunk/dports/graphics/wxWidgets/Portfile
===================================================================
--- trunk/dports/graphics/wxWidgets/Portfile	2013-08-29 14:19:20 UTC (rev 110279)
+++ trunk/dports/graphics/wxWidgets/Portfile	2013-08-29 14:23:17 UTC (rev 110280)
@@ -1,154 +1,15 @@
 # -*- 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
 # $Id$
 
-PortSystem 1.0
-PortGroup       archcheck 1.0
+PortSystem          1.0
 
-name            wxWidgets
-conflicts       wxgtk wxWidgets-python
-epoch           3
-version         2.8.12
-revision        3
+replaced_by         wxWidgets-2.8
+PortGroup           obsolete 1.0
 
-categories      graphics devel
-license         LGPL-2+
-platforms       darwin
-maintainers     jwa
-description     mature cross-platform C++ GUI framework
-long_description    wxWidgets is a mature open-source cross-platform C++ \
-    GUI framework for Mac OS, Unix, Linux, Windows. It can \
-    make use of a variety of native widget sets as well as \
-    its own widget set: Mac OS, GTK+, Motif, WIN32. \
-    wxWidgets will even run on embedded systems using \
-    Linux and X11.
+name                wxWidgets
+version             2.8.12
+epoch               4
 
-homepage        http://www.wxwidgets.org/
-distname        wxWidgets
-master_sites    sourceforge:wxwindows \
-                http://biolpc22.york.ac.uk/pub/${version}/
-
-use_bzip2       yes
-
-distfiles       ${distname}-${version}${extract.suffix}
-dist_subdir     ${distname}/${version}
-
-checksums           rmd160  928e221abe1a00cd2d72d2a4fd3640ba639b9915 \
-                    sha256  3b0ac1d2d017683851841501c8e1b744b97242d684a1668ded61809b0504f707
-
-depends_lib     port:jpeg \
-                port:tiff \
-                port:libpng \
-                port:zlib \
-                port:libiconv \
-                port:expat \
-                path:lib/pkgconfig/sdl.pc:libsdl \
-                port:libsdl_mixer
-
-archcheck.files lib/libjpeg.dylib \
-                lib/libtiff.dylib \
-                lib/libpng.dylib \
-                lib/libz.dylib \
-                lib/libiconv.dylib \
-                lib/libexpat.dylib \
-                lib/libSDL.dylib \
-                lib/libSDL_mixer.dylib
-
-set worksrcdir  ${distname}-${version}/build
-
-extract.only    ${distname}-${version}${extract.suffix}
-
-patchfiles      patch-chkconf.diff
-patch.dir       ${workpath}/${distname}-${version}
-
-compiler.blacklist  clang
-
-#configure.cmd    ../${distname}-${version}/configure
-configure.cmd   ../configure
-configure.ldflags   -L${build.dir}/lib -L${prefix}/lib
-configure.args      --mandir=${prefix}/share/man \
-                    --with-libiconv-prefix=${prefix} \
-                    --with-libjpeg \
-                    --with-libtiff \
-                    --with-libpng \
-                    --with-zlib \
-                    --with-sdl \
-                    --with-opengl \
-                    --with-mac \
-                    --disable-sdltest \
-                    --enable-unicode \
-                    --enable-display
-
-set contrib     "gizmos stc ogl"
-set installtype release
-
-build.target
-
-universal_variant   no
-use_parallel_build  no
-
-supported_archs     i386 ppc
-configure.cppflags-append    -arch ${configure.build_arch}
-
-platform darwin 11 {
-    pre-fetch {
-        if {[vercmp $xcodeversion 4.4] >= 0} {
-            return -code return "${name} cannot build on 10.7 with Xcode >= 4.4, please use port ${name}-devel instead"
-        }
-    }
-
-    configure.args-append \
-        --with-macosx-version-min=10.6
-    if {[vercmp $xcodeversion 4.3] >= 0} {
-        configure.args-append \
-            --with-macosx-sdk=${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
-    } else {
-        configure.args-append \
-            --with-macosx-sdk=${developer_dir}/SDKs/MacOSX10.6.sdk
-    }
-}
-
-platform darwin 12 {
-    pre-fetch {
-        return -code return "${name} does not build on 10.8 due to missing Carbon support, please use port ${name}30 instead"
-    }
-}
-
-post-build {
-    foreach c { ${contrib} } {
-        system "cd ${build.dir} && make -C contrib/src/${c}"
-    }
-}
-
-post-destroot {
-    foreach c { ${contrib} } {
-        system "cd ${build.dir} && make -C contrib/src/${c} install ${destroot.destdir}"
-    }
-
-    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
-    xinstall -m 644 -W ${workpath}/${distname}-${version} \
-    install-mac.txt install-mgl.txt install-motif.txt \
-    INSTALL-OS2.txt install-x11.txt readme-cocoa.txt \
-    readme-gtk.txt readme-mac.txt \
-    readme-mgl.txt readme-motif.txt readme-x11.txt \
-    ${destroot}${prefix}/share/doc/${name}
-    set confscript ${prefix}/lib/wx/config/mac-unicode-${installtype}-2.8
-    reinplace "s|-L${build.dir}/lib||" ${destroot}${confscript}
-    ln -sf ${confscript} ${destroot}${prefix}/bin/wx-config
-}
-
-variant aui description {add support for AUI docking library} {
-    configure.args-append    --enable-aui
-}
-
-variant monolithic description {build only one library} {
-    configure.args-append    --enable-monolithic
-}
-
-variant debug description {add debug info to libraries} {
-    configure.args-append    --enable-debug
-    set installtype debug
-}
-
-livecheck.type  regex
-livecheck.url   ${homepage}/downloads/
-livecheck.regex Current Stable Release.*(2\\.\[0-9\]\\.\[0-9\]+)
+homepage            http://www.wxwidgets.org/
+categories          graphics devel
+license             wxwidgets-3.1

Modified: trunk/dports/graphics/wxWidgets-devel/Portfile
===================================================================
--- trunk/dports/graphics/wxWidgets-devel/Portfile	2013-08-29 14:19:20 UTC (rev 110279)
+++ trunk/dports/graphics/wxWidgets-devel/Portfile	2013-08-29 14:23:17 UTC (rev 110280)
@@ -2,131 +2,13 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           archcheck 1.0
 
+replaced_by         wxWidgets-3.0
+PortGroup           obsolete 1.0
+
 name                wxWidgets-devel
-conflicts           wxgtk wxWidgets
 version             2.9.5
-epoch               20130804
-revision            2
 
-license             wxwidgets-3.1
-categories          graphics devel
-platforms           darwin
-maintainers         jwa mojca
-description         mature cross-platform C++ GUI framework
-long_description    wxWidgets is a mature open-source cross-platform C++ \
-                    GUI framework for Mac OS, Unix, Linux, Windows. It can \
-                    make use of a variety of native widget sets as well as \
-                    its own widget set: Mac OS, GTK+, Motif, WIN32. \
-                    wxWidgets will even run on embedded systems using \
-                    Linux and X11.
-
 homepage            http://www.wxwidgets.org/
-distname            wxWidgets
-master_sites        sourceforge:project/wxwindows/${version} \
-                    http://biolpc22.york.ac.uk/pub/${version}/
-
-use_bzip2           yes
-
-distfiles           ${distname}-${version}${extract.suffix}
-dist_subdir         ${distname}/${version}
-
-checksums           rmd160  f5c91099b2cf3e39eadbcf99df0dd9a97017d47f \
-                    sha256  b74ba96ca537cc5d049d21ec9ab5eb2670406a4aa9f1ea4845ea84a9955a6e02
-
-depends_lib         port:jpeg \
-                    port:tiff \
-                    port:libpng \
-                    port:zlib \
-                    port:libiconv \
-                    port:expat
-
-archcheck.files     lib/libjpeg.dylib \
-                    lib/libtiff.dylib \
-                    lib/libpng.dylib \
-                    lib/libz.dylib \
-                    lib/libiconv.dylib \
-                    lib/libexpat.dylib
-
-if {${os.major} < 9} {
-   pre-fetch {
-       ui_error "${name} requires Mac OS X 10.5 or later."
-       return -code error "incompatible Mac OS X version"
-   }
-}
-
-set worksrcdir      ${distname}-${version}/build
-
-extract.only        ${distname}-${version}${extract.suffix}
-
-patch.dir           ${worksrcpath}/..
-patchfiles          patch-configure-change_install_names.diff
-
-configure.cmd       ../configure
-configure.ldflags   -L${build.dir}/lib -L${prefix}/lib
-
-configure.args      --mandir=${prefix}/share/man \
-                    --with-libiconv-prefix=${prefix} \
-                    --with-libjpeg \
-                    --with-libtiff \
-                    --with-libpng \
-                    --with-zlib \
-                    --with-opengl \
-                    --with-cocoa \
-                    --without-sdl \
-                    --disable-sdltest \
-                    --enable-unicode \
-                    --enable-display \
-                    --enable-xrc \
-                    --with-macosx-sdk=no \
-                    --with-macosx-version-min=no
-
-build.target
-
-use_parallel_build  yes
-
-variant universal {
-    set archs [join ${configure.universal_archs} ,]
-    configure.args-append   --enable-universal_binary=${archs}
-}
-
-configure.ccache    no
-
-post-destroot {
-    set confscript ${prefix}/lib/wx/config/osx_cocoa-unicode-2.9
-    ln -sf ${confscript} ${destroot}${prefix}/bin/wx-config
-}
-
-default_variants    +sdl
-
-variant monolithic description {build only one library} {
-    configure.args-append   --enable-monolithic
-}
-
-variant debug description {add debug info to libraries} {
-    configure.args-append   --enable-debug
-}
-
-variant sdl description {Use SDL for audio on Unix} {
-    depends_lib-append      path:lib/pkgconfig/sdl.pc:libsdl
-    depends_lib-append      port:libsdl_mixer
-    configure.args-delete   --without-sdl
-    configure.args-append   --with-sdl
-}
-
-variant stdlib description {add support for various standard library features} {
-    configure.args-append   --enable-stl \
-    --enable-std_containers \
-    --enable-std_iostreams \
-    --enable-std_string \
-    --enable-std_string_conv_in_wxstring
-}
-
-variant aui description {add support for AUI docking library} {
-    configure.args-append   --enable-aui
-}
-
-livecheck.type      regex
-livecheck.url       ${homepage}/downloads/
-livecheck.regex     Latest Development Release.*(2\\.\[0-9\]\\.\[0-9\]+)
+categories          graphics devel
+license             wxwidgets-3.1

Modified: trunk/dports/graphics/wxWidgets30/Portfile
===================================================================
--- trunk/dports/graphics/wxWidgets30/Portfile	2013-08-29 14:19:20 UTC (rev 110279)
+++ trunk/dports/graphics/wxWidgets30/Portfile	2013-08-29 14:23:17 UTC (rev 110280)
@@ -3,122 +3,13 @@
 
 PortSystem          1.0
 
+replaced_by         wxWidgets-3.0
+PortGroup           obsolete 1.0
+
 name                wxWidgets30
-conflicts           wxgtk wxWidgets
 version             2.9.5
-epoch               20130804
-revision            2
+epoch               20130801
 
-license             wxwidgets-3.1
-categories          graphics devel
-platforms           darwin
-maintainers         jwa mojca
-description         mature cross-platform C++ GUI framework
-long_description    wxWidgets is a mature open-source cross-platform C++ \
-                    GUI framework for Mac OS, Unix, Linux, Windows. It can \
-                    make use of a variety of native widget sets as well as \
-                    its own widget set: Mac OS, GTK+, Motif, WIN32. \
-                    wxWidgets will even run on embedded systems using \
-                    Linux and X11.
-
 homepage            http://www.wxwidgets.org/
-distname            wxWidgets
-master_sites        sourceforge:project/wxwindows/${version} \
-                    http://biolpc22.york.ac.uk/pub/${version}/
-
-use_bzip2           yes
-
-distfiles           ${distname}-${version}${extract.suffix}
-dist_subdir         ${distname}/${version}
-
-checksums           rmd160  f5c91099b2cf3e39eadbcf99df0dd9a97017d47f \
-                    sha256  b74ba96ca537cc5d049d21ec9ab5eb2670406a4aa9f1ea4845ea84a9955a6e02
-
-depends_lib         port:jpeg \
-                    port:tiff \
-                    port:libpng \
-                    port:zlib \
-                    port:libiconv \
-                    port:expat
-
-if {${os.major} < 10} {
-   pre-fetch {
-       ui_error "${name} requires Mac OS X 10.6 or later."
-       return -code error "incompatible Mac OS X version"
-   }
-}
-
-set worksrcdir      ${distname}-${version}/build
-
-extract.only        ${distname}-${version}${extract.suffix}
-
-patch.dir           ${worksrcpath}/..
-patchfiles          patch-configure-change_install_names.diff
-
-configure.cmd       ../configure
-configure.ldflags   -L${build.dir}/lib -L${prefix}/lib
-
-configure.args      --mandir=${prefix}/share/man \
-                    --with-libiconv-prefix=${prefix} \
-                    --with-libjpeg \
-                    --with-libtiff \
-                    --with-libpng \
-                    --with-zlib \
-                    --with-opengl \
-                    --with-cocoa \
-                    --without-sdl \
-                    --disable-sdltest \
-                    --enable-unicode \
-                    --enable-display \
-                    --enable-xrc \
-                    --with-macosx-sdk=no \
-                    --with-macosx-version-min=no
-
-build.target
-
-use_parallel_build  yes
-
-variant universal {
-    set archs [join ${configure.universal_archs} ,]
-    configure.args-append   --enable-universal_binary=${archs}
-}
-
-configure.ccache    no
-
-post-destroot {
-    set confscript ${prefix}/lib/wx/config/osx_cocoa-unicode-2.9
-    ln -sf ${confscript} ${destroot}${prefix}/bin/wx-config
-}
-
-default_variants    +sdl
-
-variant monolithic description {build only one library} {
-    configure.args-append   --enable-monolithic
-}
-
-variant debug description {add debug info to libraries} {
-    configure.args-append   --enable-debug
-}
-
-variant sdl description {Use SDL for audio on Unix} {
-    depends_lib-append      path:lib/pkgconfig/sdl.pc:libsdl
-    depends_lib-append      port:libsdl_mixer
-    configure.args-delete   --without-sdl
-    configure.args-append   --with-sdl
-}
-
-variant stdlib description {add support for various standard library features} {
-    configure.args-append   --enable-stl \
-    --enable-std_containers \
-    --enable-std_iostreams \
-    --enable-std_string \
-    --enable-std_string_conv_in_wxstring
-}
-
-variant aui description {add support for AUI docking library} {
-    configure.args-append   --enable-aui
-}
-
-livecheck.type      regex
-livecheck.url       ${homepage}/downloads/
-livecheck.regex     Release.*(\[23\]\\.\[0-9\]\\.\[0-9\]+)
+categories          graphics devel
+license             wxwidgets-3.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130829/e0aa49fb/attachment.html>


More information about the macports-changes mailing list